Hacker ApprovedDepartments

htmz

Ranked 18 of 24 JavaScript libraries by recommenders

People recommend htmz as an extremely small alternative to HTMX, at about 166 bytes, that repurposes iframes for HTML-driven partial page updates.

People recommend htmz as an extremely small alternative to HTMX, at about 166 bytes, that repurposes iframes for HTML-driven partial page updates.

7 people gave an opinion

recommend it
7
criticize it
0
approval share
100%
Each figure is one person. RecommendsCriticizes

Recommended in 6 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: not recommended
  5. March 2026: recommended
  6. April 2026: not recommended
  7. May 2026: recommended
  8. June 2026: not recommended
  9. July 2026: not recommended
  10. August 2026: recommended
  11. September 2026: not recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 7 people recommend itNeeds 10 or more, not met.
  • Nobody criticizes itNeeds 2 to 1 or better, met.
  • Recommended in 6 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Extremely small, about 166 bytes

    “htmz is intentionally more minimal (it's literally 166 bytes)”

    Comment from 8 Mar 2026 in “Show HN: µJS, a 5KB alternative to Htmx and Turbo with zero dependencies”

    “a single inline 166-byte (sic!) onload handler named HTMZ”

    Comment from 29 Aug 2026 in “Htmx 4.0”

    “You don't need HTMX, there is 160-bytes HTMZ”

    Comment from 30 May 2026 in “API proposed by Chrome: Declarative partial updates”
  • Minimal, strips out bloat

    “for extreme minimalisim, htmz, which repurposes iframes for a similar idea”

    Comment from 31 Jan 2026 in “htmx: Server Sent Event (SSE) Extension”

    “if you really want to lose bloat, there's always Htmz”

    Comment from 18 Dec 2025 in “Please just try HTMX”
  • Simple and actually usable

    “I took that idea and made it actually usable.”

    Comment from 24 Dec 2025 in “Please just try HTMX”

    “htmz is a masterclass in simplicity.”

    Comment from 7 Mar 2026 in “Show HN: µJS, a 5KB alternative to Htmx and Turbo with zero dependencies”

Other JavaScript libraries people recommend

The four most recommended other JavaScript libraries, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

htmz compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
jQuery1114870%1216 yrs8 ownersApproved
Picknplace.js582669%1——
Alpine.js501676%111 yr4 ownersApproved
Effect (TypeScript library)381670%102 yrs3 ownersApproved
htmzThis page70100%6——
See all 24 JavaScript libraries, ranked

What people said

8 of the 9 comments that mention it, newest first. Each links to the original comment.

“a single inline 166-byte (sic!) onload handler named HTMZ”

RecommendsComment from 29 Aug 2026 in “Htmx 4.0”

“You don't need HTMX, there is 160-bytes HTMZ”

RecommendsComment from 30 May 2026 in “API proposed by Chrome: Declarative partial updates”

“htmz is intentionally more minimal (it's literally 166 bytes)”

RecommendsComment from 8 Mar 2026 in “Show HN: µJS, a 5KB alternative to Htmx and Turbo with zero dependencies”

“htmz is a masterclass in simplicity.”

RecommendsComment from 7 Mar 2026 in “Show HN: µJS, a 5KB alternative to Htmx and Turbo with zero dependencies”

“for extreme minimalisim, htmz, which repurposes iframes for a similar idea”

RecommendsComment from 31 Jan 2026 in “htmx: Server Sent Event (SSE) Extension”

“I took that idea and made it actually usable.”

MixedComment from 24 Dec 2025 in “Please just try HTMX”

“if you really want to lose bloat, there's always Htmz”

RecommendsComment from 18 Dec 2025 in “Please just try HTMX”

“If you are looking for a very tiny foot print, you might like htmz-be.”

RecommendsComment from 5 Nov 2025 in “</> Htmx – The Fetch()ening”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.