Open-Source Wikis

/

Bubble Tea

/

Reference

/

Dependencies

charmbracelet/bubbletea

Dependencies

go.mod for the library:

Direct

Module Version Purpose
github.com/charmbracelet/colorprofile v0.4.3 Detects and downsamples terminal color profile.
github.com/charmbracelet/ultraviolet v0.0.0-20260416…489999b90468 Low-level escape parser, cell buffer, terminal renderer, event types.
github.com/charmbracelet/x/ansi v0.11.7 ANSI escape constants and helpers.
github.com/charmbracelet/x/exp/golden v0.0.0-20241212…ad4b7ae0f25f Golden-file test helpers.
github.com/charmbracelet/x/term v0.2.2 Cross-platform raw mode + terminal size.
github.com/lucasb-eyer/go-colorful v1.4.0 Used by the renderer to convert image/color.Color to hex.
github.com/muesli/cancelreader v0.2.2 Cancellable stdin reader.
golang.org/x/sys v0.43.0 Syscall wrappers, especially Windows console handling.

Indirect

Module Notes
github.com/aymanbagabas/go-udiff text diffing used by ultraviolet.
github.com/charmbracelet/x/termios termios constants.
github.com/charmbracelet/x/windows Windows console syscalls.
github.com/clipperhouse/displaywidth grapheme width calculations.
github.com/clipperhouse/uax29/v2 Unicode segmentation.
github.com/mattn/go-runewidth rune width.
github.com/rivo/uniseg grapheme cluster handling.
github.com/xo/terminfo terminfo lookups (used by colorprofile detection).
golang.org/x/sync sync primitives used by ultraviolet.

Examples and tutorials

The examples/ and tutorials/ modules pull in additional packages — most importantly charm.land/bubbles/v2, charm.land/lipgloss/v2, and various charm.land/x/* packages — but those do not affect the library's dependency graph.

Update cadence

  • Dependabot opens a single weekly grouped PR (chore(deps): bump … in the all group) that bumps minor and patch versions for every dependency.
  • The ultraviolet indirect dependency is bumped manually whenever a fix is needed; commit messages follow chore: bump ultraviolet to <pseudo-version> (visible all over git log).
  • Major version bumps go through a regular review.

License

All direct dependencies are MIT licensed except where noted in their respective repos. The Bubble Tea library itself is MIT (LICENSE).

Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.

Dependencies – Bubble Tea wiki | Factory