Favicon of bubbletea

bubbletea

A Go framework based on The Elm Architecture for creating stateful, functional terminal applications with high-performance rendering and rich UI components.

Bubble Tea is a Go framework for building terminal applications using functional programming principles inspired by The Elm Architecture. It provides a delightful way to create both simple and complex terminal apps, whether inline, full-window, or mixed layouts.

Key capabilities include:

  • Functional architecture based on The Elm Architecture pattern with Model, Update, and View methods
  • High-performance cell-based renderer with built-in color downsampling for optimal terminal display
  • Rich input handling including native keyboard and mouse support with high-fidelity event detection
  • Declarative views that automatically manage redrawing and UI updates
  • Native clipboard support for seamless copy-paste operations
  • Production-ready with performance optimizations and stability for real-world applications

Bubble Tea is well-suited for developers who want to build stateful, interactive terminal experiences without managing complex redrawing logic. The framework handles rendering automatically, letting you focus on application logic. It pairs perfectly with Bubbles, a companion library providing pre-built UI components like text inputs, lists, and tables.

The framework uses Go's type system and functional paradigms to create maintainable, testable terminal applications. Whether you're building CLI tools, dashboards, or interactive utilities, Bubble Tea provides the structure and performance needed for professional terminal applications.

Features

Async I/OScriptableTrue color

Media

Pros

5
  • High-performance cell-based renderer
  • Rich UI components via Bubbles library
  • Declarative views
  • High-fidelity keyboard and mouse handling
  • Native clipboard support

Related tools

Share:

Auto-fetched .

Recent releases

Similar to bubbletea

Favicon

 

  
 
Favicon

 

  
 
Favicon