µJS, a 5KB alternative to Htmx and Turbo with zero dependencies
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 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.…
In plain words
µJS is a 5KB JavaScript library that enables AJAX-based navigation and form handling for web applications. It intercepts links and form submissions to fetch and swap DOM fragments without page reloads. Designed for developers who want lighter alternatives to HTMX and Turbo, µJS requires only a single script tag and one initialization call, with no build step or dependencies. It supports features including patch mode for multiple fragment updates, Server-Sent Events, DOM morphing, View Transitions, and hover prefetching, and works with any backend framework.
written from the facts on this page · September 2026
From the sources
In the maker’s words, at launch
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/playground Comparison with HTMX and Turbo: https://mujs.org/comparison About the project creation, why and when: https://mujs.org/about GitHub: https://github.com/Digicreon/muJS Happy to discuss the project.
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 2d ago · opentrailpaper.com

Launched alongside, March 2026
the whole month →

Switch from ChatGPT to Claude with import memory feature
AI · Mar 2026 · claude.com


