ZeroHour
Simon Willisonpublished ()ingested

Any Nix package, live in your browser

infoOtherimportance 5
AI summary · glm-5.3-flash

trynix.dev runs any Nix package from the past 13 years inside a WebAssembly-powered x86_64 Linux VM directly in the browser.

Developer Farid Zakaria launched trynix.dev, a service that boots a qemu-wasm x86_64 Linux virtual machine entirely in the browser via WebAssembly. Packages are URL-addressable, so users can load versions such as [email protected] from 2017 and get an interactive shell. A companion tool, trynix-preview, is a GitHub action that lets reviewers boot a pull request to test it live.

  • Runs a full Linux VM in-browser using qemu-wasm and WebAssembly
  • Supports URL-addressable Nix packages spanning 13 years of history
  • trynix-preview GitHub action boots pull requests for review
Vendorstrynix
OrganizationsNix
Full article

Any Nix package, live in your browser Farid Zakaria calls this his " magnum opus of Nix work", and I can see why. trynix.dev provides a qemu-wasm powered x86_64 Linux virtual machine running entirely in your browser through WebAssembly. That VM can then be booted with any Nix package from the past 13 years. They are URL addressable, so you can navigate to this page: https://trynix.dev/?pkg=python3%403.6.2 Then click "Load" and get an interactive shell against a virtual machine running Python 3.6.2 from 2017. Farid is building all sorts of neat things on top of this. One recent example: Review a pull request by booting it introduces trynix-preview , described like this: GitHub action that…

This source does not provide full text. Read it at simonwillison.net.