CSS

Bubble Tea – framework for building terminal applications

Bubble Tea is a framework for developing interactive terminal applications based on the Elm Architecture. Its programming model separates application state, event processing and presentation, allowing developers to concentrate on application behaviour rather than managing terminal input and output directly.

An application defines a model representing its state, an initialization method, an update method that processes incoming messages, and a view method that produces the interface. Commands perform operations such as network requests and filesystem access asynchronously, returning results to the application’s event loop. Bubble Tea can be combined with Bubbles for reusable interface components and Lip Gloss for styling.

This is free and open source software.

Key Features

  • Supports inline terminal interfaces and full-screen applications using the alternate screen buffer.
  • Cell-based renderer that minimizes unnecessary terminal updates.
  • Declarative control of terminal modes through the application view.
  • Enhanced keyboard handling with key disambiguation and key release events in compatible terminals.
  • Mouse click, release, scrolling and motion events.
  • Bracketed paste and dedicated paste events.
  • Terminal focus and resize notifications.
  • Automatic colour capability detection and colour downsampling.
  • Clipboard interaction through compatible terminal protocols.
  • Configurable cursor appearance and positioning.
  • Concurrent and sequential command execution.
  • Temporary suspension of terminal applications for running external interactive programs.

Website: github.com/charmbracelet/bubbletea
Support:
Developer: Charmbracelet, Inc
License: MIT License

Bubble Tea in action

Bubble Tea is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

Go TUI Frameworks
termuiGolang terminal dashboard
Bubble TeaFun, functional and stateful way to build terminal apps
tviewTerminal UI library with rich, interactive widgets
gocuiMinimalist Go package aimed at creating Console User Interfaces.
TcellLow-level Go package for portable terminal screen handling and input
PTermGo library for styled output, progress displays, and interactive prompts
Huh?Go library for elegant, accessible interactive forms and prompts
CobraLibrary for creating powerful modern CLI applications
BubblesReusable components for composing polished Bubble Tea applications
go-tuiDeclarative toolkit for building interactive terminal applications
cviewTerminal-based user interface toolkit (fork of tview)
gotuiModern Go library for creating rich interactive terminal interfaces
PhoenixHigh-performance toolkit for building responsive terminal interfaces
Lip GlossStyle definitions for nice terminal layouts

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted