Skip to content

AkhileshThykkat/fastapi-hoster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI Hoster

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!

Features

  • 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

Installation

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

Usage

Run the FastAPI Hoster:

./fastapi-hoster

Follow the interactive prompts to:

  1. Launch your FastAPI application
  2. Host your application with Nginx
  3. Configure SSL certificates
  4. Set up UFW rules

Contributing

Contributions are welcome to the FastAPI Hoster project! Here's how you can contribute:

  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

Contact

Akhilesh M T - @AkhileshThykkat - akhileshthykkat843@gmail.com

Project Link: https://github.com/AkhileshThykkat/fastapi-hoster

Acknowledgements

Releases

No releases published

Packages

No packages published

Languages