Skip to content
Back to Templates

FastHTML Boilerplate

Create HTML apps with Python, HTMX, and ASGI.

FastHTML Light

FastHTML Boilerplate

Deploy your FastHTML project to Vercel with zero configuration.

Live Example: https://fasthtml-template.vercel.app

Visit the FastHTML documentation to learn more.

Getting Started

Install the required dependencies:

pip install -r requirements.txt

Running Locally

Start the development server on http://0.0.0.0:5001

python main.py

When you make changes to your project, the server will automatically reload.

Deploying to Vercel

Deploy your project to Vercel with the following command:

npm install -g vercel
vercel --prod

Or git push to your repostory with our git integration.

To view the source code for this template, visit the example repository.