I built a terminal emulator for macOS from scratch in a single Swift file.
- 10,000+ lines, one file, zero dependencies - Hand-rolled VT100/VT220/xterm parser (13-state FSM) - Native Cocoa rendering at 60 FPS (no Electron, no WebView) - Lives in the menu bar, toggle with Ctrl+< - Full 24-bit TrueColor, Sixel graphics, mouse tracking, Kitty keyboard protocol - Built-in command palette (quickBAR) with 40 commands - Multi-tab, split panes, session restore - Auto-updater that checks GitHub Releases every 72h - 4.8 MB app bundle, ~1.4 MB binary
No SwiftTerm, no libvte, no terminal library. Every escape sequence parsed from scratch.
The whole thing compiles with a single `swiftc` call.
https://github.com/LEVOGNE/quickTerminal
LEVOGNE•2h ago
I built a terminal emulator for macOS from scratch in a single Swift file.
- 10,000+ lines, one file, zero dependencies - Hand-rolled VT100/VT220/xterm parser (13-state FSM) - Native Cocoa rendering at 60 FPS (no Electron, no WebView) - Lives in the menu bar, toggle with Ctrl+< - Full 24-bit TrueColor, Sixel graphics, mouse tracking, Kitty keyboard protocol - Built-in command palette (quickBAR) with 40 commands - Multi-tab, split panes, session restore - Auto-updater that checks GitHub Releases every 72h - 4.8 MB app bundle, ~1.4 MB binary
No SwiftTerm, no libvte, no terminal library. Every escape sequence parsed from scratch.
The whole thing compiles with a single `swiftc` call.
https://github.com/LEVOGNE/quickTerminal