Open source · MIT Licensed

SwiftTUI logo

SwiftTUI

SwiftUI semantics, drawn in terminal cells.

SwiftUI's Views, State, Observation, Gestures, Animations, etc. — in a cross platform TUI framework.

The premise

A Swifter TUI renaissance

The terminal is undergoing an resurgence.

Modern terminal emulators are sleek, fine-tuned, workhorses. A burgeoning ecosystem of Terminal UI (TUI) apps has appeared to cater to developer use-cases. It is dominated by Go and Rust.

Swift is is absent in this ecosystem. It may be cross-platform, ergonomic, low level, and safe — but other languages have excellent TUI support through UI frameworks like Bubble Tea and Ratatui — and Swift has none.

Of course, Swift does have well established UI development patterns. Until now, they've just been tied up in a closed-source framework available only on Apple devices.

Introducing SwiftTUI: SwiftUI semantics, drawn in terminal cells.