Skip to content
Global sound
EasyVibeCoding Podcast

EasyVibeCoding Podcast

xeet:用 Rust/WASM 渲染 X 貼文預覽

· 2 min

Show notes

xeet:用 Rust/WASM 渲染 X 貼文預覽

Guillermo Rauch 介紹 xeet,一個將 X 貼文渲染成 PNG 的工具。他把它定位為發文前的預覽方式,讓人和代理先看內容發布後的樣子;並稱 xeet 以安全 Rust 和 WebAssembly 製作,不需瀏覽器、網路、檔案系統或系統字型。

Rauch 在貼文中寫道,渲染一則貼文約需 1 毫秒,並以特定的 @jack 貼文為例,稱其約需 0.4 毫秒。他另稱,與啟動瀏覽器再截圖相比,xeet 快 100 至 1,000 倍。貼文未說明測量環境或可重現方法;這些是作者提出的效能數字,沒有獨立測量佐證。

貼文附帶的影片展示 CLI、TypeScript 和 Rust 範例,接著呈現 X 貼文預覽與 Tetris 動畫;可直接從畫面查看範例操作與渲染數字。

影片展示 xeet 的 CLI、TypeScript 與 Rust 渲染範例,以及 X 貼文與 Tetris 動畫預覽。畫面標示各範例的渲染時間,結尾顯示 241 frames in 260 ms;這些是影片呈現的數字,未經獨立效能測試。

Xeet 影片的原始 X 縮圖,呈現黑底的 xeet 字樣。

要重現的,不只是貼文文字

貼文把 xeet 描述為 pixel-perfect 的 X 貼文 renderer。Rauch 稱它重現 Blink 與…

Website: easyvibecoding.app

Live, last hour: 7,656 songs on 3,682 stations in 127 countries

Discover the world through radio

More ways to discover (7)

Heard something good? Save it, or open it straight away in Spotify.

★ Artist of the week The fastest riser on the radio this week
Your song here? From € 9 per week →
GENERATION SOUL DISCO FUNKContinue listening