最高第 1 名 已下榜
Rust发布xeet渲染器
Rauchg发布xeet,用Rust/wasm无浏览器渲染X帖子为PNG,约1毫秒,比截图快百倍。
要点
- @rauchg 发布 xeet:一个用安全 Rust/wasm 编写的封闭式、像素级精确的 X 帖子渲染器,不依赖浏览器、网络、文件系统或系统字体。
- xeet 约 1ms 即可把一条帖子渲染为 PNG,渲染 @jack 的 “setting up my twttr” 仅需 0.4 ms;作者称这比启动浏览器截图快 100x-1000x。
- xeet 复现了 Blink 与 HarfBuzz 的文字塑形、1/64px 换行、RTL 双向文本、28 个 Chirp 字体子集、CJK/数学/Emoji 回退以及 “Show more” 规则。
- xeet 以 “autorepo” 形式组织:oracle 启动 Chrome 验证数万条文本布局规则,CI canary 跟踪原项目的演进,并为 agent 提交签名 PR。
要点和反应摘要由 AI 依据本页推文整理,请以原推为准。 我们怎么用 AI
原推
Introducing 𝚡𝚎𝚎𝚝: https://t.co/YaLEMbmKwf.
A hermetic, pixel-perfect X post renderer in safe Rust / wasm. Zero browser, network, filesystem, system fonts. Renders a post to PNG in ~1ms (and 0.4 ms for @jack's "setting up my twttr" 😁).
X is the global town square, and the medium is the message. Being able to preview what things will look like before posting is great for both humans and agents.
Rendering with xeet is is 100x-1000x faster than booting up a browser and taking a screenshot, yet it's just as accurate.
It reproduces Blink & HarfBuzz text shaping, 1/64px line breaking, RTL bidi, 28 Chirp font subsets, CJK/Math/Emoji fallbacks, "Show more" rules, etc. It's the kind of thing that would be wildly impractical, if not impossible, for a human engineer to pull off.
Except 𝚡𝚎𝚎𝚝 is structured as an "autorepo." An oracle boots up Chrome, and verifies tens of thousands of text layout rules. A CI canary then watches the evolution of the original, and files signed PRs for agents to act on. It was conceived from the ground up around 'verification engineering', and the result speaks for itself.
Enjoy!
讨论 0
注册 登录 后参与讨论
还没有人讨论,来说第一句。