Developer ToolsTempl
Type-safe HTML templating language for Go with compile-time safety
htmx is a 14 KB JavaScript library that lets you trigger AJAX, WebSockets and SSE straight from HTML attributes — no build step, no virtual DOM, no framework. We rate it 87/100: the most pragmatic frontend tool to land in years, with real trade-offs to know before you ship.
htmx is a 14 KB JavaScript library that lets any HTML element trigger AJAX requests, swap chunks of HTML into the page and respond to WebSockets or Server-Sent Events — without a single line of fetch(), a build step, or a virtual DOM. We rate it 87/100 — the most pragmatic frontend tool to land in years for backend-heavy teams, but a poor fit if your product is a rich single-page application or your team has built its career around React.
htmx was created by Carson Gross as a renamed and trimmed-down successor to his earlier intercooler.js project, with the first htmx-branded release shipping on . The library extends HTML with about a dozen new attributes — hx-get, hx-post, hx-target, hx-swap, hx-trigger, hx-boost, hx-push-url and friends — that let any element issue HTTP requests and patch the response straight into the DOM. As of , the project sits at roughly 47,900 GitHub stars, more than the React, Vue or Svelte repositories had at the same age.
The problem htmx solves is structural: most CRUD apps do not need a client-side runtime, a state-management library and a JSON serializer pretending to be a UI layer — they need to render some HTML, post a form and replace a piece of the page. htmx restores the original web's request/response model while keeping the UX expectations of 2026 (no full page reloads, smooth transitions, partial updates). The result is a rendering pipeline that lives almost entirely on the server, in whatever language the team already writes — Django, Rails, Phoenix, Laravel, Go, ASP.NET, Express, FastAPI — with HTML as the wire format and htmx as the thin glue.
hx-get, hx-post, hx-put, hx-patch and hx-delete can be attached to a div, tr, li or span. The response can be HTML, which is swapped into the DOM at a target you choose with hx-target and hx-swap.<script> tag and it works.sse and ws extensions, which replaced the deprecated 1.0 hx-sse and hx-ws attributes in htmx 2.0.hx-swap="outerHTML transition:true") hook into the modern View Transitions API for native, hardware-accelerated effects without any JavaScript.hx-push-url="true" turns any partial-page swap into a real browser history entry, so the back button, deep links and copy-paste URLs keep working.hx-swap-oob="true" — the simplest cross-pane state update on the web.
hx-post="/clicked" hx-swap="outerHTML" replaces the button with whatever HTML the server returns — no JavaScript, no JSON, no client-side state.Sentiment is unusually polarized for an OSS library. The 2.0 release announcement on Hacker News drew more than 800 points and 400 comments — the top thread is a Django shop reporting they shipped an entire customer-facing dashboard in htmx + server-rendered templates with "less JavaScript than the React loading skeleton it replaced." Reddit's r/htmx and r/webdev regulars echo the theme: backend developers and small teams love it, and a non-trivial number of formerly React-only shops report cutting their frontend headcount or pulling juniors into full-stack work because the cognitive load is lower.
The complaints are real and consistent. A widely-cited "Less Htmx Is More" thread argued that once a single page exceeds about a dozen interacting hx-* attributes the magic-string indirection becomes harder to reason about than equivalent React. Multiple commenters note that htmx leans on server round-trips for things SPAs handle locally, which makes it slow on bad networks unless you implement loading indicators (which the docs do explain, but easy to miss). The docs themselves get mixed reviews — the Hypermedia Systems book by Carson Gross, Adam Stepinski and Adam Pasch is the closest thing to a canonical tutorial, and it is a $40 paperback or a free online read. Konfig's review of 1,000+ developer opinions summarized the consensus as "extremely productive for the right shape of app, frustrating outside it."
htmx is free and open source under the BSD-2-Clause license. There is no paid tier, no SaaS, no telemetry, and no “enterprise” SKU. The library is funded through three streams: GitHub Sponsors (Carson Gross's personal sponsor page lists JetBrains and several individual backers), corporate sponsorships listed on htmx.org (JetBrains, Craft CMS, ButterCMS, Bootcamp.coach, Sentry and others), and book and course sales for Hypermedia Systems.
| Plan | Price | What You Get |
|---|---|---|
| The library | $0 forever | BSD-2-Clause source on GitHub, the 14 KB htmx.min.js, and all official extensions (sse, ws, alpine-morph, head-support, idiomorph, etc.). |
| Hypermedia Systems book | Free online or $40 paperback | The 250-page book that covers the architectural arguments behind htmx in depth. |
| Sponsorships | $5+/month optional | Voluntary support via GitHub Sponsors. No private features, no Discord roles, no NDA — just funding. |
Best for: backend-leaning teams (Django, Rails, Phoenix, Laravel, Go, .NET, Spring) shipping CRUD apps, internal tools, admin dashboards, marketing sites that need a touch of interactivity, and any product where the team's React skill is shallow but their server-side skill is deep. Solo developers and two-person SaaS teams in particular get an enormous productivity boost — one codebase, one language, one mental model.
Not ideal for: rich offline-capable single-page applications (Linear, Figma, Notion-class products), real-time collaborative editors with conflict-free replicated data types, mobile-first apps that need to feel native, or teams whose entire toolchain (TypeScript, design systems, component libraries, testing) is locked into a React/Vue ecosystem. htmx is also a poor fit if your backend is a pure JSON API serving multiple consumers (web, native, partner integrations) — you would end up duplicating templates and JSON endpoints.
hx-target and hx-swap apply to all descendants — you write configuration once and pages stay readable.Pros:
<script> tag and ship — no Webpack, no Vite, no npm install required for the basic case.Cons:
hx-* attributes are rudimentary and there is no first-class TypeScript story.Hotwire / Turbo Frames is htmx's closest philosophical cousin — a similar HTML-over-the-wire model, but tightly bound to Ruby on Rails and somewhat heavier (~40 KB). Unpoly is the original hypermedia-extension library; older than htmx, broader in scope, and more opinionated about navigation. Alpine.js is the natural companion, not a competitor — many real codebases use both. For full SPAs that still want to minimize JavaScript, Astro with the “islands” pattern, Phoenix LiveView on Elixir, and Rails 7+ Turbo Streams all chase the same goal from different angles. Datastar is a 2024 newcomer using a similar attribute-driven approach with WebTransport for real-time feeds.
For backend-leaning teams shipping CRUD apps in 2026, htmx is one of the highest-ROI dependencies you can add to a project. We have seen two-engineer teams ship features in a week that React shops staff with a four-engineer pod, and the long-tail maintenance story (no breaking changes, no toolchain churn, no dependency tree) is materially better than the JavaScript ecosystem norm. The 87/100 rating reflects the trade-off honestly: htmx is genuinely outstanding for its sweet spot, and a poor fit outside it. If you are deciding between htmx and React for a new internal tool, an admin dashboard, a B2B SaaS app, or a content-heavy site with light interactivity, default to htmx. If you are building Linear, Figma or a mobile-first social network, do not.
htmx.d.ts types for the JavaScript API. There is no first-class compile-time validation of hx-* attributes in HTML — community tools like htmx-types and the JetBrains and VS Code htmx plugins close the gap with autocomplete and warnings, but it is not on par with TypeScript-native frameworks.
Developer ToolsType-safe HTML templating language for Go with compile-time safety
Developer ToolsOpen-source API key management and rate limiting platform for modern developers
Open-source low-code platform for building internal business applications
Developer ToolsGit-friendly open-source API client for REST, GraphQL, and gRPC
ComfyUI Raises $30M Series A at $500M Valuation Led by Craft Ventures (April 24, 2026)
Open-source AI creation platform ComfyUI announced a $30M Series A at a $500M post-money valuation on April 24, 2026, led by Craft Ventures with Pace Capital, Chemistry and TruArrow. The round brings total funding to $48M and signals that node-based, controllable workflows are the production layer for visual AI.
Apr 29, 2026
True Anomaly Raises $650M Series D at $2.2B Valuation as Golden Dome Selection Pushes Total Capital to $1B (April 28, 2026)
Colorado-based space defense startup True Anomaly raised $650M Series D at a $2.2B valuation, days after winning a slot in Trump's $185B Golden Dome program. The round, co-led by Eclipse and Riot Ventures, brings total capital to $1B in under four years.
Apr 29, 2026
Google Signs Classified Pentagon Contract for Gemini AI — One Day After 580+ Employees Petitioned to Stop It (April 28, 2026)
Google amended its Defense Department contract on April 28, 2026 to deploy Gemini on classified networks for 'any lawful government purpose' — signing the deal a day after 580+ employees, including senior Google DeepMind staff, urged Sundar Pichai to refuse it. The agreement fills the slot vacated when Anthropic refused similar terms.
Apr 29, 2026
Is this product worth it?
Built With
Compare with other tools
Open Comparison Tool →