cd /news/artificial-intelligence/firefox-in-webassembly · home topics artificial-intelligence article
[ARTICLE · art-62903] src=simonwillison.net ↗ pub= topic=artificial-intelligence verified=true sentiment=· neutral

Firefox in WebAssembly

A team compiled Firefox's Gecko engine to WebAssembly, enabling a full browser to run inside another browser via a WebSocket proxy. The project cost an estimated $25,000 in AI tokens from Anthropic's Claude Opus and Fable models, and required scaling servers to handle traffic from Hacker News. The demo supports end-to-end encryption and is available on GitHub.

read1 min views1 publishedJul 16, 2026

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](https://news.ycombinator.com/item?id=48926939)

Tags: [browsers](https://simonwillison.net/tags/browsers), [firefox](https://simonwillison.net/tags/firefox), [ai](https://simonwillison.net/tags/ai), [webassembly](https://simonwillison.net/tags/webassembly), [generative-ai](https://simonwillison.net/tags/generative-ai), [llms](https://simonwillison.net/tags/llms), [ai-assisted-programming](https://simonwillison.net/tags/ai-assisted-programming), [claude](https://simonwillison.net/tags/claude), [claude-mythos-fable](https://simonwillison.net/tags/claude-mythos-fable)
── more in #artificial-intelligence 4 stories · sorted by recency
── more on @firefox 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/firefox-in-webassemb…] indexed:0 read:1min 2026-07-16 ·