---
title: "Firefox被编译为WebAssembly，可在浏览器中运行浏览器"
source: "Simon Willison 博客（Atom）"
source_tier: "t2"
url: "https://simonwillison.net/2026/Jul/16/firefox-in-webassembly/#atom-everything"
permalink: "https://feed.astralor.com/items/itm_a798d725b35edc5e74a4e5bc"
published: "2026-07-16T23:34:16.000Z"
score: 71
channel: "tech"
tags: ["AI辅助编程","Claude","Firefox","Puter","WebAssembly","Wisp协议"]
---

# Firefox被编译为WebAssembly，可在浏览器中运行浏览器

## AI 点评

> 这个项目让我震惊：AI和WebAssembly的协同竟然能如此快速地构建出原本需要大量人力验证的复杂任务。对于浏览器开发者、WebAssembly爱好者以及AI辅助编程实践者，这篇博文都值得反复研读。看完我不禁重新审视浏览器的边界。

## 速览

Puter项目成功将Firefox的Gecko引擎编译为WebAssembly，使其能在另一个浏览器中完整运行。项目利用Claude Opus和Fable tokens的AI辅助编程技术，消耗约25000美元，并通过Claude Max订阅计划实现。所有网络流量通过Wisp协议的WebSocket代理，支持端到端加密。这一突破展示了AI与WebAssembly结合的巨大潜力，为浏览器嵌套、远程操作等场景提供了新思路。

## 关键点

- 将Firefox/Gecko引擎编译为WebAssembly，在浏览器内运行完整浏览器实例
- 项目依赖AI辅助编程，消耗约25000美元的Claude Opus和Fable tokens
- 所有网络流量通过Puter的Wisp协议WebSocket代理，支持HTTPS加密
- 类似项目WebKitWasm存在但无公开在线演示

## 全文

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

---

引用前请核对原文;本文由星际流动整理:https://feed.astralor.com/items/itm_a798d725b35edc5e74a4e5bc
