Rust Command-line

Open-source Rust projects categorized as Command-line | Edit details

Top 23 Rust Command-line Projects

  • GitHub repo bat

    A cat(1) clone with wings.

    Project mention: Colored json terminal output like in Nodejs | reddit.com/r/rust | 2021-10-12

    Bat can also be used as a library for easy pretty printing: https://github.com/sharkdp/bat/blob/master/examples/yaml.rs

  • GitHub repo ripgrep

    ripgrep recursively searches directories for a regex pattern while respecting your gitignore

    Project mention: Regular expressions at runtime? | reddit.com/r/rust | 2021-10-13

    Just to note, the official regex crate is used in ripgrep which is also used for VSCode's search functionality.

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo fd

    A simple, fast and user-friendly alternative to 'find'

    Project mention: Finding files | reddit.com/r/linuxquestions | 2021-10-12
  • GitHub repo exa

    A modern replacement for ‘ls’.

    Project mention: Easier life with Linux | reddit.com/r/linuxquestions | 2021-09-13

    Tools that make my life easier would be fzf, fd, exa, micro, ripgrep, bat etc.

  • GitHub repo hyperfine

    A command-line benchmarking tool

    Project mention: I did a little write up comparing the execution speeds for Bash vs. Dash | reddit.com/r/commandline | 2021-10-06

    Try hyperfine for better benchmarks.

  • GitHub repo xsv

    A fast CSV command line toolkit written in Rust.

    Project mention: TV is a cross-platform CSV pretty printer made to maximize viewer enjoyment | news.ycombinator.com | 2021-09-27

    XSV [0] can also pretty-print (minus the colors), but that's just the tip of the iceberg as far as what it can do. It's very handle for quick statistical analysis of CSV input.

    [0]: https://github.com/BurntSushi/xsv

  • GitHub repo clap-rs

    A full featured, fast Command Line Argument Parser for Rust

    Project mention: crabz v0.7.1: now generally faster compression compared to pigz / bgzip | reddit.com/r/rust | 2021-10-09
  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo hexyl

    A command-line hex viewer

    Project mention: fd is looking for contributors | reddit.com/r/rust | 2021-08-08

    fd is my very first Rust project. In fact, if you go back in (Git) history, the project was originally written in C++. I have created various other Rust command-line tools since then, but I love coming back to fd, as I personally use it the most.

  • GitHub repo broot

    A new way to see and navigate directory trees : https://dystroy.org/broot

    Project mention: Which file manager do you use and why? | reddit.com/r/archlinux | 2021-10-04

    I use broot for getting overviews of directories and the like. Everything else is ripgrep

  • GitHub repo tui-rs

    Build terminal user interfaces and dashboards using Rust

    Project mention: Pretty console application in Rust | reddit.com/r/rust | 2021-10-08

    https://crates.io/crates/cursive or https://crates.io/crates/tui

  • GitHub repo zoxide

    A smarter cd command. Supports all major shells.

    Project mention: zoxide: A smarter cd command. Supports all major shells. | reddit.com/r/planetemacs | 2021-10-11
  • GitHub repo pastel

    A command-line tool to generate, analyze, convert and manipulate colors

    Project mention: fd is looking for contributors | reddit.com/r/rust | 2021-08-08

    fd is my very first Rust project. In fact, if you go back in (Git) history, the project was originally written in C++. I have created various other Rust command-line tools since then, but I love coming back to fd, as I personally use it the most.

  • GitHub repo onefetch

    Git repository summary on your terminal

    Project mention: Godot copypasta | reddit.com/r/godot | 2021-04-14

    You should add this to onefetch it does not currently work with Godot/gdscript.

  • GitHub repo dog

    A command-line DNS client.

    Project mention: crondog | reddit.com/r/comedyheaven | 2021-07-05

    Here is link number 1 - Previous text "dog"

  • GitHub repo websocat

    Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functions

    Project mention: Testing the Async Cloud with AWS CDK | dev.to | 2021-09-13

    There's really nothing to this. I just have to provide the bus name and an optional pattern. Now using websocat, I get output like this:

  • GitHub repo miniserve

    🌟 For when you really just want to serve some files over HTTP right now!

    Project mention: Miniserve: Cross-platform tool to serve files via HTTP | news.ycombinator.com | 2021-08-04
  • GitHub repo sd

    Intuitive find & replace CLI (sed alternative)

    Project mention: issue replacing text in a file, likely due to several escape characters | reddit.com/r/linuxquestions | 2021-09-21

    You may have slightly better luck with a more powerful replacement for sed like sd.

  • GitHub repo pueue

    :stars: Manage your shell commands.

    Project mention: Pueue - A neat way to queue shell commands | reddit.com/r/selfhosted | 2021-10-14

    Not exactly a 'self host', however, I found this tool to be super useful in queuing commands on my setups: https://github.com/Nukesor/pueue

  • GitHub repo indicatif

    A command line progress reporting library for Rust

    Project mention: Downloading multiple files concurrently. Do I need async? | reddit.com/r/rust | 2021-10-05

    see this https://github.com/mitsuhiko/indicatif/blob/main/examples/multi.rs

  • GitHub repo crossterm

    Cross platform terminal library rust

    Project mention: Hey Rustaceans! Got an easy question? Ask here (35/2021)! | reddit.com/r/rust | 2021-08-30

    If you just need basic printing and limited input then I'd choose either crossterm or termion. If you want a full tui, then tui-rs is really good.

  • GitHub repo tv

    📺(tv) Tidy Viewer is a cross-platform CLI csv pretty printer that uses column styling to maximize viewer enjoyment. (by alexhallam)

    Project mention: TV is a cross-platform CSV pretty printer made to maximize viewer enjoyment | news.ycombinator.com | 2021-09-27

    https://github.com/alexhallam/tv/pull/58

    I added VisiData in my README and represented it in a positive light in the description. Again, just wanted to apologize for my mistake.

    #better-together

  • GitHub repo rustyline

    Readline Implementation in Rust

    Project mention: requestty: an easy-to-use collection of interactive cli prompts inspired by Inquirer.js. | reddit.com/r/rust | 2021-07-20

    You can try the rustyline library, however afaik it doesn't allow dynamically printing lines above the prompt while it is still being answered.

  • GitHub repo rust_cmd_lib

    Common rust command-line macros and utilities, to write shell-script like tasks in a clean, natural and rusty way

    Project mention: Execute $(command) in std::process::Command? | reddit.com/r/rust | 2021-07-25

    With rust_cmd_lib, you can write below code without launching shell:

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-10-14.

Index

What are some of the best open-source Command-line projects in Rust? This list will help you:

Project Stars
1 bat 29,772
2 ripgrep 27,488
3 fd 19,172
4 exa 14,801
5 hyperfine 8,761
6 xsv 7,659
7 clap-rs 6,690
8 hexyl 6,251
9 broot 6,157
10 tui-rs 5,705
11 zoxide 3,947
12 pastel 3,676
13 onefetch 3,451
14 dog 3,419
15 websocat 3,300
16 miniserve 2,702
17 sd 2,560
18 pueue 2,329
19 indicatif 2,175
20 crossterm 1,308
21 tv 1,267
22 rustyline 837
23 rust_cmd_lib 708
Find remote jobs at our new job board 99remotejobs.com. There are 34 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com