tui-rs
DISCONTINUED
crossterm
Our great sponsors
tui-rs | crossterm | |
---|---|---|
68 | 28 | |
10,829 | 2,926 | |
- | 3.2% | |
4.7 | 7.1 | |
8 months ago | 4 days ago | |
Rust | Rust | |
MIT License | MIT License |
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.
tui-rs
-
Trippy – A Network Diagnostic Tool
The TUI is built with the awesome Ratatui [0] library (formerly tui-rs [1]). UX is certainly not my area of expertise and I would not have been able to create Trippy without this library.
-
Projectable: A TUI file manager built for projects
Rust has great libraries for TUIs. tui-rs (https://github.com/fdehau/tui-rs) has been used in numerous popular applications, but is unmaintained. ratatui (https://github.com/tui-rs-revival/ratatui) is the maintained version, and is pretty new. Less widely known is cursive (https://github.com/gyscos/cursive), which I have yet to try.
Aside from the libraries, I just wanted to start a project that would make be better at Rust. The easy distribution with cargo is a huge bonus though.
- ratatui 0.21.0 is released! (community fork of tui-rs)
-
Looking for advice around project direction using artix-web
CLI, use Clap. If you want to get fancy, use Tui.
-
[Media] Introducing Trippy: A Network Diagnostic Tool
u/lordnacho666 It uses the fabulous https://github.com/fdehau/tui-rs (now revived as https://github.com/tui-rs-revival/ratatui) TUI lib.
-
Introducing TUI-Journal: Your Personal Journal/Notes App for Terminal Enthusiasts
This app is based on the these two crate in rust (tui-rs , tui-textarea). The text area provide the Emacs motions and I integrated the vim motions there, but the editor in this app as much simpler than the huge VIM and Emacs systems
If you interested in the TUI apps in rust you can start with the crate tui-rs or its revival ratatui. They have examples inside of them which you can start and see the source code to get the basic functionalities. For the text editor you can check examples in the crate tui-textarea.
-
Ink: React for interactive command-line apps
For Golang there is Bubbletea [1], Textual [2] for Python and tui-rs for Rust [3].
[1] https://github.com/charmbracelet/bubbletea
- [Rust] Si vous voulez relancer la caisse `` Tui`, rejoignez-nous!
-
ratatui 0.20.0 is released! (actively maintained tui-rs fork)
A month ago, we have announced that we were working on reviving the tui crate since the original maintainer had expressed that he couldn't find time to continue development. Since then, we have been working on merging the PRs from the original repository and overall improving the codebase/documentation. We also decided on a new name (ratatui) and a logo for the organization.
crossterm
-
Question: In your experience, is Helix always more snappy/responsive than Neovim?
I have this feeling with all rust apps using crossterm crate as their backend like GitUI for example
-
[2022 Day 14 (Part 1/2) [Rust] Made a small toy
Made a small toy using crossterm that simulates the falling sand using the rules laid out by day 14. Bit late to the party but was pretty fun. The moment I saw the prompt I was fully intent on making some sort of visualization for this after getting the solution.
-
How difficult is ncurses?
There are plenty of terminal UI libraries that are actually nice to work with. For Python, there's Textual and PyTermGUI. For Rust, there's ratatui and Cursive (or, if you want something a bit lower level, crosster or termion). For Go, there's bubbletea.
-
AMDGPU_TOP v0.1.2 - switch to crossterm-backend, add simple fdinfo viewer
Switching the backend of Cursive to crossterm removed dependence on ncurses
-
termion development status?
Just wondering if anyone has any insight into the current development and maintenance of termion? It currently has 67 issues and 24 merge requests and no code activity has happened since Sep 27 2021, so nothing in over a year. I am of course grateful for the existing project, but just somewhat concerned that it ends up being abandoned or forgotten seeing as it is one of the premiere tui libraries written purely in Rust (other being crossterm).
-
I made a terminal-based flashcard app - with incremental reading!
I might make a gui frontend in the future, but for now i'll focus on the terminal. The terminal doesn't mean it doesnt support mac or windows though, they have terminals too! And the library used for accepting key-input is crossterm which supports windows!
-
[Media] I made a Rust CLI game that tests how fast you can guess the language of a code block!
I used crossterm. Really love the simplicity of the API, definitely fit my purposes well.
-
How difficult could it be to make a console program that looks like this and has a game loop running on a separate thread? Any suggestions or crate recommendations are welcome!
For the terminal part you could use https://crates.io/crates/crossterm
-
Mazter, a terminal maze game whose simple code may be of interest (terminal events, rendering, A*, maze generator, achievements database, etc.)
Mazter uses crossterm for terminal events and rendering. It's an excellent cross-platform library: https://github.com/crossterm-rs/crossterm
-
Sharing Saturday #421
This week I discovered tildegit. I thought it was such a cool concept that I decided to open a repo for hosting this project's source code (https://tildegit.org/mscott9437/cataclysm_engine). I tried to explain it the best I could in the README, but admittedly it's going to be a little bit confusing right now, since I'm still working out all the low-level functionalities. Basically this project is going to be in Rust, but right now the only source code on the repo is in C. The reasoning is that I'm writing a basic model for the engine in C, which will be directly ported to Rust. Once I have the model worked out to my satisfaction, I plan to switch the main development over to Rust exclusively. By leveraging the Crossterm library (https://crates.io/crates/crossterm) , I will be able to add features which are not practical in pure C, such as cross-platform support as well as asynchronous event streaming. It might sound like a lot of extra unnecessary work, but I strongly feel that this strategy will pay off in the long run, since I will have a better foundation to build on.
What are some alternatives?
Termion - Mirror of https://gitlab.redox-os.org/redox-os/termion
Cursive - A Text User Interface library for the Rust programming language
pancurses - A Rust curses library, supports Unix platforms and Windows
monkeytype - The most customizable typing website with a minimalistic design and a ton of features. Test yourself in various modes, track your progress and improve your speed.
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.
fast-ssh - ⌨️ FastSSH is a TUI that allows you to quickly connect to your services by navigating through your SSH config.
fui - Add CLI & form interface to your program. Docs: https://docs.rs/fui
Ink - 🌈 React for interactive command-line apps
bearlibterminal - BearLibTerminal FFI for Rust