FrankenTUI: A Memory-Safe Rust TUI Kernel With 120 Modules That Runs at 60fps in the Browser
doodlestein · x · 2026-09-14
Developer doodlestein has released FrankenTUI, a terminal UI framework he has iterated on for 7 months, calling it the most feature-packed and performant TUI framework, written entirely in memory-safe Rust and running at 60fps in the browser via WASM + WebGPU.
Key points:
- Not a Ratatui wrapper but a ground-up "terminal kernel": 12 composable crates (layout/text/style/runtime/widgets), 120 modules, built from scratch in 50 days with 50 algorithms.
- Deterministic rendering: a Buffer → Diff → Presenter → ANSI pipeline with no hidden I/O; every frame is reproducible and testable.
- Correctness guarantees: a single-writer TerminalWriter rule prevents cursor corruption and flicker; RAII-style TerminalSession restores terminal state even on panic; inline mode preserves scrollback while logs scroll.
- Borrows algorithms from statistical ML: Bayesian diff strategy, BOCPD resize coalescing, conformal prediction alerts, e-process monitoring.
- Released as v0.1.1 on crates.io, with a live browser demo and React widget.
Related event: FrankenTUI: Rust TUI framework runs at 60fps, even on iPhone browsers(3 posts)→
More from coding & agent
- Asking AI agents to prove their uniqueness yields nothing but marketing word soup — altryne · 2026-09-14
- Instinct Launches Trusted Person Network Where AI Agents Book Plans for You — mon__lim · 2026-09-14
- Hyperliquid MCP Server brings DEX trading, market data and portfolio tools to agents — modelcontextprotocol · 2026-09-14
- Early Hands-On: Linear's Devin Agent Integration Feels Slick — ethanniser · 2026-09-14
- Muse's memory handles Paris flight check-ins automatically after one ask — armand_ruiz · 2026-09-14
- Running an entire AI workflow from a phone with a shared MCP memory layer — Asly97 · 2026-09-14