Skip to content
New Project
Templates
Template name
Templates

FastHTML Boilerplate

Create HTML apps with Python, HTMX, and ASGI.

DeployView Demo
Owner
  • vercel
Repository
  • examples
Use Cases
  • Starter
Stack
  • Python
  • CSS
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.

Related Templates

  • Python Hello World thumbnail

    Python Hello World

    Use Python on Vercel with Serverless Functions using the Python Runtime.

  • Django Hello World thumbnail

    Django Hello World

    Use Django on Vercel with Serverless Functions using the Python Runtime.

  • Flask Hello World thumbnail

    Flask Hello World

    Use Flask 3 on Vercel with Serverless Functions using the Python Runtime.

License
  • View License