FastAPI Hoster is a straightforward, Go-based tool for those who’d rather spend time creating than worrying about deployment. It covers the essentials—Nginx, SSL, firewall rules—so you don’t have to. It’s simple and does what it needs to, making it easy to host and manage your FastAPI applications. Let FastAPI Hoster take care of the setup while you focus on what you do best.
P.S.: This is just the initial version—more updates are on the way!
- Launch FastAPI applications
- Configure and manage Nginx for reverse proxying
- Set up SSL certificates using Certbot
- Configure UFW (Uncomplicated Firewall) rules
- Create and manage systemd services for your FastAPI apps
To use FastAPI Hoster, you need to have Go installed on your system. If you haven't installed Go, you can download it from the official Go website.
Clone the repository:
git clone https://github.com/AkhileshThykkat/fastapi-hoster.git
cd fastapi-hoster
Build the project:
go build -o fastapi-hoster ./cmd/fastapi-hoster
Run the FastAPI Hoster:
./fastapi-hoster
Follow the interactive prompts to:
- Launch your FastAPI application
- Host your application with Nginx
- Configure SSL certificates
- Set up UFW rules
Contributions are welcome to the FastAPI Hoster project! Here's how you can contribute:
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Akhilesh M T - @AkhileshThykkat - akhileshthykkat843@gmail.com
Project Link: https://github.com/AkhileshThykkat/fastapi-hoster