Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Take a look at charm.sh bubbletea. #674

Open
mweitzel opened this issue Sep 9, 2024 · 1 comment
Open

Take a look at charm.sh bubbletea. #674

mweitzel opened this issue Sep 9, 2024 · 1 comment
Labels

Comments

@mweitzel
Copy link

mweitzel commented Sep 9, 2024

A few projects worth having awareness on:

  • 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.

@ilyash-b
Copy link
Contributor

Thanks! Will take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants