Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 1.29 KB

README.md

File metadata and controls

20 lines (11 loc) · 1.29 KB

🍱 Bento

Work in progress. Mascot is too =)

image

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 library and Go's bubbletea

Bento provides efficient and complex layout functionality from ratatui (widgets, buffers, cassowary constraint solving algorithm) and functional design paradigms of The Elm Architecture as seen in bubbletea.

This library is mostly full Go rewrite of ratatui-core crate with some parts copied from bubbletea runtime.

Demo is WIP, but you can take a look at 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)