Skip to content

iamvikshan/bento

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

🍱 Custom Domain for Bento Profile



Transform your Bento profile with a personalized domain name!
Bento doesn't have an official way to do this, so I thought this might be a good workaround.

πŸ“– Table of Contents


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 them! ⚑

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! πŸŽ‰

✨ Features

  • 🌐 Easy custom domain setup
  • ☁️ Multiple deployment options
  • πŸ”’ SSL support
  • ⚑ PM2 process management
  • πŸ”§ Apache2/Nginx compatibility
  • πŸ”„ Real-time sync with Bento profile

πŸ“‹ Prerequisites

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

πŸ’» Recommended VPS Providers

Provider Offer Link
πŸ”₯ Ionos Special discount available Get Discount
⚑ Vultr $300 free credit Claim Credit
🌊 DigitalOcean $200 free credit Sign Up
🏠 Hostinger Discounted rates View Deals
πŸͺ¨ BigRock VPS Special offers Check Offers
🐊 HostGator Exclusive deals Get Deals

Note

🀝 Need help with setup? I'm an Ionos Partner and can assist you! Contact me at Vikshan

πŸš€ Installation

🏠 Local/VPS Installation

  1. Clone and install dependencies:
git clone https://github.com/iamvikshan/bento.git
cd bento
bun i
  1. Create environment variables:
# Create .env file
echo "BENTO_USERNAME=your_username" > .env
  1. Start the application:
bun start
  1. Run tests (optional):
bun test

Important

πŸ”§ When using a VPS, make sure to set up a reverse proxy using Apache2 or Nginx:

☁️ Cloud Deployment Options

First step: ⭐ Star and fork this repository

πŸš€ Deploy to Zeabur

  1. Create a Zeabur account
  2. Select "Deploy from GitHub" in your dashboard
  3. Configure environment variables:
    • BENTO_USERNAME: Your Bento username

Note

πŸ—‘οΈ Remove the .env file if you're setting variables in Zeabur dashboard to avoid conflicts

🌟 Deploy to Koyeb (Recommended)

  1. Create a Koyeb account
  2. Deploy from your GitHub repository OR click here to automatically create using this repo as template
  3. Set required environment variables

Warning

πŸ’° Custom domains require a paid Koyeb plan

πŸš‚ Deploy to Railway

  1. Create a Railway account if you don't have one
  2. Click here to deploy using this repo as a template
  3. Railway will automatically detect the project and set up the necessary environment
  4. You'll be prompted to configure environment variables:
    • BENTO_USERNAME: Your Bento username
  5. Click "Deploy" to start the deployment process
  6. 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.

🟣 Deploy to Heroku

  1. Create a Heroku account
  2. Click here to deploy using this repo as a template, or use your own fork
  3. Configure custom domain in Settings β†’ Domains
  4. Enable auto-deploys in Deploy β†’ Deployment method

πŸ”§ Additional Deployment Options


Caution

⚠️ Known Issues:

  1. πŸ–ΌοΈ Images may not persist due to caching. If this happens, re-add those images in Bento or use VPS deployment for best results
  2. πŸ—ΊοΈ Maps functionality may not work properly

🀝 Contributing

Contributions are always welcome! If you find bugs or have suggestions:

  1. 🍴 Fork the repository
  2. 🌿 Create your feature branch (git checkout -b feature/AmazingFeature)
  3. πŸ’Ύ Commit your changes (git commit -m 'Add some AmazingFeature')
  4. πŸ“€ Push to the branch (git push origin feature/AmazingFeature)
  5. πŸ”„ Open a Pull Request

Tip

πŸ’– If this project helped you, please consider:

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ“Š Activity Graph

Repository Activity


πŸ’ͺ Powered By


Made with ❀️ by Vikshan

Give this project a ⭐ if it helped you!

About

Add custom domain to your bento profile

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •