Rust CLI

Open-source Rust projects categorized as CLI

Top 23 Rust CLI Projects

  • bat

    A cat(1) clone with wings.

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

    bat Fast cat alternative tool

  • ripgrep

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

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

    ripgrep Fast grep alternative tool

  • 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

  • spotify-tui

    Spotify for the terminal written in Rust 🚀

    Latest mention: [KDE Plasma] Daily home office setup | reddit.com/r/UsabilityPorn | 2021-01-13

    Spotify Player: spotify-tui

  • 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
  • tokei

    Count your code, quickly.

    Latest mention: I Wrote My Game In C About 5000 Lines Of Coded | reddit.com/r/csharp | 2020-12-31

    You could also use something like Tokei to count them.

  • wasm-pack

    📦✨ your favorite rust -> wasm workflow tool!

    Latest mention: Executable PNGs | reddit.com/r/programming | 2020-12-26

    Rust has a WASM target, and also a lot of tooling like https://github.com/rustwasm/wasm-pack that makes things very easy, along with wasm-bindgen.

  • onefetch

    Git repository summary on your terminal

    Latest mention: [Onefetch v2.8.0] Git repository summary on your terminal | reddit.com/r/github | 2020-12-24

    Tool: https://github.com/o2sh/onefetch Art by リヤ・クブシノブ

  • 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.

  • wrangler

    🤠 wrangle your cloudflare workers

    Latest mention: Rusticles #15 - Wed Oct 14 2020 | dev.to | 2020-10-14

    cloudflare/wrangler (Rust): 🤠 wrangle your cloudflare workers

  • fselect

    Find files with SQL-like queries

  • gitoxide

    An idiomatic, lean, fast & safe pure Rust implementation of Git

    Latest mention: What comes after Git? It's been 15 years since it was created. SVN was created 5 years before Git. CVS was 15 years before SVN | reddit.com/r/programming | 2020-12-25

    The more recent one is gitoxide. It's written in Rust and works natively on Windows.

  • cargo-edit

    A utility for managing cargo dependencies from the command line.

    Latest mention: Rust GUI: Introduction, a.k.a. the state of Rust GUI libraries (As of January 2021) | dev.to | 2021-01-18

    I usually employ cargo add from cargo edit (to install it: `cargo install cargo-edit), but you can add the dependency straight to Cargo.toml

  • bottom

    Yet another cross-platform graphical process/system monitor.

    Latest mention: [DWM] Overlord Momo | reddit.com/r/unixporn | 2020-12-28

    System monitor: bottom

  • texture-synthesis

    🎨 Example-based texture synthesis written in Rust 🦀

    Latest mention: A Light Rust API for Multiresolution Stochastic Texture Synthesis | news.ycombinator.com | 2020-12-23
  • miniserve

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

    Latest mention: What has been your experience creating a web app with Rust vs other languages | reddit.com/r/rust | 2021-01-16

    I haven't done anything SQL-related in Rust yet (I'm still waiting for something as comfortable as Django ORM migrations or Alembic) but I am currently working on something that's "miniserve but for image galleries" as a practice project.

  • viu

    Simple terminal image viewer written in Rust.

    Latest mention: Image preview in tmux? | reddit.com/r/swaywm | 2021-01-09

    I use viu as image viewer in terminal

  • rage

    A simple, secure and modern encryption tool (and Rust library) with small explicit keys, no config options, and UNIX-style composability.

    Latest mention: It seems like Rust software is bad | dev.to | 2020-12-16

    Another example is the Rust versus Go implementation of Age encryption - 2500 to 6000 lines. I think rage has a few more features, but really? Go is a relatively verbose language.

  • rustfix

    Automatically apply the suggestions made by rustc

  • mask

    🎭 A CLI task runner defined by a simple markdown file

    Latest mention: Controling your Computer from a Phone | dev.to | 2021-01-15

    At the top level, there are three things: the server directory, the UI directory, and a maskfile.md file for using mask. Mask is a great tool for running scripts on your project. I use it all the time.

  • rust-sloth

    A 3D software rasterizer... for the terminal!

    Latest mention: bevy_crossterm: Program terminal games using bevy and crossterm | reddit.com/r/rust | 2020-12-27

    If you ever need realtime 3D rendering I've got this project that renders OBJs to crossterm

  • 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
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).

Index

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

Project Stars
1 bat 24,679
2 ripgrep 23,410
3 fd 16,055
4 spotify-tui 7,441
5 xsv 6,768
6 hyperfine 6,751
7 tokei 4,330
8 wasm-pack 3,127
9 onefetch 2,791
10 websocat 2,442
11 wrangler 1,919
12 fselect 1,819
13 gitoxide 1,745
14 cargo-edit 1,577
15 bottom 1,390
16 texture-synthesis 1,286
17 miniserve 1,110
18 viu 829
19 rage 724
20 rustfix 571
21 mask 474
22 rust-sloth 464
23 kondo 346