FastHTML llms.txt · AI Docs Browser · mdream

[llms.txt Tools](https://mdream.dev/llms-txt/fasthtml/llms-txt)

# FastHTML llms.txt

Browse FastHTML documentation as markdown. Click any page in the sidebar to view it, or copy the full llms.txt for your AI tools.

fastht.ml/llms.txt

[Raw llms.txt](https://fastht.ml/docs/llms.txt) [Raw llms-full.txt](https://fastht.ml/llms-full.txt)

Copy Markdown [](https://fastht.ml/llms.txt)

llms.txt

Docs

FastHTML concise guide

HTMX reference

Starlette quick guide

API

API List

MonsterUI API List

Examples

Websockets application

Todo list application

Optional

Surreal

Starlette full documentation

JS App Walkthrough

FastHTML by Example

Using Jupyter to write FastHTML

FT Components

FAQ

MiniDataAPI Spec

OAuth

Routes

WebSockets

Custom Components

Handling Handlers

Live Reloading

## What is FastHTML's llms.txt?

FastHTML publishes an `/llms.txt` file that provides AI systems with a structured index of its documentation. It follows the [llms.txt specification](https://llmstxt.org), organizing links to guides, API references, and tutorials under section headings so that LLMs like ChatGPT, Claude, and Gemini can quickly understand what FastHTML offers and where to find details.

Pass

Spec

4

Sections

21

Links

4.7 KB

Size

~1.2k

Tokens

Sections: Docs · API · Examples · Optional

## Add FastHTML Docs to Your AI Assistant

Select your tool to see how to add FastHTML's llms.txt as a documentation source.

Cursor

 Windsurf

 Claude Code

 ChatGPT

 Zed

 Copilot

1. 1

   Open any chat or composer panel
2. 2

   Type @Docs and select "Add new doc"
3. 3

   Paste the URL: https://fastht.ml/llms.txt
4. 4

   Wait for the green dot (indexing complete)
5. 5

   Reference @Docs in chat when asking about FastHTML

Cursor crawls the URL and indexes all subpages. Add a trailing slash to index child pages too.

## Spec Compliance 2 notes

## Frequently Asked Questions

Where is FastHTML's llms.txt file?

FastHTML publishes its llms.txt at https://fastht.ml/llms.txt. This file provides a structured, markdown-formatted index of FastHTML's documentation that AI systems can consume to understand the project's APIs, guides, and references.

How do I use FastHTML's llms.txt with AI coding assistants?

Copy the llms.txt content and paste it into your AI assistant (Cursor, Windsurf, Claude, ChatGPT) as context. This gives the AI an accurate map of FastHTML's documentation so it can provide better code suggestions and answers about FastHTML.

What does FastHTML's llms.txt contain?

FastHTML's llms.txt contains 4 sections and 21 documentation links in 4.7 KB (~1.2k tokens). Key sections include Docs, API, Examples, Optional.

How many tokens does FastHTML's llms.txt use?

The concise llms.txt index is approximately 1.2k tokens (4.7 KB). Most AI assistants can fit this within their context window. For the full expanded documentation, look for an llms-full.txt variant which embeds all content inline.

What is FastHTML?

FastHTML is a python library which brings together Starlette, Uvicorn, HTMX, and fastcore's `FT` "FastTags" into a library for creating server-rendered hypermedia applications. The `FastHTML` class itself inherits from `Starlette`, and adds decorator-based routing with many additions, Beforeware, automatic `FT` to HTML rendering, and much more.. FastHTML's llms.txt file helps AI systems understand this by providing a structured overview of its documentation, making it easier for developers to get accurate AI-assisted help when working with FastHTML.

Can I generate an llms.txt for my own project?

Yes. Use the free llms.txt generator at mdream.dev/tools/llms-txt/generator to crawl your site and produce a spec-compliant llms.txt file. You can also validate existing files with the llms.txt validator.

## Browse More llms.txt Files

[Portkey Portkey is a production stack for Gen AI builders, equipping AI teams with everything they need to go to production - Gateway, Observability, Guardrails, Governance, and Prompt Management, all in one platform.](https://mdream.dev/llms-txt/fasthtml/llms-txt/gateway) [Reflex Reflex is the open-source framework empowering Python developers to build web apps faster. Build both your frontend and backend in a single language, Python (pip install reflex), with no JavaScript or web development experience required.](https://mdream.dev/llms-txt/fasthtml/llms-txt/reflex) [BrowserOS BrowserOS is the open-source AI browser that turns your words into actions by running AI agents locally on your computer.](https://mdream.dev/llms-txt/fasthtml/llms-txt/browseros) [Skyvern Skyvern is an open-source, AI-powered browser automation platform. It uses large language models and computer vision to navigate websites visually - no CSS selectors, no custom scripts, no maintenance when sites change. Automate logins, form fills, data extraction, document downloads, and multi-step workflows across any web portal. SOC2 Type II certified. HIPAA compliant.](https://mdream.dev/llms-txt/fasthtml/llms-txt/skyvern) [Vector search Note: We’ll keep these values updated manually for now, and automate later to prevent staleness.](https://mdream.dev/llms-txt/fasthtml/llms-txt/weaviate) [Langflow Documentation Official documentation for Langflow, a low-code platform for building and deploying AI-powered agents and workflows with a visual builder, API, and MCP server. Technical documentation for developers, data scientists, and teams building RAG and multi-agent applications.](https://mdream.dev/llms-txt/fasthtml/llms-txt/langflow) [Doks Doks is a full-featured documentation theme built on top of the Thulite framework. Everything you need to build a stellar documentation website that is fast, accessible, and easy to use.](https://mdream.dev/llms-txt/fasthtml/llms-txt/doks) [Campsite](https://mdream.dev/llms-txt/fasthtml/llms-txt/campsite)

[View all 99 projects ](https://mdream.dev/llms-txt/fasthtml/llms-txt)

## Related Tools

[<h3>llms.txt Generator</h3>Generate an llms.txt for your own project.](https://mdream.dev/llms-txt/fasthtml/tools/llms-txt/generator) [<h3>llms.txt Validator</h3>Validate your llms.txt against the official spec.](https://mdream.dev/llms-txt/fasthtml/tools/llms-txt/validator)

© 2026 [Harlan Wilton](https://github.com/harlan-zw) · [MIT](https://github.com/harlan-zw/mdream/blob/main/license)

[GitHub](https://github.com/harlan-zw/mdream) [Discord](https://discord.com/invite/275MBUBvgP)