# htmx

</> htmx - high power tools for HTML

Repository: https://github.com/bigskysoftware/htmx
Canonical: https://ross.abutalabs.com/products/htmx
Homepage: https://htmx.org
Language: JavaScript
License: NOASSERTION
License Family: other
Topics: html, javascript, hateoas, rest, htmx, hyperscript
Last push: 2026-08-26T17:23:05+00:00
Link (homepage): https://htmx.org
Link (site_page): https://htmx.org/docs/

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 78, longevity 100
- inputs: {"age_days": 2333, "days_push": 7, "days_rel": 68, "gap_med": 52.5, "n_releases_24m": 9}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 49020, forks 1634 (observed 2026-08-28T04:12:11.566496+00:00)

## What it is
htmx is a small, dependency-free JavaScript library that lets any HTML element issue AJAX requests, WebSockets, and Server-Sent Events via HTML attributes, enabling hypermedia-driven UIs without heavy JavaScript frameworks. It is the successor to intercooler.js and works with any server that responds with HTML.

## Use cases
- add partial page updates to a server-rendered site without writing javascript
- build a hypermedia-driven web app with html responses instead of json apis
- replace react with plain html attributes for a simple crud app
- add live updates to a page via websockets or server-sent events
- poll a server endpoint and swap html fragments into the dom
- progressively enhance forms and buttons with ajax

## When to choose
- your backend renders HTML and you want interactivity without a SPA framework
- you want a tiny, dependency-free script with no build step
- you prefer HATEOAS/hypermedia architecture over client-side state management
- you need broad browser support including a maintained IE-compatible 1.x line

## When to avoid
- you need rich client-side state management, offline support, or complex SPA routing
- your API returns JSON only and you cannot serve HTML fragments
- you need fine-grained reactive UI updates typical of react/vue/svelte

## Facets
- artifact type: library
- maturity: stable
- function: frontend-framework, http-client, websocket, templating
- domain: web-development, frontend
- platform: browser
- tags: hypermedia, hateoas, ajax, server-sent-events, html-attributes, no-build-step, nodejs

## Member repositories
- bigskysoftware/htmx (main) score 92
- bigskysoftware/intercooler-js (mirror) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:11.566496+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:20:36.194901+00:00, confidence not recorded.
  - readme: https://github.com/bigskysoftware/htmx (fetched 2026-08-28T04:12:11.566496+00:00, sha d6801e074d1c)
  - homepage: https://htmx.org (fetched 2026-08-28T18:14:31.944560+00:00, sha a7ad2e6e8ab4)
  - site_page: https://htmx.org/docs/ (fetched 2026-08-28T18:14:31.947356+00:00, sha a7e8b7cd1e50)
- Data as of 2026-08-30T08:39:29.467469+00:00.
