mrkeyoor.comAsk

charmbracelet/bubbleteatested 23 Nov 2026commit 585149e

bubbletea review

Our source build passed in 14 seconds.

  • Install 21 s
  • README snippet failed
1/1tests passed
  • 645.7 MB on disk
  • 20 dependencies
Dev Toolsevaluationupdated 23 Nov 2026
+65stars / 7d

Bubble Tea is Charm's Go framework for building interactive terminal applications. Application state lives in a model, Update handles events, and View describes the interface.

Verdict

Our source build passed in 14 seconds. Choose Bubble Tea for a custom Go terminal application when explicit state and event handling fit the work and your team can own its terminal behavior. Skip it if dependable native bitmap display across terminals is a requirement: image support request #163 remains open in the checked history.

bubbletea infographic: build interactive terminal applications in Go, plus our test result and who it suits
Tested 23 November 2026: the README snippet failed with "hxsnip/main.go:11:5". Before that: 1 of 1 source tests passed; go install took 21 s.

We ran it

Lab card: what happened when we ran bubbletea
Lab card from our sandbox run
Screenshot of bubbletea (github.com/charmbracelet/bubbletea)
github.com/charmbracelet/bubbletea
Install✓ · 17s21 packages
Build✓ · 14s
Tests✓ · 7s1 passed · 0 failed of 1 (go test)
Repo240 files~17,648 lines of source · 3.1 MB · 7 CI workflows

Answers from our run

Does bubbletea build from source?

Dependencies installed in 17 seconds (21 packages), and the build succeeded in 14 seconds. We cloned commit 585149e into a clean Debian container with 3 CPUs and no project-specific setup.

Do bubbletea's tests pass?

Yes. The project's own test command finished in 7 seconds and reported 1 passed, 0 failed (go test).

Who should not use bubbletea?

Applications requiring dependable native bitmap display across terminals: image support request #163 remains open in the checked issue history.

What are the alternatives to bubbletea?

tview, tcell, Textual. Our source build passed in 14 seconds.

Setup3/5In our 2026-11-23 run it installed in 21 s, but the README’s “Enough! Let's get to it” example failed as written with “# hx.local/snippet/hxsnip”.Editor’s note: The source steps passed, but the separate tutorial task stopped before exercising a complete interactive program.
Docs2/5The 8,817-character README has no install instructions, and its example failed as written in our 2026-11-23 run.Editor’s note: The README explains the model and debugging workflow; the recorded task did not execute its complete tutorial.
Community5/5Last push on 2026-11-22, 45,843 stars and maintainers answered or closed 10 of the 10 most-discussed issues we sampled.Editor’s note: Named implementations and attributed reports describe concrete uses without measuring support responsiveness or adoption scale.
Maturity5/5Latest release v2.1.2 on 2026-11-18, repository created 2020-01-10 and its test suite passed in our sandbox (1 of 1 passed).Editor’s note: Checks passed at one source commit, while the terminal reports do not supply a release compatibility matrix.

How we score

Discussed on

  1. hnBubble Tea: fun, functional and stateful way to build terminal apps308 points
  2. hnBubbletea: A fun, functional and stateful Go framework to build terminal apps9 points
  3. hnCharmbracelet/bubbletea: A powerful little TUI framework4 points
  4. hnA fun, functional and stateful way to build terminal apps4 points
  5. hnBubble Tea3 points

Who it’s for

Go developers building interactive selection screens, dashboards or internal operator tools.
Teams whose operators already authenticate and work in a terminal, as in the reported AWS maintenance tool.
Developers who want explicit state and event handling alongside Bubbles components and Lip Gloss styling.

Who it’s NOT for

Applications requiring dependable native bitmap display across terminals: image support request #163 remains open in the checked issue history.
Teams whose commands and flags already cover the task: an interactive screen adds application behavior to maintain.
Legacy Cygwin deployments expecting migration without custom input work: the reporter in #1572 still needed a custom reader.

Setup reality

Our November 23, 2026 source run at commit 585149e installed in 17 seconds with 21 dependencies recorded, built in 14 seconds and completed tests in 7 seconds. The go test summary reported 1 passed, 0 failed of 1. The sandbox configuration listed 3 CPUs, 8 GB RAM and golang:1.24-bookworm.

A separate tutorial attempt installed charm.land/bubbletea/v2 v2.1.2 in a fresh unprivileged container with 2 CPUs, 4 GB RAM, no secrets and no published ports. Its opening import block failed with unused fmt, os and tea imports. The README explicitly warns that those imports are used later in the tutorial.

Bubble Tea occupies terminal input and output. The README recommends headless dlv and file logging; participant nojaf in issue #1167 reports different input behavior in Windows Terminal and VS Code's terminal.

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.

Alternatives

ProjectWhat it isPick it when
tviewA higher-level Go terminal interface library in Inngest's comparison.Choose it when a high-level interface library is a better starting point than Bubble Tea's model and message design.
tcellA lower-level terminal library that Inngest describes as flexible, with more drawing work.Choose it when you want direct control over drawing and accept implementing more of the interface yourself.
TextualA Python option recommended in the discussion about Bubble Tea equivalents.Choose it as a candidate when the application needs to stay in Python.

Sources

  1. Bubble Tea README
  2. Inngest: interactive CLIs
  3. Internal administration report
  4. Windows input report
  5. Historical resize artifacts report
  6. Older-module Go package documentation

More dev tools reviews