Building a 60fps Self-Hosted Mobile IDE in Pure Python + Vanilla JS (2.8ms Delta Sync — Roast My Architecture) A developer built PocketAGY, a self-hosted mobile IDE (iOS PWA plus a universal Android WebView APK) that controls AI coding agents running on a desktop over Wi-Fi and 5G, using only the Python standard library and framework-free Vanilla JS. The stack keys conversation segments by (file_size, st_mtime_ns) and reads only the last 680 KB of JSONL transcripts, returning unchanged delta checks in 2.8ms and under 60 bytes on the wire, while a 250ms SSE stream with a 1 KB comment preamble defeats proxy buffering and dual feed/outbox containers reconciled by 32-bit FNV-1a hashes keep chat flicker-free at 60fps. The project also includes a pure-Python QR pairing module with Reed-Solomon ECC and is in a free open beta. When building PocketAGY — a self-hosted Mobile IDE iOS PWA + Universal Android WebView APK to control AI coding agents running on my desktop over Wi-Fi and 5G — my early prototype felt noticeably clunky on a real phone over cellular: innerHTML repaints blinked on every step