Vercel CEO releases xeet: Rust/wasm renders X posts in about 1ms
Guillermo Rauch has released xeet, a closed X post renderer written in safe Rust/wasm that does not depend on a browser, network, filesystem, or system fonts, and renders a post to PNG in about 1ms (0.4ms for @jack's "setting up my twttr"). It reproduces rules such as Blink and HarfBuzz text shaping, 1/64px line breaking, RTL bidirectional text, 28 Chirp font subsets, and CJK/Math/Emoji fallback, making it 100x-1000x faster than launching a browser to take a screenshot. The project is organized in an "autorepo" manner: Chrome serves as an oracle to validate tens of thousands of text layout rules, and a CI canary monitors upstream changes and submits signed PRs for agents to handle.
Body
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!