Trynix.dev runs any Nix package directly in your browser
Developer Farid Zakaria has launched trynix.dev, a WebAssembly-powered tool that lets developers run any Nix package from the last 13 years directly inside a browser-based virtual machine.
Developer Farid Zakaria has released trynix.dev, a new platform that allows users to run any Nix package from the past 13 years directly inside a web browser. Zakaria described the project as his "magnum opus of Nix work," highlighting its potential to simplify how developers interact with and test legacy software. The system operates without the need for external servers, executing entirely on the client side.
At the core of trynix.dev is a QEMU-Wasm powered x86_64 Linux virtual machine. Because the virtual machine runs entirely within WebAssembly, users can boot up environments instantly. The platform uses URL-addressable packages, meaning developers can target specific historical software versions simply by navigating to a unique web address. For example, a user can load an interactive shell running Python version 3.6.2, originally released in 2017, with a single click.
To extend the utility of this browser-based environment, Zakaria also introduced trynix-preview. This tool is a GitHub action that automatically posts a comment on pull requests with a direct link. Clicking the link boots the specific build of the pull request inside the trynix.dev virtual machine. This workflow eliminates the need to spin up dedicated preview servers, allowing developers to review code changes instantly in a sandboxed browser environment.
For software engineers and DevOps practitioners, this development significantly lowers the friction of testing and debugging. Instead of configuring local environments or waiting for cloud-based container deployments, developers can verify historical dependencies and pull requests in seconds. The combination of Nix's reproducible packages and WebAssembly's portable execution provides a highly secure, zero-install playground for testing software configurations.
This is our own summary of reporting by Simon Willison


