github.com/charmbracelet/bubbletea

bubbletea

Package tea provides a framework for building rich terminal user interfaces based on the paradigms of The Elm Architecture.

95

Decision Signals

Health score 95/100, confidence 100/100.

Excellent
Maintenance 95
Adoption 100
Security 92
Maturity 94
Developer DX 91
Confidence 100

Install

go get github.com/charmbracelet/bubbletea

Package Data

updated May 28, 2026
Latest versionv1.3.10
Imported by11.7K packages
Stars42.7K
Forks1.2K
Last activity9 days ago
Latest releasev2.0.6 (1 months ago)
LicenseMIT
Known vuln records0

API Surface

244 symbols
SymbolKindSynopsis
BatchMsg Type type BatchMsg []Cmd
BlurMsg Type type BlurMsg struct{}
Cmd Type type Cmd func() Msg
Batch Function func Batch(cmds ...Cmd) Cmd
Every Function func Every(duration time.Duration, fn func(time.Time) Msg) Cmd
Exec Function func Exec(c ExecCommand, fn ExecCallback) Cmd
ExecProcess Function func ExecProcess(c *exec.Cmd, fn ExecCallback) Cmd
Printf Function func Printf(template string, args ...interface{}) Cmd
Println Function func Println(args ...interface{}) Cmd
ScrollDown Function func ScrollDown(newLines []string, topBoundary, bottomBoundary int) Cmd
ScrollUp Function func ScrollUp(newLines []string, topBoundary, bottomBoundary int) Cmd
Sequence Function func Sequence(cmds ...Cmd) Cmd

Similar Packages

Go Terminal UI Libraries

#1 fx

Terminal JSON viewer & processor

Go Terminal UI Libraries 20.5K stars 0 imported-by 100% confidence
93

#2 dive

A tool for exploring each layer in a docker image

Go Terminal UI Libraries 54.0K stars 0 imported-by 95% confidence
86

#3 spinner

Go (golang) package with 90 configurable terminal spinner/progress indicators.

Go Terminal UI Libraries 2.5K stars 2.0K imported-by 65% confidence
78

#4 mac-cleanup-go

Preview-first TUI for cleaning macOS caches, logs, and temporary files.

Go Terminal UI Libraries 0 stars 0 imported-by 80% confidence
59

#5 tuigo

Go Terminal UI Libraries 0 stars 4 imported-by 75% confidence
56