edma
tui-prompts
edma | tui-prompts | |
---|---|---|
1 | 2 | |
151 | 39 | |
- | - | |
10.0 | 8.2 | |
8 months ago | 18 days ago | |
Rust | Rust | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
edma
-
Ratatui
I think a lot of Ratatui apps will tend to land on similar concepts for your app. There's a few good examples of apps using a component approach rather than just widgets that I'm aware of:
- https://github.com/sxyazi/yazi
- https://github.com/TaKO8Ki/gobang
- https://github.com/nomadiz/edma
Perhaps the intuitive crate would make a good abstraction on top of Ratatui?
tui-prompts
-
Ratatui
There are apps that are built on ratatui that support mouse already including an example in the repo[1], and crates (and some internal changes to the buffer) to support iterm/kitty/sixel based images.[2]
[1]: https://github.com/ratatui-org/ratatui/tree/main/examples#cu...
[2]: https://crates.io/crates/ratatui-image
Compared to TurboVision, Ratatui has a lot of missing things:
- Containers
- Dialog types (I'm working on this in https://github.com/joshka/tui-prompts)
- Higher order combinations of widgets (e.g. combine the scrollbar and paragraph)
- Menus
- Any event system (apps bring their own - we just handle display)
- etc.
- There's lots of things in TV that are provided as external crates (like editors, treeview, etc.)
The main thing is that Ratatui is at least right now, just the display side of things. Things to do with events or application shell aren't built-in. This somewhat stems from the immediate vs retained mode approach to the library, but this may change in the future.
-
Prompts – Lightweight, beautiful and user-friendly interactive prompts
+1 I want something that looks pretty similar for Ratatui. https://github.com/joshka/tui-prompts is a start.
What are some alternatives?
yazi - 💥 Blazing fast terminal file manager written in Rust, based on async I/O.
prompts - ❯ Lightweight, beautiful and user-friendly interactive prompts
glicol-cli - glicol cli: cross-platform music live coding in terminal
gobang - A cross-platform TUI database management tool written in Rust
ratatui - Rust library that's all about cooking up terminal user interfaces (TUIs) 👨🍳🐀
textual-web - Run TUIs and terminals in your browser
napali - Optimization as a service TUI