fasthx
volfpeter/fasthx · Public GitHub repository
Declarative Python server-side rendering utility for FastAPI with built-in HTMX support.
Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

About this project
Author-written excerpt from the project README.
Python server-side rendering library for FastAPI with built-in HTMX support.
FastHX simplifies building interactive web applications with FastAPI and hypermedia frameworks like HTMX.
For an even deeper FastAPI integration and a Next.js-like developer experience, you should check out holm.
- Python decorator syntax that works with FastAPI as one would expect, no need for unused or magic dependencies in routes.
- Built for HTMX, but can be used without it.
- Works with any Python templating engine or server-side rendering library, e.g. htmy, jinja2, or dominate.
- Supports async HTML streaming for optimal time to first byte and first contentful paint.
- Gives the rendering engine access to all dependencies of the decorated route.
Requirements and intended audience
Python server-side rendering library for FastAPI with built-in HTMX support.
Built for HTMX, but can be used without it.
Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.
Statements extracted from the author’s documentation · Checked 2026-10-12. Source: https://github.com/volfpeter/fasthx/blob/main/README.md
Recorded maintenance information
Last recorded source update: 2026-10-22. Saved release: v3.2.2 · 2026-07-23. These dates do not guarantee ongoing maintenance.
- Technologies
- Python
- Licence
- MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
- Demo check
- A public page loaded on 2026-11-19. This does not test every feature.
Browse related categories
More projects to explore
awesome-selfhosted
awesome-selfhosted/awesome-selfhosted
A list of Free Software network services and web applications which can be hosted on your own servers
awesome-go
avelino/awesome-go
A curated list of awesome Go frameworks, libraries and software
NextChat
ChatGPTNextWeb/NextChat
✨ Zero-config AI chat assistant. No API key needed — sign up and instantly chat with GPT-5, Claude 4, Gemini 2.5, DeepSeek & 100+ top models. Pay-as-you-go saves you more. Available on Web, iOS, macOS, Android, Linux, Windows.
vue-element-admin
PanJiaChen/vue-element-admin
A magical vue admin https://panjiachen.github.io/vue-element-admin