iloveposts is an open-source Cloudflare Worker that turns an X post URL into a typeset PNG, a self-contained interactive HTML card, and a scalable preview. It extracts the post through the FxTwitter API, then sends the tweet data, page structure, instructions, and post images to a Workers AI model in one design request. The model controls artwork, layout, palette, typography, and optional motion, but the pipeline rebuilds the post content from structured data so it cannot alter text, counts, labels, or markup. Browser Rendering deterministically checks dimensions, clipping, typography, contrast, media, interaction, scripts, and missing resources; one repair request may follow, with a built-in house design as fallback. Cards support 1600×900, 1200×1200, and 1200×628 formats, and jobs usually take two to six minutes. The API exposes job polling, live logs, previews, HTML, and PNG downloads, while quotas limit callers to five cards per hour, 20 per day, and 200 per deployment per day. The project also documents model-dependent quality, a roughly $0.01–$0.02 direct-design estimate on one listed model, third-party FxTwitter dependence, and limited embedded font support for non-Latin scripts.
