
XXII Chat: Inside a Local-First Messenger With Calls and a Streaming Studio in Vanilla JS—and Why Its 57K Lines of Vibe Code Need Taming
Can you build a browser hybrid of Slack, Zoom, and OBS Studio with zero React, Webpack, or UI libraries? Metarhia creator Timur Shemsedinov open-sourced XXII Chat in vanilla JS with CRDT replicas, OPFS storage, a WebRTC mesh, and WHIP live streaming. Here is a breakdown of its three-tier architecture and a candid lesson on why even a strict AGENTS.md and 70+ browser tests didn't stop it from turning into 57,000 lines of hard-to-read vibe code.
