Rust CLI

Open-source Rust projects categorized as CLI

Top 23 Rust CLI Projects

  • bat

    A cat(1) clone with wings.

    Project mention: Configurando o ArchLinux com WSL 2 para Devs | dev.to | 2022-11-21

    bat: alternativa ao “cat”.

  • ripgrep

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

    Project mention: [Question] Telescope: How could I grep exactly match? | reddit.com/r/neovim | 2022-11-26

    Telescope uses ripgrep for `live_grep`, so I think you have 2 options:

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • fd

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

    Project mention: find and delete files recursively and delete if the directory is empty | reddit.com/r/linux4noobs | 2022-11-23

    First of all, to speed up the whole thing, use fd (usually named fd-find in distro packages). Note the syntax is not 1:1 with find

  • spotify-tui

    Spotify for the terminal written in Rust 🚀

    Project mention: I wrote a "12 favourite terminal tools" list-article, what did I left out that should be absolutely included? | reddit.com/r/linux | 2022-11-18

    I also found this, seems really nice

  • hyperfine

    A command-line benchmarking tool

    Project mention: Benchmark times changing between runs | reddit.com/r/learnrust | 2022-11-28

    Ideally you would take an average, report min/max/std/avg there are crates that will help you do this. https://github.com/sharkdp/hyperfine

  • xsv

    A fast CSV command line toolkit written in Rust.

    Project mention: What are your coolest tools for one-liners ? | reddit.com/r/commandline | 2022-10-05
  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • zoxide

    A smarter cd command. Supports all major shells.

    Project mention: Is there an easy way to cd into a commonly used folder? Is creating an alias the best way? | reddit.com/r/linux4noobs | 2022-11-18
  • Bandwhich

    Terminal bandwidth utilization tool

    Project mention: Faster and colourful Command-Line tools 🌈⚡ | dev.to | 2022-09-25

    bandwhich: A terminal bandwidth utilization tool. This CLI utility displays current network utilization by process, connection and remote IP/hostname.

  • tokei

    Count your code, quickly.

    Project mention: [media] Onefetch v2.13 is typically 2x faster and now supports ~100 programming languages | reddit.com/r/rust | 2022-11-16

    BTW, for more info on how it is done, you can check out tokei which is the library use by onefetch for code statistics.

  • gping

    Ping, but with a graph

    Project mention: Any free app for pinging multiple IP address simultaneously? | reddit.com/r/macapps | 2022-09-05

    https://github.com/orf/gping - but probably not for 100 IPs..

  • genact

    🌀 A nonsense activity generator

    Project mention: fbi masterhacker in action 😱 | reddit.com/r/masterhacker | 2022-07-10

    Always makes me think of this project: https://github.com/svenstaro/genact

  • ffsend

    :mailbox_with_mail: Easily and securely share files from the command line. A fully featured Firefox Send client.

    Project mention: Pingvin Share - A self-hosted file sharing platform | reddit.com/r/selfhosted | 2022-10-11

    That has a nice associated command line tool too handy for scripting (e.g. make bat file you can drop file on to share etc).

  • onefetch

    Command-line Git information tool

    Project mention: [media] Onefetch v2.13 is typically 2x faster and now supports ~100 programming languages | reddit.com/r/rust | 2022-11-16

    Release notes: https://github.com/o2sh/onefetch/releases/tag/v2.13.0

  • bore

    🕳 bore is a simple CLI tool for making tunnels to localhost

    Project mention: Show HN: CRProxy is a simple and affordable ngrok alternative | news.ycombinator.com | 2022-06-26
  • grex

    A command-line tool and Rust library for generating regular expressions from user-provided test cases

    Project mention: Gnarly Learnings from August 2022 | dev.to | 2022-08-24

    grex-js

  • bottom

    Yet another cross-platform graphical process/system monitor.

    Project mention: Fedora 37 KDE Spin was slow on Intel i7 8th gen | reddit.com/r/Fedora | 2022-11-17

    I like to run https://github.com/ClementTsang/bottom in a Konsole tab whenever I wonder about what is causing system load of some sort (RAM or CPU). I've never experienced a "slow" system since moving to ssds unless the CPU or RAM were under strain.

  • gitoxide

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

    Project mention: [Gitoxide in October]: `gix fetch` and `gix clone` | reddit.com/r/rust | 2022-11-22
  • websocat

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

    Project mention: GoLogin and python/selenium | reddit.com/r/learnpython | 2022-10-28
  • wasm-pack

    📦✨ your favorite rust -> wasm workflow tool!

    Project mention: Examples of Rust + SvelteKit + WASM | reddit.com/r/rust | 2022-10-06

    wasm-pack has bugs - it publishes a module which declares itself as a commonjs module. (You can fix that by manually adding "type": "module" in package.json). Then the web build should work with other bundlers. I opened an issue about this over a year ago. There's a PR and everything, but no movement :/

  • pastel

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

    Project mention: The culmination of several months of work by dozens of people, Flatpak 1.14.0 is now out! | reddit.com/r/linux | 2022-08-22

    I'm a fan of standalone binaries statically linked to musl for small command line applications. One such CLI app that releases this way is Pastel, a comprehensive color utility.

  • sd

    Intuitive find & replace CLI (sed alternative)

    Project mention: Being Ridiculed for My Open Source Project (2013) | news.ycombinator.com | 2022-11-07

    Even if sed and grep are available their weird syntax is enough to make people write modern replacements.

    I don't care if they're not 100% feature complete, the fact I can remember how to use them for my simple everday tasks (searching, finding/replacing across many files) without needing to consult a manpage or search online for answers is enough.

    Modern sed:

    https://github.com/chmln/sd

    Modern grep:

    https://github.com/ggreer/the_silver_searcher

  • miniserve

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

    Project mention: Looking for a way to host files. | reddit.com/r/selfhosted | 2022-11-20

    Second this. Both Dufs or Miniserve are good lightweight options.

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

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 2022-11-28.

Rust CLI related posts

Index

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

Project Stars
1 bat 38,257
2 ripgrep 34,394
3 fd 25,392
4 spotify-tui 13,741
5 hyperfine 13,673
6 navi 12,036
7 xsv 8,815
8 zoxide 8,320
9 Bandwhich 7,418
10 tokei 7,378
11 gping 6,839
12 genact 6,802
13 ffsend 6,298
14 onefetch 6,096
15 bore 6,057
16 grex 5,734
17 bottom 5,516
18 gitoxide 4,936
19 websocat 4,783
20 wasm-pack 4,689
21 pastel 4,336
22 sd 3,933
23 miniserve 3,821
Delete the most useless function ever: context switching.
Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.
www.zigi.ai