Puter将Firefox编译为WebAssembly,可在浏览器中运行完整浏览器

Firefox in WebAssembly

精选理由

有人把整个Firefox编译成了WebAssembly,能在Chrome里跑另一个浏览器,用Claude辅助编程才搞定的,超级酷。

AI 摘要

Puter项目将Firefox(Gecko引擎)编译为WebAssembly,使其能在另一个浏览器内完整运行。该工程使用了Claude Opus和Fable(Claude Max订阅计划),消耗约$25,000的token。演示通过Wisp协议将流量经Puter服务器代理,支持端到端加密(已验证HTTPS流量加密)。代码已开源于firefox-wasm仓库,类似项目WebkitWasm编译WebKit但暂无在线演示。

原文 · Simon Willison’s Weblog

Firefox in WebAssembly

Firefox in WebAssembly This is absurdly cool: Puter compiled Firefox to WebAssembly such that the whole browser runs in another browser. Here's my blog, running in Firefox, running in WebAssembly, running in Chrome: They chose Firefox/Gecko because it has strong single-process support. The project took an estimated $25,000 of Claude Opus and Fable tokens, taking advantage of a Claude Max subscription plan. The demo funnels all traffic over a WebSocket protocol (using the Wisp protocol ) through Puter's server - a requirement to get this kind of thing to work because code running in browsers can't open arbitrary network connections. (That proxying sounds expensive! The team had to scale the servers up to handle the traffic during the Hacker News conversation about the project.) Puter claim this supports end-to-end encryption and that looks to be true - I inspected the WebSocket messages and traffic to my own HTTPS site was encrypted whereas requests and responses to http://www.example.com/ were in cleartext. Here's the repo for firefox-wasm . theogbob/WebkitWasm is a similar project that compiles WebKit to WASM, but that one doesn't currently have an accessible online demo. Via Hacker News Tags: browsers , firefox , ai , webassembly , generative-ai , llms , ai-assisted-programming , claude , claude-mythos-fable