Nicheloom

Market intelligence for builders — see what's gaining traction before it's crowded.

µJS, a 5KB alternative to Htmx and Turbo with zero dependencies

Details

External ID
47285876
Source
HN
Company
—
Product
µJS, a 5KB alternative to Htmx and Turbo with zero dependencies
Website domain
mujs.org
Launched
March 7, 2026
Cohort
—
Upvotes
161
Upvotes percentile
0.9532595325953259
Tags
—
Fetched at
Sept. 7, 2026, 9:26 p.m.
Updated at
Sept. 7, 2026, 9:26 p.m.

Description

I built µJS because I wanted AJAX navigation without the verbosity of HTMX or the overhead of Turbo.It intercepts links and form submissions, fetches pages via AJAX, and swaps fragments of the DOM. Single <script> tag, one call to `mu.init()`. No build step, no dependencies.Key features: patch mode (update multiple fragments in one request), SSE support, DOM morphing via idiomorph, View Transitions, prefetch on hover, polling, and full HTTP verb support on any element.At ~5KB gzipped, it's smaller than HTMX (16KB) and Turbo (25KB), and works with any backend: PHP, Python, Go, Ruby, whatever.Playground: https://mujs.org/playgroundComparison with HTMX and Turbo: https://mujs.org/comparisonAbout the project creation, why and when: https://mujs.org/aboutGitHub: https://github.com/Digicreon/muJSHappy to discuss the project.

Enrichment

Theme
niche developer utilities and toolchains
Vertical
Horizontal
Function
Dev tools
Audience
Developer
AI stance
Not AI
Project type
Hobby / open-source project
Normalized one-liner
lightweight alternative to htmx and turbo
Manually corrected
False

Could you build this?

Yes µJS is a compact (~5KB) JavaScript utility wrapping native browser fetch, event listeners, and DOM fragment replacement.

Discussion

20 comments analyzed.

Competitors mentioned: htmx, SPA frameworks

Concerns raised: HTML-over-the-wire solutions lack responsiveness compared to SPAs, Full absolute URLs not recognized as internal links, Forms using non-standard HTTP methods (DELETE) break without JavaScript, Doesn't handle variable base paths well

Feature requests: Opt-in per-link processing instead of global link interception, Support for absolute/full URLs as internal links, Better handling of relative paths with variable base paths

Competitors

Other products that read as similar to this one — 93 launches clear the similarity bar, closest 8 shown.

Attention rank: #6 of 94 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).

Launched 123 days after the earliest competitor.

Other launches for this product

Same idea, different domain

Nobody's really built a dev tools tool for Sales yet.