Cursive
modern-unix
Our great sponsors
Cursive | modern-unix | |
---|---|---|
22 | 55 | |
4,097 | 29,689 | |
- | - | |
7.5 | 0.0 | |
13 days ago | about 2 months ago | |
Rust | ||
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.
Cursive
-
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.
- cursive: A Text User Interface library for the Rust programming language
-
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
-
Appreciation post
I'd hear of TUIs so I just searched for tui libraries in Rust and Cursive seemed like a good choice and it turned out great!
-
Sharing Saturday #455
This weekend I started porting my game to a different UI library (egui) as a way of familiarizing myself with egui. I don't think I'll have something useable to build off of before this year's 7DRL challenge so I guess I'll be reusing my existing UI code (using cursive). But, once I finish porting the UI it should be a lot easier to add fancy stuff like animations, tooltips, and graphical tiles since I won't be tied to constraints of a terminal UI.
-
CLIs and TUIs packages
Cursive should let you easily build a layout with a menu and status bars (and mouse works).
-
Dwarf Fortress – randomly generated, persistent fantasy world
The thing that gets me about Dwarf Fortress is that it's a 64-bit text-mode game.
As a grey-haired developer who got excited about "DOS Extenders" that allowed 32-bit mode, seeing a text-mode game written as a native 64-bit application is bizarrely anachronistic.
I get a similar feeling from text-mode GUI frameworks for Rust, which allow multi-threading and 64-bit but are essentially clones of Borland Turbo Vision, where you had to be mindful to keep lists smaller than 64KB: https://github.com/gyscos/cursive
-
How to maintain app state in an app using Cursive
Maybe this helps?
-
Rust TUI libraries
cursive
modern-unix
-
Ask HN: Which tools are worth the time?
- Learning "modern" tools like ripgrep and fzf (There's a list here: https://github.com/ibraheemdev/modern-unix)
- Modern-Unix: collection of modern/faster/saner options to common Unix commands
-
Koji projekat na Githubu vas je odusevio u zadnje vreme?
Nedavno mi je dobro dosla ova kolekcija toolova za unix https://github.com/ibraheemdev/modern-unix
-
My 2023 Terminal, Shell and Command-Line Toolbox
A lot of the tools in the post build on top of standard unix tools and are like for like (better) replacements. Many of them have been pulled from the Modern Unix repo on Github.
-
TIL you can do `cat -n file` to easily see line numbers when looking at a file
Plug to modern unix, a collection of utilities that modernize "standard" nix utilities (combination of faster, prettier, easier to use, as well as sensible defaults like highlighting and line numbers when not piped).
-
What are some things you can do in the terminal for entertainment?
I google something like "Modern Unix", open blogs, and try to find a "life-changing" tool that I haven't tried yet. Then I spend 1 day reading man how to apply this unreal tool to my current work environment setup. Ultimately, I'm sad because I wasted 1 day, but the process is fun enough to do it again tomorrow. This is like distro-hopping but tool-hopping. Now I have fzf, bat, helix, zoxide etc, but that's just the beginning of my tool-hopping :)
-
erdtree: A modern, multi-threaded, and ️🌈aesthetic️🌈 alternative to tree and du - v1.7.0 release ️
While this is not at all comprehensive of all the cool tools out there, there's this list which has a lot of modern alternatives to all of the modern Unix commands we know and love, most of which are written in Rust.
-
Introducing rewriteit.net - A collection of software rewritten in Rust
You might want to take some inspiration from https://github.com/ibraheemdev/modern-unix too! Neat website
-
LeanCreator - a lean, cross-platform, single file IDE for C/C++
Yeah, fine, since Go and Rust it is common to have this "one file app" that you put in $PATH and call it a day. Now, how many of those are not a single CLI utility (e.g. a replacement for top/ls/du or other UNIX utility), and are full blown GUI app? Not so many. None that I can think of from the top of my head, actually.
-
https://asciinema.org/a/e2E1x0QilIvOgSy2N4dKSWwJ8
The UDM Pro looks nicer with modern Unix tools! Commit adding the tools (leveraging UniFi OS Utilities): GitHub commit adding the tools.
What are some alternatives?
tui-rs - Build terminal user interfaces and dashboards using Rust
mcfly - Fly through your shell history. Great Scott!
Termion - Mirror of https://gitlab.redox-os.org/redox-os/termion
gdu - Fast disk usage analyzer with console interface written in Go
ncurses-rs - A low-level ncurses wrapper for Rust
bat - A cat(1) clone with wings.
rustbox - Rust implementation of the termbox library
awesome-alternatives-in-rust - A curated list of replacements for existing software written in Rust
rust-sciter - Rust bindings for Sciter
nnn - n³ The unorthodox terminal file manager
conrod - An easy-to-use, 2D GUI library written entirely in Rust.
coreutils - Cross-platform Rust rewrite of the GNU coreutils