← All repos

minttea

A fun little TUI framework for OCaml

climulticoreocamlterminalthe-elm-architecturetui
Browse cluster: Terminal & CLI Output Styling
92commits
15contributors
3languages

Tech stack & purpose

Mint Tea is a functional TUI framework for OCaml inspired by BubbleTea, built on Riot and using The Elm Architecture to create stateful terminal applications. The framework uses OCaml as its primary language and provides a model-view-update pattern where applications are composed of an initial state, an update function for handling events, and a view function for rendering the UI. The project includes companion libraries like Spices, a declarative styling library for TUI applications, and examples demonstrating common terminal UI patterns such as lists, text input, progress bars, and spinners.

Community & reference links

Languages

OCaml
93.7%
Nix
4.1%
Dune
2.2%

Contributors