Firefox in WebAssembly

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Puter's public WebAssembly build of Firefox proves an entire browser can run inside a browser tab, mostly written with AI coding tools.

Read this as

A company called Puter made Firefox, an entire web browser, run inside another browser's tab, by converting it to WebAssembly, a technology for running big programs in a web page. A 233MB file contains the whole browser. Traffic is routed through Puter's servers, and visits to secure sites stay encrypted. The work cost an estimated $25,000 in AI subscription tokens.

Puter compiled Firefox to WebAssembly, with the build consuming an estimated $25,000 of Claude Opus and Fable tokens under a subscription plan, an example of AI-assisted programming at scale. The demo proxies all traffic through Puter's servers, which had to be scaled up during a Hacker News traffic spike, implying real ongoing infrastructure cost. For anyone needing browsers inside browsers (testing, sandboxing), the open-source repo is usable today.

Puter compiled Firefox/Gecko to a 233MB gecko.wasm (plus an 18MB chrome-assets.tar.zst), choosing Gecko for its strong single-process support. All traffic tunnels over the Wisp WebSocket protocol through Puter's servers, since browser code cannot open arbitrary connections; Willison verified HTTPS traffic is encrypted end-to-end while plain HTTP appears in cleartext. The build reportedly cost ~$25,000 in Claude Opus and Fable tokens. A related project, theogbob/WebkitWasm, compiles WebKit but lacks an online demo.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Puter Firefox WebAssembly Claude Opus Fable WebkitWasm

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading