New Project

FastHTML Boilerplate

Create HTML apps with Python, HTMX, and ASGI.

DeployView Demo

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.

GitHub Repovercel/examples
LicenseView License
Use Cases
Starter
Stack
Python
CSS

Related Templates

Next.js FastAPI Starter

AI chatbot with a Next.js frontend and FastAPI backend.
Next.js FastAPI Starter thumbnail

Python Hello World

Use Python on Vercel with Serverless Functions using the Python Runtime.
Python Hello World thumbnail

Flask Hello World

Use Flask 3 on Vercel with Serverless Functions using the Python Runtime.
Flask Hello World thumbnail
DeployView Demo