An open API service indexing awesome lists of open source software.

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

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)