bubbletea
Version, currently 2.0.63 versions
- 2.0.8latestJul 27, 2026
- 2.0.6not indexedJul 27, 2026
- 2.0.1not indexedJul 27, 2026
github.com/dsisnero/bubbletea.cr
Terminal library - port of golang bubbletea
Nothing has been indexed for 2.0.6 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
bubbletea:
github: dsisnero/bubbletea.cr
version: ~> 2.0.6Then run:
shards installshard.yml
No shard.yml has been indexed for 2.0.6. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
Bubble Tea is a refreshing drink with layers of flavor; this framework layers terminal UI components into elegant applications. Just as bubble tea combines tea, milk, and tapioca pearls into a harmonious drink, this framework combines models, updates, and views into cohesive terminal interfaces.
Quick Start
-
Add to your
shard.yml:dependencies: bubbletea: github: dsisnero/bubbletea -
Install:
shards install -
Use in your code:
require "bubbletea" # See bubbletea-examples/ for ported examples
Features
- Elm Architecture: Model-Update-View pattern for terminal UIs
- Exact Go parity: Direct port maintaining identical behavior
- Command system: Side effects wrapped in
Cmdobjects - Event handling: Keyboard, mouse, and custom events
- Terminal rendering: Efficient screen updates and cursor management
Development
make install # Install dependencies
make test # Run specs
make format # Format Crystal code
make lint # Run Crystal linter
rumdl fmt docs/ *.md # Format markdown documentation
See Development Guide for full setup instructions.
Documentation
| Document | Purpose |
|---|---|
| Architecture | System design and data flow |
| Development | Setup and daily workflow |
| Coding Guidelines | Code style and conventions |
| Testing | Test commands and patterns |
| PR Workflow | Commits, PRs, and review process |
| Porting Parity | Upstream source tracking |
| Upgrade Guide v2 | Migration from v1 to v2 |
Contributing
- Create an issue:
/forge-create-issue - Implement:
/forge-implement-issue <number> - Self-review:
/forge-reflect-pr - Address feedback:
/forge-address-pr-feedback - Update changelog:
/forge-update-changelog
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
2.0.6- Tagged
- Jul 27, 2026
- Commit
5935ec1e5c4d- Indexed
- not yet
Dependents
Repository
github.com/dsisnero/bubbletea.cr
Metadata
- Created
- Aug 19, 2026
- Updated
- Sep 17, 2026
- Synced
- Sep 17, 2026
- Versions
- 3