nowfound

Dev tools · March 7, 2026

µ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.…

µJS, a 5KB alternative to Htmx and Turbo with zero dependencies launched on March 7, 2026 with 161 votes, #205 of 23,380 launches that month and more than 95% of that year's launches.

Visit mujs.org ↗Alternativestop 1% of March 2026

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

Accelerate your website without a JS framework. Lightweight AJAX navigation library —5KB gzipped, zero dependencies, drop-in compatible.

Traditional websites reload the entire page on every click. µJS changes that: it intercepts link clicks and form submissions, fetches the new page in the background, and replaces only the content that changed. The browser never fully reloads — navigation feels instant, like a single-page application. There's no framework to learn, no build step, no server-side changes. Add a single script tag to your existing site, call mu.init() , and every internal link becomes an AJAX navigation. It works with any backend — PHP, Python, Ruby, Go, or anything that serves HTML. Built on the modern Fetch API : no XMLHttpRequest , no polyfills. Requests are managed natively with AbortController : when the…from mujs.org

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…

Does a similar job

all alternatives →
  • Swap.js – a JavaScript micro-framework (HTML fragments over the wire)2023 · github.com · ▲127

    Hi HN! I created this lib in the need of a simple and tiny framework to easily do AJAX-style navigation &#x2F; replacement of fragments in the page, in a web application. For people who don't want to use client-side-rendering and complex frameworks à la React, there are nowadays a few "HTML-over-the-wire" libraries, like HTMX, Unpoly or this super-tiny one Swap.js :) One other key thing is that no external tool is needed: no bundler, no webpack, no TypeScript compiler, no minification needed. Just write HTML, JS (+ your preferred server-side language: PHP, Python, etc.) and it works. The…

  • htmgo - build simple and scalable systems with golang + htmx2024 · htmgo.dev · ▲166

    Hey all, I just wanted to share a project I've been working on for the past month. After years of heavy frameworks, I really like the idea of using htmx, but it’s a little too low level for me and needs a thin layer above it to facilitate things like components, better syntax with complex JS inside of an attribute, etc To try and solve this problem with a very minimal stack (golang + htmx) that I've been really enjoying, I'm building this project to cater to my needs and was thinking it would be useful for other developers.

  • I made a HTMX Playground 100% in the browser2024 · lassebomh.github.io · ▲482

    I recently dug up an old project in an attempt to improve on it. It's a code sandbox for playing around with HTMX in the browser, that runs a mock server within the sandbox iframe. The server "framework" is loosely based on Django, so if you're familiar with Django, you'll immediately understand what's going on. I recommend clicking through the examples. Github repo: https:&#x2F;&#x2F;github.com&#x2F;lassebomh&#x2F;htmx-playground Probably my favorite part is the lack of HTMX specific code. It's designed to mimic the client and server, but really nothing else. In principle, this means that…

  • Lowdefy – Build internal tools with YAML on an open-source framework2021 · lowdefy.com · ▲107

    We're excited to announce Lowdefy V4, a full-stack web framework built on top of Next.js that simplifies building web applications, internal tools, admin panels, BI dashboards, and CRUD apps using YAML or JSON configuration files. New in V4: Next.js: Lowdefy now runs on top of the Next.js framework. All of Auth.js: App auth is now handled by Auth.js supported providers, adapters and callbacks and events, easy to configure, but all of which can be customized. Plugin extensibility: Apps can now be extended with any npm or pnpm workspace plugins. Our story: We have developed a simple…

  • HH
    Hibiki HTML – New frontend framework – no scaffolding, no Webpack2022 · playground.hibikihtml.com · ▲232

    Source https:&#x2F;&#x2F;github.com&#x2F;dashborg&#x2F;hibiki | Interactive Tutorial https:&#x2F;&#x2F;playground.hibikihtml.com&#x2F;tutorial&#x2F; I love JavaScript, but for many projects -- especially internal tools and prototypes -- setting up a full frontend JavaScript stack (npm, webpack, babel, create-react-app, redux) and all of their configuration files, folders, and scaffolding is overkill. Hibiki HTML incrementally plugs into any backend, using any template language (even static HTML files) with a single script include. It includes a built-in frontend data model, Vue.js-like…

  • 1 KB JavaScript framework for building front-end applications2017 · github.com · ▲216

    1kB-ish JavaScript framework for building hypertext applications - hyperapp/hyperapp

More dev tools this month

the category →
  • Contribute to oosexgang/hackios-xnu-kernel development by creating an account on GitHub.

    Dev tools · 1d ago · github.com

  • /dev/null▲492

    a social network for devs

    Dev tools · 4d ago · dev-null.sh

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 29d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 27d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 24d ago · openbot.run

  • Talanoa▲346

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 22d ago · talanoa.email

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, March 2026

the whole month →
  • AI-native CRM that builds itself and does work for you

    AI · Mar 2026 · lightfield.app

  • Tobira.ai▲728

    A network where AI agents find deals for their humans

    AI · Mar 2026 · tobira.ai

  • Switch from ChatGPT to Claude with import memory feature

    AI · Mar 2026 · claude.com

  • Littlebird remembers everything across your meetings, messages, docs, and apps, then takes action so you can recall any detail and never lose context.

    AI · Mar 2026 · littlebird.ai

  • Your AI Coworker that proactively executes tasks

    AI · Mar 2026 · viktor.com

  • Jupid▲659

    File your taxes with Claude Code

    Commerce · Mar 2026 · jupid.com