Bubble Tea
github.com
2
Leaving SiteNav
External Link Disclaimer
You are about to visit github.com. This website is not operated by us. We are not responsible for its content or privacy practices.
About this website
Bubble Tea is a Go framework for building terminal user interfaces, developed by the Charm team and based on The Elm Architecture design pattern. It provides a fun, functional, and stateful approach to constructing command-line applications, supporting both inline renderers that print output progressively and full-screen alternate buffer modes that take over the entire terminal window. Bubble Tea's high-performance cell-based renderer efficiently diffs and redraws only the portions of the screen that changed, enabling smooth animations and responsive interactions even in large terminal applications. The framework includes built-in color downsampling for terminals that do not support true color, declarative view functions, high-fidelity keyboard input handling with support for the Kitty keyboard protocol, comprehensive mouse event capture, and native clipboard integration. Bubble Tea's message-driven architecture cleanly separates model state, view rendering, and command execution, making applications easy to test and reason about. The companion library Bubbles provides a collection of ready-to-use UI components including text inputs, spinners, progress bars, lists, tables, viewports, and file pickers. The broader Charm ecosystem includes Lip Gloss for declarative terminal styling and Glamour for markdown rendering, together forming a complete toolkit for beautiful terminal applications. With over 43,000 GitHub stars, Bubble Tea is one of the most popular TUI frameworks in the Go community. Released under the MIT license, the project is actively maintained with regular releases and comprehensive tutorials.
Statistics
2
Views
0
Clicks
0
Like
0
Dislike