浏览器内运行任意 Nix 包
朋友发现一个浏览器里就能跑任意 Nix 包的工具,不用服务器,直接在浏览器里加载你想要的软件版本,比如 2017 年的 Python 3.6.2,很方便。
trynix.dev 提供一个基于 WebAssembly 的 x86_64 Linux 虚拟机,可在浏览器中运行。
用户可通过 URL 加载任意 Nix 包,例如 https://trynix.dev/?
2,获得一个交互式 shell。该工具可用于代码审查,通过 GitHub 动作在浏览器中预览 PR 构建结果。
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 comments a link on a pull request which lets you boot the PR’s build in the browser using https://trynix.dev . No servers, just browsers. Via Lobste.rs Tags: code-review , linux , webassembly , github-actions
本条情报归属 AITOP「技巧」核心栏目,重点聚焦北美前沿实验室与硅谷科技巨头。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:trynix、Nix、WebAssembly、浏览器,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「Simon Willison’s Weblog」,经 AITOP 多维评分管线结构化提炼。截至目前,全网已有 2 家独立信源对该事件进行交叉印证与跟进报道(含 OpenRouter 等),属于近期高关注度行业信号。
- OpenRouter09-10 14:58原文