Transform your Bento profile with a personalized domain name! Bento does not have an official way to do this, so i thought this might be a workaround.
Tip
- To make changes, navigate to your official bento profile and make them there.
- You do not need to re-deploy the app, it will pull those changes before you can even save the XD!
In other words, as long as your deployment is smooth, you will never think about it, just share your custom domain link, but use bento as normal! HOW COOL IS THAT!
- Easy custom domain setup
- Multiple deployment options
- SSL support
- PM2 process management
- Apache2/Nginx compatibility
Before you begin, ensure you have:
- A computer/VPS running Windows, Linux, macOS, or Ubuntu 20.04+, or a docker image
- bun v1.1.36 or later
- A Bento account
- A custom domain name
- PM2 (optional)
- Apache2 (Required for VPS)
- Certbot (Required for SSL on VPS)
Tip
Get $300 free credit on Vultr to try your app! Claim now
- Ionos - Special discount available
- Vultr - $300 free credit
- DigitalOcean - $200 free credit
- Hostinger - Discounted rates
- BigRock VPS - Special offers
- HostGator - Exclusive deals
Note
Need help with setup? I'm an Ionos Partner and can assist you! Contact me at Vikshan
- Clone and install dependencies:
git clone https://github.com/vixshan/bento.git
cd bento
bun i
- Create environment variables:
# Create .env file
echo "BENTO_USERNAME=your_username" > .env
- Start the application:
bun start
- Run tests (optional):
bun test
Important
When using a VPS, make sure to set up a reverse proxy using Apache2 or Nginx. See the Apache2 guide or Nginx guide.
- β Star and fork this repository
- Create a Zeabur account
- Select "Deploy from GitHub" in your dashboard
- Configure environment variables:
BENTO_USERNAME
: Your Bento username
Note
Remove the .env
file if you're setting variables in Zeabur dashboard to avoid conflicts
- Create a Koyeb account
- Deploy from your GitHub repository or click here to automatically create using this repo as template.
- Set required environment variables
Warning
Custom domains require a paid Koyeb plan
- Create a Heroku account
- Click here to deploy using this repo as a template, or use your own fork.
- Configure custom domain in Settings β Domains
- Enable auto-deploys in Deploy β Deployment method
- Create a Railway account if you don't have one.
- Click here to deploy using this repo as a template.
- Railway will automatically detect the project and set up the necessary environment.
- You'll be prompted to configure environment variables:
BENTO_USERNAME
: Your Bento username
- Click "Deploy" to start the deployment process.
- Once deployed, you'll get a URL to access your Bento profile with a custom domain.
Note
Railway provides a free tier with limited resources. For production use, consider upgrading to a paid plan. You can also configure a custom domain with your Railway deployment. Refer to the Railway documentation for more details on custom domains and other features.
- Okteto: Documentation
- Repl.it: Documentation
- Docker: Documentation
Caution
Known issues:
- Images may not persist due to caching. In case that happens, re-add those images in bento or use VPS deployment for best results.
- Maps do not work
Contributions are always welcome! If you find bugs or have suggestions:
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
Tip
If this project helped you, please consider:
- Giving it a star β
- Becoming a sponsor
- Checking out my other projects
This project is licensed under the MIT License - see the LICENSE file for details.