NewsCrawler.org

trynix.dev runs GUI apps in the browser with the new unkernel engine

trynix.dev in a browser, with xeyes, an X11 program, in a window over the console
trynix.dev in a browser, with es2gears drawing through WebGL2 in a window over the console, and the terminal reporting about 60 frames a second
trynix.dev in a browser, with espeak-ng typed at the prompt and the console bar saying "sound: click to play"
trynix.dev in a browser, booted with Firefox; that Firefox shows trynix.dev booting Firefox again, and the inner Firefox shows trynix.dev
Image: fzakaria.com

The author writes that trynix.dev, which runs Nix packages in the browser, now uses unkernel, an engine published on November 19, 2026 by Pooya Parsa. Unkernel is Linux compiled to WebAssembly[1]: the kernel and system components run at WebAssembly speed, and only user programs are emulated. The author says it runs 2x to 32x faster than the earlier browser emulation in QEMU[2], depending on the workload, especially on first runs.

With unkernel, the VM runs graphical programs: their Wayland[3] windows are composited in the page by wland and float over the terminal they were started from. Graphics use a minimal Mesa build with the virgl driver, rendered through the browser's WebGL2[4]. The VM also has an ALSA sound card that plays audio in the browser, and curl, git clone and pip install work over the network.

The author also ran Firefox inside trynix, which loaded trynix.dev and then loaded Firefox again inside itself. Rendering that nested setup took more than an hour.

Repository unkernel github.com

Linux kernel compiled to WebAssembly, so it runs in the browser; the kernel runs at WebAssembly speed while user programs are emulated.

Stars: 1,462Forks: 72License: GPL-2.0Updated:

Read the original fzakaria.comDiscussion

Discussion

Commenters mostly admire the demo as a showcase of what is possible, but several doubt its practical use, and one asked what it could be used for without getting an answer in the thread. Another commenter points out that unkernel is itself a JIT compiler, so user programs are not fully emulated as the article claims.

Primary sources and details

Sources

Published: First seen: Читать по-русски

Open as a page