API
FastHTML's own source notebooks: the implementation of each module, with examples and tests.
| Title | Description |
|---|---|
| Core | The FastHTML subclass of Starlette. |
| Components | ft_html and ft_hx functions to add some conveniences to ft, along with a full set of basic HTML components, and functions to work with forms and FT conversion |
| Component extensions | Simple extensions to standard HTML components, such as adding sensible defaults |
| Javascript examples | Basic external Javascript lib wrappers |
| Pico.css components | Basic components for generating Pico CSS tags |
| SVG | Simple SVG FT elements |
| Jupyter compatibility | Use FastHTML in Jupyter notebooks |
| OAuth | Basic scaffolding for handling OAuth |
| Command Line Tools | Railway deployment CLI helpers (railway_link, railway_deploy) |
| Basic Auth Middleware | HTTP Basic Authentication middleware and logout helper for FastHTML apps |
| FastApp | The fast_app convenience wrapper for creating FastHTML apps and optional SQLite tables |
| Proxy | Streaming HTTP responses, bidirectional WebSocket forwarding, and prefix proxy routes |
| Toaster | Session-backed toast notifications with HTMX injection for FastHTML apps |
| Vite | Vite+ asset headers and development server integration for FastHTML |