Bubbletea
An Elm Architecture TUI framework for Rust: pure update/view, command-driven
effects, and a deterministic event loop.
Role in the charmed_rust (FrankenTUI) stack
Bubbletea is the central runtime that everything else builds on. It defines the
Model, Message, and Cmd abstractions and drives the event loop. Higher-level
crates such as bubbles (components), huh (forms), wish (SSH apps), and glow
(Markdown reader) are all built on top of bubbletea. lipgloss provides the
styling used by bubbletea-based views, while harmonica supplies animation
timing helpers.
Crates.io package
Package name: charmed-bubbletea
Library crate name: bubbletea
What it provides
Modeltrait for pure application state.MessageandCmdfor event handling and effects.Programrunner and event loop.- Optional async runtime and thread-pool features.
- Derive macros via the optional
macrosfeature.
Typical usage
use ;
Where to look next
crates/bubbletea/src/program.rscrates/bubbletea/src/model.rs