← Market Pulse · Nov 23
unkernel: a real Linux kernel compiled to WebAssemblyGitHub · created Nov 12 (11 days ago) · original page ↗
Stars / day ×3.6108 → 387

A real Linux kernel in the browser: an old HN post resurfaces and climbs again

What it isCompile a real Linux kernel to wasm, and a web page gives you a machine that can install software in about a second.

Why it grewAn HN post nobody noticed on the 17th was pushed back onto the front page on Nov 22, reaching #2 with 213 points.

What to takeA hardcore technical project, shipped as a zero-install web demo, plus a daily post saying "this runs now too."

Who built itPooya Parsa (pi0), author of Nitro, NetherlandsHow it makes moneyFree and open source, with no paid path; sponsored by the Vercel open source programStaying powerStaying power: before this jump it was already gaining 100+ a day, and the author posts a new capability almost every day
Tested on unkernel.dev: Debian boots in 1.31 seconds in the browser, and uname shows Linux 7.3.4, aarch64

Positioning and edge

Who it's forDevelopers who want to give users a Linux machine inside a web pageThe job it doesOne npm package embeds a Linux that can install software into a web page, no server neededWhat people did beforeRent a cloud sandbox, or use slow full-machine emulators or closed-source WebContainersThe wedgeThe kernel runs natively and only user programs are emulated: fast, no recompiling software, fully open source

How it differs from the rest

  1. Software from the distro installs as-is, with no recompilingThe same day, HN users installed Postgres, Docker and Claude CLI and got them running
  2. The kernel itself is native wasm; syscalls don't go through emulated hardwareAuthor's own test: getppid takes 172ns, versus 1,662ns under qemu full-machine emulation
  3. Every layer is open source, the SDK is MIT, and there's no closed-source engine or license keyAn X user's words: the useful parts of WebContainer are hidden, and only a thin shell is open source
  4. It's an SDK that can be embedded in other people's products, not just a demo pageOn Nov 20, trynix.dev switched its default engine to it, claiming 3–10x faster startup and execution

Who else is in the space

Similar productHow it differs from this one
WebVMRuns Debian in the browser, 17K starsWebVM's engine CheerpX is closed source and has no real kernel; this one is fully open source
v86An x86 full-machine emulator, 24K starsv86 emulates the kernel too, so syscalls are slow; this one's kernel runs natively
WebContainersRuns Node in the browser; commercial use requires a licenseThat one only runs JS and wasm programs; this one can apt-install any software
linux-wasmThe starting point for its kernel port, 1,276 starsThat one has no MMU and programs must be recompiled; this one adds page tables and a CPU

Can it hold?The code is fully public and copyable; what can't be taken is the author's pace of 150 commits in 11 days, and his audience.

Last two weeks · Stars / day
11-2038711-23

How it happened

  1. GitHub repo created; unkernel 0.0.0 published on npm the same day ↗

  2. The author posted "weekend project: unkernel" on X: 779 likes, 83,000 views ↗

    The author's launch post: he called it a "weekend project," 779 likes
  3. Two people posted links on HN one after another, peaking at only 17 points; GitHub 154 stars ↗

  4. The author says he let a group of agents run overnight to switch the CPU from RISC-V to ARM64 ↗

  5. 0.2 released: Debian by default, up to 16 cores; the post got 417 likes ↗

    0.2 announcement: switched to ARM64, Debian by default, and claude and bun install automatically when you type their names
  6. First downstream user: trynix.dev switched its default engine to unkernel ↗

  7. The author open-sourced the companion wland (a Wayland compositor in the browser), 886 likes ↗

  8. The old HN post from the 17th was pushed back to #2 on the front page with 213 points; +387 stars in one day ↗

    The trigger: this Hacker News post, with 213 points and 76 comments, peaked at #2 on the front page on Nov 22
  9. The author demoed running Chromium inside it, with GPU acceleration added; stars reached 1,163 ↗

In detail

What it's like to use

Open unkernel.dev and the browser first downloads a kernel file of about 10 MB, while the Debian image is streamed on demand. In our test it reached a terminal on the desktop in 1.31 seconds, and uname -a showed Linux 7.3.4, aarch64. Type a command that isn't installed and it installs it itself; changes are stored in the browser and survive a refresh. The other half is the SDK: npm install unkernel, and a few lines of code start a machine in Node or on a web page, no server required.

What makes it different, and who buys it

Before, "Linux in the browser" had three routes: full-machine emulation (v86, JSLinux) runs everything but is slow; rewriting syscalls (WebVM) is fast, but the engine is closed source and only implements so much; recompiling programs to wasm (WebContainers) only runs what it supports. unkernel compiles the kernel directly to wasm and only emulates the ARM64 instructions of user programs, so distro packages install as-is.

HN comments back this up: "Installed Claude CLI, then Docker, and the hello-world container ran." Another person ran Postgres as-is and measured JSLinux as 40% slower than it. There was cold water too: "Looks good on a résumé, but I doubt it will have any practical use." The author himself writes that pure compute is far slower than native, and apk add python3 takes 3.4 seconds.

How much to discount this star jump

The 387 stars recorded for Nov 23 correspond to Sunday, Nov 22 (UTC): an HN post made on Nov 17 that nobody noticed was put back on the front page and rose to #2 within a few hours. This is one-time exposure and will fade.

But before that it was already gaining 60–160 stars a day, driven by the author posting almost daily on X about "what runs now": Doom, Docker, Chromium, each getting 100–800 likes. The author maintains Nitro and UnJS and has 5,203 GitHub followers, a starting point ordinary people don't have. Real usage is still small: about 3,200 npm downloads in total as of Nov 21, and trynix.dev is the only public integration.

Should you follow

It doesn't make money, and no one has said it will charge. Don't build another kernel: the author says the ARM64 CPU was written by a group of agents running overnight, and you can't keep up with that speed.

The worthwhile work is in the layers above: "click to try" links for command-line tools (issue #1 in the repo proposes exactly this), server-free coding teaching environments, and AI coding agents running in the user's browser. Check the limits before you start: no IPv6 or inbound connections, browser networking goes through a proxy relay, and the kernel is GPL-2.0.

The comparison table in the README: similar projects either emulate the whole machine or have no real kernel; this is the only one with "native kernel + unmodified software"
Author's own syscall timings: unkernel is close to native, about 10–20x faster than qemu full-machine emulation