In our run, Bubble Tea installed in 17 seconds and built in 14 seconds. Choose it for a Go terminal application with changing state, background work and interaction beyond a sequence of flags. Teams requiring dependable native bitmap display across terminals should choose another route: image support request #163 remains open in the checked history. That distinction separates a suitable application model from a particular graphics requirement.
Bubble Tea is Charm's Go framework for terminal user interfaces, or TUIs. Events change your model, and the model determines the screen. Bubbles supplies companion components, while Lip Gloss supplies styling and layout tools. A source build and a functioning operator application answer different questions. This review connects our recorded source steps with named implementations and terminal reports so a Go developer can decide where the framework fits.
What people use bubbletea for
Inngest built an event browser, an internal-tool author built maintenance screens, and a game developer built an orbital simulator with Bubble Tea. Each implementation gives the interface a specific job. The useful comparison is between those jobs: selecting a function trigger, acting inside an authenticated environment, or controlling a graphical simulation through the keyboard. Their authors describe the outcomes in the linked accounts.
- Inngest's event browser lets developers choose event triggers while scaffolding serverless functions. Inngest says it also retrieves schemas for custom events sent through its API.
- Reddit user existential-asthma's administration tool monitors changing service data and manages migrations. The author reports customer-issue resolution and routine maintenance, using AWS authentication through the terminal.
- Terminal Space Program author jasonfen77 reports completing an Apollo 11 style round trip. The author identifies drawille-go as the Braille Unicode renderer used for the graphics and rocket animations.
- Vladimir Dulenov's Cobra weather tutorial demonstrates adding a terminal interface to a CLI. Its weather API is fake, making it an integration demonstration with explicitly simulated data.
The administration example offers a practical reason to build a TUI: operators already authenticate in a shell and work inside a selected application environment. Inngest uses interaction at a different point, helping developers choose data before implementing a function. Terminal Space Program uses character graphics for a simulation. These examples suggest different application designs rather than a single menu pattern that every project should copy.
What happened when we ran it
Our harness installed Bubble Tea in 17 seconds, built it in 14 seconds and completed its test step in 7 seconds. We ran commit 585149e on November 23, 2026, with 3 CPUs, 8 GB of configured RAM and the image label golang:1.24-bookworm. The checkout contained 240 files, approximately 17,648 source lines and 3.1 MB. The test summary reported 1 passed, 0 failed of 1.
| Source-harness step | Recorded result | Meaning |
|---|---|---|
| Install | Succeeded in 17 seconds; 21 dependencies recorded | The dependency step completed. |
| Build | Succeeded in 14 seconds | The source build completed. |
| Tests | Succeeded in 7 seconds; go test: 1 passed, 0 failed of 1 | The parser reported one passing result. |
| Repository signals | 7 CI workflow files; no Dockerfile; no tests directory | These are repository-layout observations. |
The separate tutorial attempt used commit 585149e50e7c and a fresh unprivileged golang:1.24-bookworm container with 2 CPUs, 4 GB RAM, no published ports and no secrets. It selected the 12-line opening Go block under "Enough! Let's get to it." and ran it unedited. That task installed the module from the Go proxy rather than running the checked-out framework as an assembled tutorial application.
| Tutorial step | Recorded result | Interpretation |
|---|---|---|
| Clone | 1 second | The quickstart-lib recipe reached its checkout step. |
| Module installation | v2.1.2 installed in 20.9 seconds | The command was go get charm.land/bubbletea/v2@latest in a new module. |
| Installed size | 645.7 MB on disk | The recorded location was the module cache. |
| Dependencies | 20 packages besides charm.land/bubbletea/v2 | This count belongs to the separate module installation. |
| Opening snippet | Failed in 20.2 seconds with exit 1 | The compiler rejected unused imports. |
| Teardown | ok | The tutorial container was removed. |
The compiler reported unused fmt, os and charm.land/bubbletea/v2 imports. The README introduces that block as package declarations and imports, explicitly warns about unused imports at this stage, and supplies the model, methods and main function afterward. The recorded failure therefore belongs to running an intermediate tutorial block by itself. The README also links the complete, non-annotated tutorial source.
Where people get stuck: the terminal and debugger matter
Participant nojaf reports different input results in Windows Terminal and VS Code's terminal in issue #1167. The thread also distinguishes duplicate events from a missing first key. Those are separate behaviors with different explanations, so a report that one change helped should retain the terminal and event type involved. The table below preserves that detail alongside resize, fast-exit and debugger reports.
| Report | What the thread says | Reported route |
|---|---|---|
| Windows input, #1167 | A missing first key persists in VS Code's terminal. | Participant nojaf reports that the fix works in Windows Terminal and cmd.exe, but not VS Code's terminal. |
| Historical resize artifacts, #573 | A background-filled view leaves artifacts after resizing. | Maintainer meowgorithm recommends manually clearing the screen on resize. |
| Very short programs, #1590 | Users report escape responses or garbage characters after fast exits. | Users describe fork patches and redirecting stdout, with mixed results. |
| VS Code debugger tutorial | The default launch configuration produces open /dev/tty: device not configured. |
Run dlv headlessly in a terminal and attach the IDE. |
The README's debugger example binds dlv to 127.0.0.1:43000, then connects from another terminal. That arrangement leaves a terminal available to the application. The README also demonstrates file logging because the interface occupies stdout. Successive prompts, a fast operation and restarting the interface are useful application acceptance cases drawn from the issue histories, rather than interchangeable descriptions of one Windows problem.
A v2 migration changes input handling and rendering assumptions
A maintainer in issue #1572 describes v2's cell-based renderer and explains that output written outside Bubble Tea can misalign the display. The original report concerned terminal-detection sequences emitted before main under an expect script. The maintainer says the new v2 packages solve that underlying limitation; the reporter's migration then exposes separate layout, color and custom-input problems in the same application.
For the reporter's Cygwin on Windows 7 setup, explicit window size restored output and an explicit color profile restored colors. The reporter also received input error: bubbletea: could not create cancelable reader: prepare console: set console mode: The parameter is incorrect. Using custom input was the reported workaround. This account concerns a named legacy environment and an application that deliberately manages raw input itself.
The experimental v2 discussion in issue #1167 separates KeyMsg, which includes releases, from KeyPressMsg, which handles presses. Participant nojaf confirms that switching to KeyPressMsg solved duplicate keys. The current README's shopping-list tutorial handles tea.KeyPressMsg too. When one keypress should trigger one action, the event type belongs in the migration review alongside changes to rendering and terminal ownership.
Large text and browser demos involve different components
Issue #831 reports progressively slower pasting into a Bubbles textarea on Ubuntu with zsh and Terminator. The author describes characters appearing one by one as a large paste arrives. Contributors investigate text wrapping and width calculations, and maintainers report merging textarea memoization and changing Bubbles text input and textarea calculations to uniseg. Those are named component changes that give a developer concrete code paths to inspect.
The textarea discussion concerns a widget and its text-processing dependencies. A dashboard that mostly changes selections and a screen accepting long pasted certificates exercise different paths. For a text-heavy interface, the issue suggests including long lines and the characters users actually enter in application checks. It also explains why a framework build time and textarea responsiveness belong in separate parts of an evaluation.
In TinyGo issue #1698, contributor neomantra describes browser demonstrations built with vanilla TinyGo in a GitHub Action, an nm-wasm Bubble Tea branch and an upgraded Booba bridge. The contributor also names pending memory, stack and allocation work for Bubbles. Browser execution therefore has its own implementation route, involving the compiler, bridge and widgets rather than just the normal Go source build.
Terminal credentials remain your application's responsibility
The internal administration author says their team authenticates with AWS through the terminal and runs its TUI in each application environment. That workflow explains the attraction of a terminal interface for maintenance: the operator already has environment context and credentials. The author names administration, changing service data and migrations as tasks performed through the tool, making this a more specific example than an adoption logo.
A maintenance screen still needs application decisions about which environment appears, what permissions each action uses and when to ask for confirmation. The AWS-backed internal-tool account describes one team's arrangement. The README's file-logging example creates another concrete configuration decision: an application that writes credentials or customer data to its debug file needs a logging policy appropriate to that data.
Bubbletea vs tview, tcell, Cobra and Python options
Inngest chose Bubble Tea for its architecture, existing components and styling. Its comparison describes different levels of terminal interface code, while the Python discussion supplies candidates for developers staying in that language. These accounts support a choice about application structure and ecosystem. A conventional command can also launch an interactive step, as Inngest demonstrates with Cobra and its event browser.
| Choice | Attributed comparison | Pick it when |
|---|---|---|
| Bubble Tea | Inngest preferred its architecture, components and styling. | Your Go application benefits from explicit state and message handling. |
| tview | Inngest describes high-level interfaces with minimal code. | A higher-level Go interface library fits the job. |
| tcell | Inngest describes a flexible lower-level library where developers draw boxes. | Direct drawing control is worth additional interface code. |
| Cobra without a TUI | The internal-tool discussion includes a preference for Cobra when it is sufficient. | Commands and flags already express the task clearly. |
| Textual, pytermgui or Rich | Python commenters suggest these alternatives. | The application needs to stay in Python. |
Inngest's Cobra command launches its Bubble Tea event browser, preserving the command entry point while adding selection behavior. The internal-tool author gives a different reason for interaction: acting inside an existing authenticated terminal workflow. For users who already work that way, an interactive screen can sit inside the environment they know. The decision starts with the task and its operators, rather than the appearance of a demonstration.
Outdated claims, corrected: automatic redrawing
The README says Bubble Tea handles redrawing, while historical issue #573 records resize artifacts and a manual-clear workaround. The correction is to an absolute reading of that reassurance: describing a complete view does not make every terminal behavior disappear. The issue's example uses the older KeyMsg API, so its historical context belongs beside the reported behavior rather than being presented as a current release defect.
Maintainer meowgorithm recommends manually clearing the screen on resize in #573. The README's framework-level explanation and that historical workaround answer different questions: who normally handles rendering, and what one application needed when artifacts appeared. A second correction concerns the tutorial result. Its opening import block is intentionally incomplete, and the README warns about unused imports before adding the rest of the program.
FAQ
Bubble Tea is a Go framework based on the Elm Architecture, with application state in a model and events handled through Update. That is the software identified by the Go and TUI search questions answered here. The official README introduces the programming model through a shopping list and names Bubbles and Lip Gloss as companion libraries for components and presentation.
What is Bubble Tea in Go, and how does its Elm-inspired TUI architecture work?
The README defines a model and Init, Update and View methods. Init returns initial work, Update processes events and returns changed state, and View declares the interface from that state. Messages represent events such as keypresses, timer ticks or server responses. In the shopping-list example, pressing the down arrow changes the cursor stored in the model, and View uses that cursor to draw the selection marker.
Where is the official Bubble Tea GitHub repository?
The official repository is charmbracelet/bubbletea, and its current tutorial imports charm.land/bubbletea/v2. Its README links examples, the complete basics tutorial and an upgrade guide for v1 applications. Those identity details distinguish Charm's Go framework from other uses of the Bubble Tea name and help readers choose documentation for the module their application actually imports.
Which companies use Bubble Tea and Lip Gloss in production?
Inngest describes building its CLI event browser with Bubble Tea and choosing its styling ecosystem. The Bubble Tea README also lists industry projects, including AWS's eks-node-viewer and NVIDIA's container-canary. Inngest explains what its interface does: selecting event triggers and retrieving custom-event schemas during function scaffolding. That named implementation offers a more detailed account than the README's project list alone.
When should an internal tool use a terminal UI instead of a web frontend?
The internal-tool author uses a TUI where operators already authenticate with AWS through the terminal and work inside application environments. The author's account names administration, migration management and routine maintenance as tasks. For a similar team, that workflow is a concrete reason to consider terminal interaction. The application still needs a clear environment display and deliberate handling of maintenance actions.
Is there a Python library similar to Bubble Tea?
Commenters in an r/Python discussion suggest Textual, pytermgui and Rich to a developer asking for something similar to Bubble Tea. Those suggestions provide a Python shortlist. Bubble Tea itself targets Go, so a team choosing it also chooses Go for the interface code. The language requirement is the first useful distinction before comparing individual widgets or layout approaches.
How do I build Bubble Tea layouts using Lip Gloss?
The README names Lip Gloss as the companion for style, formatting and layout. Bubble Tea supplies the model and event loop while the application composes the content its view displays. In the pug layout discussion, a learner asks about layout construction and receives an explanation tied to the application's composition code. That example shows where framework structure ends and application-specific string placement begins.
How do I center text inside a terminal border?
Pug author leg100 describes calculating the center and joining border segments with the label in the border-layout discussion. The implementation uses JoinHorizontal; the author says strings.Join could also achieve that case. The learner reports getting close to the desired output and then working on the straight border line. This is an attributed implementation explanation rather than a new code sample.
How do I combine Bubble Tea with Cobra commands and flags?
Inngest launches its Bubble Tea event browser from a Cobra command. The Inngest walkthrough shows a command responsible for the CLI entry point and a handler responsible for launching the browser. Dulenov's weather demonstration offers another Cobra integration example. This arrangement lets a command retain its arguments and flags while adding an interactive selection step where the task benefits from one.
How do I debug a Bubble Tea application in VS Code?
Pomdtr's tutorial starts dlv headlessly in a terminal and attaches VS Code remotely to address the reported /dev/tty error. The debugging walkthrough also describes a preLaunchTask for starting the debugger. The current README gives a loopback-bound example using 127.0.0.1:43000, followed by a connection from another terminal, and recommends file logging because the TUI occupies stdout.
How do I pass CLI arguments when debugging Bubble Tea with headless dlv?
Kevin Miller's comment places -- after the debugger target, followed by the application's arguments. The comment's task configuration puts the separator in the argument list before the CLI arguments. This answers a specific problem encountered after the initial debugger setup: attaching successfully and passing arguments to the application are separate configuration steps, and the separator identifies where application arguments begin.
How do I send external events or background progress updates into a running Bubble Tea program?
Maintainer meowgorithm describes storing a channel in the model and receiving its activity in a command in historical issue #25. The channel discussion cites Glow's local-file discovery as an implementation using this approach. Coordinating receives with model state is the stated benefit. This explains the historical design without turning that account into a newly tested v2 integration example.
How do I launch Vim or another interactive subprocess and redraw the TUI afterward?
The older github.com/charmbracelet/bubbletea package documentation describes ExecProcess, added in v0.21.0, as pausing the program while an interactive subprocess runs and resuming afterward. The older-module documentation specifically names editors and shells. This answer identifies the API documented for that module namespace; the v2 integration boundary is recorded with the other outstanding checks in the next section.
What we have not tested yet
Our source run at commit 585149e and the failed partial tutorial attempt did not exercise a finished interactive application. The complete tutorial, Windows input, resize behavior, editor handoff, terminal restoration, native image protocols, a v1-to-v2 application migration and TinyGo browser execution remain outside our lab results. Historical issue #573's applicability to commit 585149e and v2.1.2 was not tested. The older-module ExecProcess documentation does not establish the corresponding v2 integration.
The harness's single passing parser result is not an exhaustive test-case inventory. The golang:1.24-bookworm image label records configuration; actual runtime and operating-system versions require raw toolchain logs. The 645.7 MB tutorial module cache is development storage rather than resident application memory. We have no independent application-level latency, paste-throughput or memory benchmark, no security audit result, and no version-by-terminal compatibility matrix from these runs.
Community reports describe their authors' experiences, while adoption lists carry no measured deployment scale or support commitment. Braille graphics in Terminal Space Program and native bitmap protocols are separate rendering techniques. GitHub metadata identifies v2.1.2, dated November 18, 2026; the passing source build identifies commit 585149e. The TinyGo account retains branch, bridge and pending component work. Rendered page layout, automatic related links and recommendation modules also sit outside this text review.
For a first application, the issue histories suggest starting with the hardest interaction before styling: open a second prompt, receive an external event, resize the view, hand off to an editor if needed, and exit. Record the application revision, terminal and shell with each result. Those details make a later report about missing keys or a damaged screen actionable, especially when colleagues use a different terminal emulator.


