# AnswerDotAI/fasthtml

The fastest way to create an HTML app

Repository: https://github.com/AnswerDotAI/fasthtml
Canonical: https://ross.abutalabs.com/products/fasthtml
Homepage: https://www.fastht.ml/docs/
Language: Jupyter Notebook
License: Apache-2.0
License Family: permissive
Last push: 2026-08-26T22:58:12+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 86, longevity 59
- inputs: {"age_days": 838, "days_push": 7, "days_rel": 14, "gap_med": 3, "n_releases_24m": 96}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7012, forks 324 (observed 2026-08-28T04:09:53.326924+00:00)

## What it is
FastHTML is a Python web framework for building fast, scalable, interactive web applications with minimal code, mapping 1:1 to HTML and HTTP. It integrates HTMX for hypermedia-based interactivity and ships with built-in auth, database access, and styling, all extensible via pip-installable components.

## Use cases
- build an interactive web app in pure Python
- create a hypermedia app with HTMX without writing JavaScript
- rapidly prototype a full-stack website with auth and database
- serve HTML partials for dynamic page updates
- build a real-time collaborative drawing app
- write and run web apps inside Jupyter notebooks
- deploy a Python web app to Railway, Vercel, or Huggingface

## When to choose
- you want to build interactive web apps in Python with minimal boilerplate
- you prefer hypermedia/HTMX over JavaScript-heavy SPA frameworks
- you need built-in auth, SQLite database, and styling out of the box
- you want FastAPI-like ergonomics but returning HTML instead of JSON

## When to avoid
- you need to build a JSON REST or GraphQL API as the primary product
- your team requires a mature ecosystem of plugins and long-term stability guarantees
- you want a React/Vue-style client-side SPA architecture
- you rely on LLM coding assistants, which may not know FastHTML well

## Facets
- artifact type: framework
- maturity: active
- function: web-framework, templating, routing, auth, database, middleware
- domain: web-development, backend, frontend, developer-tools
- platform: python, cross-platform
- tags: htmx, hypermedia, html-components, full-stack, sqlite, uvicorn, starlette, web-server

## Member repositories
- AnswerDotAI/fasthtml (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:53.326924+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:40:42.487678+00:00, confidence not recorded.
  - readme: https://github.com/AnswerDotAI/fasthtml (fetched 2026-08-28T04:09:53.326924+00:00, sha 23b0c3dc9a7e)
  - homepage: https://www.fastht.ml/docs/ (fetched 2026-08-29T08:36:54.486455+00:00, sha 2d52bb45b718)
  - site_page: https://www.fastht.ml/docs/explains/background_tasks.html (fetched 2026-08-29T08:36:54.504314+00:00, sha 0ad04a4a2796)
  - site_page: https://www.fastht.ml/docs/index.html (fetched 2026-08-29T08:36:54.489230+00:00, sha 2d52bb45b718)
  - site_page: https://fastht.ml/about (fetched 2026-08-29T08:36:54.491281+00:00, sha ffef7ffef9b2)
  - site_page: https://www.fastht.ml/docs/tutorials/index.html (fetched 2026-08-29T08:36:54.493226+00:00, sha 4990155dd4e9)
  - site_page: https://www.fastht.ml/docs/tutorials/by_example.html (fetched 2026-08-29T08:36:54.495006+00:00, sha 0723d7eb8fd7)
  - site_page: https://www.fastht.ml/docs/tutorials/quickstart_for_web_devs.html (fetched 2026-08-29T08:36:54.498243+00:00, sha 18770482e4ea)
  - site_page: https://www.fastht.ml/docs/tutorials/e2e.html (fetched 2026-08-29T08:36:54.500753+00:00, sha 81849faa8ea3)
  - site_page: https://www.fastht.ml/docs/tutorials/jupyter_and_fasthtml.html (fetched 2026-08-29T08:36:54.502614+00:00, sha f9c15e61c94a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
