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 31, 2026
Latest versionv1.3.10
Imported by11.7K packages
Stars42.8K
Forks1.2K
Last activity12 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 80% confidence
89

#2 loom

Signal-based reactive components framework for building TUIs.

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

#3 spinner

Package spinner is a simple package to add a spinner / progress indicator to any terminal application.

Go Terminal UI Libraries 0 stars 2.0K imported-by 80% confidence
65

#4 dotlock

Encrypted .env vault manager with interactive TUI for managing secrets across multiple environments and profiles.

Go Terminal UI Libraries 0 stars 0 imported-by 60% confidence
58

#5 mac-cleanup-go

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

Go Terminal UI Libraries 0 stars 0 imported-by 60% confidence
54