small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo
albedo cli third_party bubbletea
38 files

clipboard.go
color.go
commands.go
cursed_renderer.go
cursor.go
environ.go
exec.go
focus.go
go.mod
go.sum
input.go
key.go
keyboard.go
LICENSE
logging.go
mod.go
mouse.go
nil_renderer.go
options.go
paste.go
profile.go
raw.go
README.md
renderer.go
screen.go
signals_unix.go
signals_windows.go
tea.go
termcap.go
termios_bsd.go
termios_other.go
termios_unix.go
termios_windows.go
tty_unix.go
tty_windows.go
tty.go
UPGRADE_GUIDE_V2.md
xterm.go
README.md
# Bubble Tea <p> <img src="https://github.com/user-attachments/assets/ad408275-8799-488f-9303-441e7f869535" width="350"><br> <a href="https://github.com/charmbracelet/bubbletea/releases"><img src="https://img.shields.io/github/release/charmbracelet/bubbletea.svg" alt="Latest Release"></a> <a href="https://pkg.go.dev/charm.land/bubbletea/v2?tab=doc"><img src="https://godoc.org/charm.land/bubbletea/v2?status.svg" alt="GoDoc"></a> <a href="https://github.com/charmbracelet/bubbletea/actions"><img src="https://github.com/charmbracelet/bubbletea/actions/workflows/build.yml/badge.svg?branch=main" alt="Build Status"></a> </p> The fun, functional and stateful way to build terminal apps. A Go framework based on [The Elm Architecture][elm]. Bubble Tea is well-suited for simple and complex terminal applications, either inline, full-window, or a mix of both. <p> <img src="https://stuff.charm.sh/bubbletea/bubbletea-example.gif" width="100%" alt="Bubble Tea Example"> </p> Bubble Tea is in use in production and includes a number of features and performance optimizations we’ve added along the way. Among those is a high-performance cell-based renderer, built-in color downsampling, declarative views, high-fidelity keyboard and mouse handling, native clipboard support, and more. To get started, see the tutorial below, the [examples][examples], the [docs][docs], and some common [resources](#libraries-we-use-with-bubble-tea). > [!TIP] > > Upgrading from v1? Check out the [upgrade guide](./UPGRADE_GUIDE_V2.md), or > point your LLM at it and let it go to town. ## By the way Be sure to check out [Bubbles][bubbles], a library of common UI components for Bubble Tea. <p> <a href="https://github.com/charmbracelet/bubbles"><img src="https://github.com/user-attachments/assets/b6dc4638-b67a-4bfa-88d0-a8e8833c3ac9" width="172" alt="Bubbles Badge"></a>&nbsp;&nbsp; <a href="https://github.com/charmbracelet/bubbles"><img src="https://stuff.charm.sh/bubbles-examples/textinput.gif" width="400" alt="Text Input Exam…