Rust Command-line

Open-source Rust projects categorized as Command-line

Top 23 Rust Command-line Projects

  • bat

    A cat(1) clone with wings.

    Latest mention: list/cat Perl code in a terminal, with syntax highlighting | reddit.com/r/perl | 2021-01-21

    bat would be well worth a look: https://github.com/sharkdp/bat

  • ripgrep

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

    Latest mention: CVE-2021-3156: Heap-Based Buffer Overflow in Sudo | news.ycombinator.com | 2021-01-26

    Try https://github.com/BurntSushi/ripgrep – it’s across the board better, and one of the best personal productivity boosts you can make if you use grep frequently.

  • fd

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

    Latest mention: Prepare a set of Rust tools that can be used with zsh in zinit | dev.to | 2021-01-18

    fd Fast find alternative tool

  • exa

    A modern replacement for ‘ls’.

    Latest mention: Prepare a set of Rust tools that can be used with zsh in zinit | dev.to | 2021-01-18

    exa Fast ls alternative tool

  • xsv

    A fast CSV command line toolkit written in Rust.

  • hyperfine

    A command-line benchmarking tool

    Latest mention: Gdu - fast disk usage analyzer | reddit.com/r/archlinux | 2021-01-01
  • clap-rs

    A full featured, fast Command Line Argument Parser for Rust

    Latest mention: Show HN: Rust-starter, a boilerplate to build Rust CLI applications | news.ycombinator.com | 2021-01-25

    > You do not "need a framework" to build simple CLI tools in Rust. Most people use a command line argument parser, the most popular being clap [0]

    0: https://github.com/clap-rs/clap

  • tui-rs

    Build terminal user interfaces and dashboards using Rust

    Latest mention: rust-starter: boilerplate to build Rust CLI applications | reddit.com/r/rust | 2021-01-25

    To do that, you'd add a curses binding to it, like one of the libraries listed on the Backends wiki page for Cursive or in the README for tui-rs.

  • onefetch

    Git repository summary on your terminal

    Latest mention: [WezTerm] Onefetch ベティ・ブープ | reddit.com/r/unixporn | 2021-01-25

    Tool: https://github.com/o2sh/onefetch

  • dog

    Command-line DNS client

    Latest mention: Rusticles #20 - Wed Nov 18 2020 | dev.to | 2020-11-17

    ogham/dog (Rust): Command-line DNS client

  • websocat

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

    Latest mention: Exploring the methods of looking into Ethereum’s transaction pool | dev.to | 2020-12-23

    Subscriptions is real-time streaming of data from server to client through WebSocket. You will need a constantly active connection to stream such events. You cannot use curl for this and have to use a WebSocket client like websocat if you want to access it via command line. Once executed, a stream of pending transaction IDs will start flowing in.

  • zoxide

    A faster way to navigate your filesystem

    Latest mention: Looking for a cd (change directory) productivity tool that I've forgotten its name | reddit.com/r/linuxquestions | 2021-01-18

    zoxide

  • indicatif

    A command line progress reporting library for Rust

  • miniserve

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

    Latest mention: Miniserve – a CLI tool to serve files and dirs over HTTP | news.ycombinator.com | 2021-01-22
  • pueue

    :stars: Manage your shell commands.

    Latest mention: Pueue – a beautiful Unix job queue system | news.ycombinator.com | 2021-01-26
  • crossterm

    Cross platform terminal library rust

  • rustyline

    Readline Implementation in Rust

  • quicli

    Quickly build cool CLI apps in Rust.

  • pb

    Console progress bar for Rust

  • kondo

    Save disk space by cleaning non-essential files from software projects.

    Latest mention: Build Times And Target Directory Size | reddit.com/r/rust | 2020-08-27
  • rust-ansi-term

    Rust library for ANSI terminal colours and styles (bold, underline)

  • pancurses

    A Rust curses library, supports Unix platforms and Windows

  • sad

    CLI search and replace | Space Age seD

    Latest mention: I just put a huge amount of time into CHADTree (NERDTree competitor) | reddit.com/r/neovim | 2021-01-21

    Thanks, if you like it you can also try my batch text editor.

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-01-26.

Index

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

Project Stars
1 bat 24,764
2 ripgrep 23,519
3 fd 16,108
4 exa 12,009
5 xsv 6,789
6 hyperfine 6,785
7 clap-rs 5,379
8 tui-rs 4,325
9 onefetch 2,805
10 dog 2,679
11 websocat 2,477
12 zoxide 1,955
13 indicatif 1,709
14 miniserve 1,433
15 pueue 1,166
16 crossterm 953
17 rustyline 635
18 quicli 466
19 pb 386
20 kondo 352
21 rust-ansi-term 318
22 pancurses 277
23 sad 264