bubbletea, an ambitious project, but composable as a single process and through golang interfaces
gum, cool because it is actually composeable in a classical unix way for CLI tooling, and a standalone binary
For bubbletea, it reflects a classic game engine api, relying on interface methods Update and View. There is a little bit of functional reactive style, where a re-render only is triggered if the view changes, but there are no real optimizations past that. And much more fine-grained timing or tuning either. Again, only composable within a single process which expects to own the entire tty, but definitely cool.
Also worth noting is charm's "lip gloss" which is akin to css, but for terminals.
A few projects worth having awareness on:
For bubbletea, it reflects a classic game engine api, relying on interface methods Update and View. There is a little bit of functional reactive style, where a re-render only is triggered if the view changes, but there are no real optimizations past that. And much more fine-grained timing or tuning either. Again, only composable within a single process which expects to own the entire tty, but definitely cool.
Also worth noting is charm's "lip gloss" which is akin to css, but for terminals.