bubbletea
by charmbracelet
Bubble Tea is a Go framework for building terminal applications, using a model, update and view structure taken from The Elm Architecture. It is for developers who want to create interactive command-line tools with keyboard and mouse support.
- Stars
- 45.5k +5 a day
- Licence
- MIT
- Runs on
- Your computer
- Setup
- Moderate
- Language
- Go
- Age
- 2481 days
What you can do with it
- Build interactive terminal apps such as to-do lists, dashboards or setup wizards in Go
- Handle keyboard, mouse and clipboard input in a command-line program
- Create inline or full-window terminal interfaces with automatic screen redrawing
Make money with it
A freelance Go developer could build bespoke terminal tools for clients, or sell a command-line utility aimed at developers.
An idea, not financial advice. Check the licence before charging for anything built on it.
Ways a business could use it
- Build a custom internal command-line tool, such as a deployment or admin menu, so staff need less training
- Offer a polished terminal tool to developer customers as a paid product or client project
Can you use it commercially?
Free to use, change and sell, including in paid products. Keep the copyright notice.
Not legal advice. Read the project's licence file before building a product on it.
Getting it running
You add it to a Go project as a module (import charm.land/bubbletea/v2 and run go mod tidy), so you need to know Go.
Follow the official instructions in the project README.
Things to check
- Requires working knowledge of Go
- Version 2 changes the API from version 1, so older tutorials and code need migrating
Checked 27 Oct 2026. Summary drafted by AI from the project's README.