Learn Chirp
Chirp is a Python web framework for HTMX, server-rendered UI, HTML fragments, streaming HTML, and Server-Sent Events. Start with quickstart and core concepts, then move into templates, routing, streaming, and production deployment.
Install Chirp and build your first app in minutes.
App lifecycle, return values, and configuration.
Rendering, fragments, Page, OOB swaps, and filters.
Routes, path parameters, request, and response.
Go Deeper
Protocol definition, built-in middleware, custom middleware.
Streaming HTML, Server-Sent Events, real-time patterns.
Database access, form parsing, and validation.
TestClient, fragment assertions, SSE testing.
Production deployment withchirp run myapp:app --productionand Pounce.
Search, inline edit, infinite scroll, and fragment-based interaction patterns.
Reference & More
Architecture, philosophy, framework comparisons, and thread safety.
Step-by-step guides for common patterns and migrations.
Accessibility, best practices, and patterns.
Full-featured apps: RAG demo with streaming AI, fragments, and SSE.
Complete API reference, error codes, and configuration.
Having issues? Check the tutorials or open an issue on GitHub.