This repo contains deployment guides for the platforms listed below. Each guide contains a "hello world" style project which you'll setup on your local device before deploying it on the platform.
Platform | Deployment Guide |
---|---|
HuggingFace | guide |
Railway | guide |
Replit | guide |
Vercel | guide |
Heroku | guide |
Fly.io | guide |
If you would like to add a guide for another platform feel free to fork this repo and submit a PR.
- Uvicorn is the server used to run FastHTML apps. For general info on uvicorn deployments see this guide.
- The Apache HTTP Server doesn't support ASGI deployments, which includes FastHTML. We suggest running uvicorn behind nginx or Caddy instead.