· JavaScript
trynix.dev boots GUI programs now, running Solitaire, Firefox, and more
The capacity to run graphical applications directly from a web browser is now a reality at trynix.dev, allowing users to test things like Solitaire, GL gears, xeyes, weather reports via curl, or…
The capacity to run graphical applications directly from a web browser is now a reality at trynix.dev, allowing users to test things like Solitaire, GL gears, xeyes, weather reports via curl, or even Firefox itself.
This development echoes the narrative presented in Gary Bernhardt’s presentation, "The Birth & Death of JavaScript," which captivated me with its surprisingly whimsical yet profoundly serious depiction of JavaScript's eventual takeover across all software domains. Given that others have already predicted JavaScript's inevitable ascendancy, the confirmation of Atwood's Law feels rather unsurprising. Atwood’s Law states: "Any application that can be written in JavaScript, will eventually be written in JavaScript." — Jeff Atwood, 2009.
I strongly suggest viewing that talk if you have not already done so, but the core message is a retrospective from the year 2035, illustrating how JavaScript became the standard language for all computing software. While Bernhardt's account traces this progression back to 2035, the accelerated pace, spurred by large language models, means this envisioned endpoint has materialized years ahead of schedule, and you can observe this unfolding at trynix.dev.
The progression described includes a period from 2020 to 2025 characterized by five years of stagnation where nothing was being written, yet everything was operating using this new framework. Desktop programs compiled for the web, where the browser's virtual machine assumes the role of the operating system, marked a significant shift, moving from milestones in 1995, 2005, 2015, and finally 2025 and 2035.
One of the most remarkable constructions I have managed using nixpkgs-multiverse is https://trynix.dev. The sheer notion that I can execute any Nix package, spanning over 300,000 distinct package versions, directly from my browser continues to astonish me—it is an incredibly potent capability. Initially, I felt a degree of disappointment regarding the speed of the QEMU emulation within the browser; it was slow enough that the demonstration leaned more toward novelty than genuine utility.
My awareness shifted on November 20th when I saw Domen Kožar post a single message in our TacoSprint Discord channel: unkernel.dev. This represented the swift browser-based Linux experience I had been striving for, but utilizing Nix. Pooya Parsa released it on November 19th, 2026, as "What is unkernel?" It is Linux compiled into WebAssembly, permitting the kernel and system components to function at wasm speed while only user applications require emulation.
In a period of intense, AI-driven fervor, I adopted this novel engine, alongside numerous long-desired features, almost instantly. The system ships with a Wayland desktop, and trynix defaults to booting on unkernel. The features included a loading strip detailing what is initializing, support for X11 programs, networking, sound, and downloads occurring upon initial use, all presented with GUI windows appearing on the page.
The evidence speaks for itself: unkernel provides substantial performance gains over qemu-wasm, especially during the initial startup phases where kernel operations are the primary bottleneck. With a robust collection of patches applied to boost efficiency further, the new engine achieves performance improvements ranging from 2x to 32x, depending on the specific task. The benchmark page meticulously tracks both engines across time, measured using both the live page and shell environments, showing improvements across various commands like `opencode --version`, `python, 3M-iteration sum()`, and `python3 -c 'print(1)'`, as well as utilities like `jj --version` and `rg --version`, culminating in a 32x faster result.
This combination of JavaScript and WebAssembly represents a kind of nirvana. Remarkably, not only does the core kernel boot quickly, but it also supports networking, enabling fully featured graphical and audio interactions right within the browser. Windows applications have their Wayland surfaces rendered on the page by wland, allowing them to float above the terminal session from which they were launched. For graphics, the VM incorporates a lightweight Mesa build featuring only the virgl driver, compiled to WebAssembly, and it renders through the browser's WebGL2 interface. Audio functionality is present via an ALSA sound card within the VM, allowing sound playback through your browser. Furthermore, network operations such as `curl`, `git clone`, and `pip install` function correctly; every TCP connection is routed via a single WebSocket to a Wisp relay.
I extend my gratitude to @_pi0_ for including trynix.dev in his Wisp relay allow-list. The most amusing aspect of Bernhardt’s talk is the concept of a browser running inside another browser: the Windows GIMP running under Wine, nested within Chrome, which itself is inside Firefox. Naturally, I felt compelled to test this with trynix. 😈 The demonstration showed GIMP running within Wine, within a Windows environment, compiled as asm.js in Chrome, and similarly in Firefox. The composite image illustrates Firefox running on Wayland Linux WebAssembly via trynix, which in turn loads Firefox again inside itself.
However, one should temper expectations; rendering this complex scenario took upwards of an hour. Take a moment to absorb the sheer magnitude of that achievement. That image depicts Firefox operating on Linux compiled to WebAssembly, contained within a Firefox tab, which loads the site, and subsequently loads Firefox again internally. 🤯
Why it matters
This development accelerates the trend toward web-based operating systems, fundamentally changing how developers build and deploy desktop applications. The significant performance gains in unkernel suggest a major shift in the viability of running complex native environments within a browser tab.



