https://github.com/metafates/bento
🍱 Go framework for building TUI apps. Based on ratatui and bubbletea
https://github.com/metafates/bento
cli elm-architecture framework go tui
Last synced: 5 months ago
JSON representation
🍱 Go framework for building TUI apps. Based on ratatui and bubbletea
- Host: GitHub
- URL: https://github.com/metafates/bento
- Owner: metafates
- License: mit
- Created: 2025-01-03T13:27:29.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-01-15T22:34:26.000Z (5 months ago)
- Last Synced: 2025-01-15T22:37:21.022Z (5 months ago)
- Topics: cli, elm-architecture, framework, go, tui
- Language: Go
- Homepage:
- Size: 238 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🍱 Bento
> Work in progress
Bento is a Go framework for cooking up terminal user interfaces (TUIs). It provides a simple and flexible way to create text-based user interfaces in the terminal, which can be used for command-line applications, dashboards, and other interactive console programs.
It's a mix of Rust's [ratatui](https://ratatui.rs) library and Go's [bubbletea](https://github.com/charmbracelet/bubbletea)
Bento provides efficient and complex layout functionality from ratatui (widgets, buffers, cassowary constraint solving algorithm)
and functional design paradigms of [The Elm Architecture](https://guide.elm-lang.org/architecture/) as seen in bubbletea.This library is mostly full Go rewrite of [ratatui-core](https://github.com/ratatui/ratatui/tree/main/ratatui-core) crate with some parts copied from bubbletea runtime.
No demo yet, but you can take a look at [examples](./examples) for now
> It's named bento after how similar some bento boxes look like compared to the typical TUIs (multiple blocks of different sizes side by side)