htmx
0BSD HTML-over-the-wire — AJAX/SSE/WS as attributes
Libraries / Libraries · OSS/MIT · 49.6k
Reviewed 2026-09-13 · last push 2026-10-15 · repo checked 2026-10-19
What's Good
0BSD. bigskysoftware/htmx. Small JS library: `hx-get`/`hx-post` and friends turn HTML attributes into AJAX, SSE, and WebSockets — server returns HTML, not JSON-for-React. Docs htmx.org; huge community patterns (hyperscript optional). Source github.com/bigskysoftware/htmx.
The Catch
Vs React/Next SPA defaults and Hotwire/Livewire cousins: htmx is *HTML-first progressive enhancement*, not a component tree with client routing. Complex client state, offline, and rich widgets still push you toward a heavier front-end — or you accept server round-trips as the model.
Verdict
0BSD HTML-over-the-wire. Free forever; ship fragments from the server and skip the SPA tax when hypermedia fits.
Embed
Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.
Markdown
[](https://stackgems.com/gems/htmx)
HTML
<a href="https://stackgems.com/gems/htmx"><img src="https://stackgems.com/badge/htmx.svg" alt="htmx reviewed on Stack Gems" height="20"></a>