What are your favorite rust-based tools and utilities for the CLI?

https://lemmy.ml/post/3677253

What are your favorite rust-based tools and utilities for the CLI? - Lemmy

Here are mine so far: alacritty bat bottom broot coreutils delta diskonaut du-dust exa fd-find feroxbuster lsd navi onefetch procs ripgrep rustscan starship t-rec tab xh xplr zellij zoxide

GitHub - GyulyVGC/sniffnet: Comfortably monitor your Internet traffic 🕵️‍♂️

Comfortably monitor your Internet traffic 🕵️‍♂️. Contribute to GyulyVGC/sniffnet development by creating an account on GitHub.

GitHub
GitHub - fish-shell/fish-shell: The user-friendly command line shell.

The user-friendly command line shell. Contribute to fish-shell/fish-shell development by creating an account on GitHub.

GitHub
Hm didn’t know fish was rust based, nice!
Thank-you for this. I have a Google Alert for rust cli but many of these have been missed.
I’ve been happily using Nushell for a long time: github.com/nushell/nushell
GitHub - nushell/nushell: A new type of shell

A new type of shell. Contribute to nushell/nushell development by creating an account on GitHub.

GitHub
It keeps introducing breaking changes so that I have to reset the config and re-add any custom configuration.

It’s not stable and therefore introduces breaking changes. They clearly mention this on their README.

This project has reached a minimum-viable-product level of quality. Many people use it as their daily driver, but it may be unstable for some commands. Nu’s design is subject to change as it matures.

Had a discussion about this with one of the Nushell contributors, I am conflicted about it. I think the idea of it is somewhat amazing but also somewhat horrendous. I think the concept of this is a step in the right direction in terms of evolving the shell into something better than the traditional shell with concepts from more modern shells, but still has a way to go before adoption is more widespread. My 2c.

I would have posted this it you hadn't.

I have it set as my default shell on my main machine, but it's not going anywhere near my servers! It's definitely the most fun shell I've used, and hopefully some more of the warts can be shaved off as it matures.

  • helix - text editor

  • mprocs - manage running multiple commands in parallel

  • cargo-update - A cargo subcommand for checking and applying updates to installed executables

  • cargo-info - Extends cargo to query crates.io registry for crates details

Helix

A post-modern modal text editor.

This one is good, I’ve tried it but didn’t feel comfortable switching 100% off vim. Added to the list!

From your list, I use bat, exa and rg.

delta (sometimes packaged as git-delta) deserves a mention. I use it with this git configuration:

[core] # --inspect-raw-lines=false fixes issue where some added lines appear in bold blue without green background # default minus-style is 'normal auto' pager = "delta --inspect-raw-lines=false --minus-style='syntax #400000' --plus-style='syntax #004000' --minus-emph-style='normal #a00000' --plus-emph-style='normal #00a000' --line-buffer-size=48 --max-line-distance=0.8" [interactive] diffFilter = "delta --inspect-raw-lines=false --color-only --minus-style='syntax #400000' --plus-style='syntax #004000' --minus-emph-style='normal #a00000' --plus-emph-style='normal #00a000' --line-buffer-size=48 --max-line-distance=0.8" [delta] navigate = true # use n and N to move between diff sections light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal) [merge] conflictstyle = diff3
GitHub - dandavison/delta: A syntax-highlighting pager for git, diff, grep, and blame output

A syntax-highlighting pager for git, diff, grep, and blame output - dandavison/delta

GitHub
You know what, when I started the list I had delta but when I searched for it I got a different tool that didn’t look right so I removed it, added this one back. Thanks for the added config!
Zellij (github.com/zellij-org/zellij) is nice as well. Closer to tmux than the tabs you listed.
GitHub - zellij-org/zellij: A terminal workspace with batteries included

A terminal workspace with batteries included. Contribute to zellij-org/zellij development by creating an account on GitHub.

GitHub

I really don’t care about them being in rust. Could we instead focus on something that rust aims to provide? Memory-bug-less? High quality? Performant? Dependency-free binary?

But my:

  • ripgrep
  • bupstash
  • helix

If there's not much in it, I'll go with the rust app because I like to use something I can see myself contributing to if the urge takes me.

I know other languages, but there's no way I'm driving into a random C++ codebase unless I'm confident it's a trivial fix.

I see these past come up a lot actually, and I’m familiar with a lot of the ones you mention. What is like to see is a list of GUI apps that improve productivity in the same way many of your favourites here do.

I haven’t seen a bunch of these posts before, any cross references to aide in tool discovery?

I have some Rusty GUI apps and will consider doing a list when I find more useful ones.

I’ve mostly seen them on Reddit, back when I was there. To be clear, I like seeing posts like these, but just wish I saw more GUI apps included.
I didn’t see anyone posting wezterm yet wezfurlong.org/wezterm/index.html
WezTerm - Wez's Terminal Emulator

Wez's Terminal Emulator