Primary sourceGuillermo Rauch
View sourceEvent ·Single source
rauchg 发布 xeet:用 Rust/Wasm 实现的 X 帖子像素级渲染器
Vercel 创始人 Guillermo Rauch 发布开源工具 xeet,用安全 Rust 编写、编译为 wasm,可在无浏览器、无网络、无文件系统、无系统字体的隔离环境下渲染 X 帖子为 PNG,速度约 1ms,渲染 @jack 的「setting up my twttr」首帖仅需 0.4ms。相比启动浏览器截图的方式,xeet 快 100 到 1000 倍,同时复现了 Blink 与 HarfBuzz 的文本排版,包括 1/64px 换行、RTL 双向文本、28 个 Chirp 字体子集、CJK/数学符号/Emoji 回退及「Show more」截断规则。项目采用「autorepo」架构:一个 oracle 启动 Chrome 验证数万条文本排版规则,CI canary 持续监测 X 原版页面变化并提交带签名的 PR 供 agent 处理。这种「验证工程」思路对构建社交媒体发布预览的开发者和 agent 工作流都有直接用处。
Current read
Vercel 的 rauchg 用 Rust 写了个 X 帖子渲染器,不用开浏览器,1ms 出 PNG,比截图快上千倍。有意思的是项目由 oracle 验证加 agent 维护,本身就是 agent 开发的样板。做发帖预览或 agent 工作流的可以试试。
2 sources52° AI heatLast updated 2026/11/16 04:27:37
Evidence
2 sourcesRelated source 1IT之家
View sourceConflict check
Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.