Rust Command-line

Open-source Rust projects categorized as Command-line

Top 23 Rust Command-line 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: Ask HN: Bookmarks for Hacker News? | news.ycombinator.com | 2022-11-30
  • 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 🚀.

  • 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

  • exa

    A modern replacement for ‘ls’.

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

    exa: serve como alternativa ao “ls”; e

  • hyperfine

    A command-line benchmarking tool

    Project mention: How do you test compiler projects? | reddit.com/r/Compilers | 2022-11-30

    Additionally, you can check against another proven compiler (for example, Rust or python) the output of yours to see if returns the same. It also can work as a benchmark (nice to run with https://github.com/sharkdp/hyperfine for example)

  • clap-rs

    A full featured, fast Command Line Argument Parser for Rust

    Project mention: Hey Rustaceans! Got a question? Ask here! (43/2022)! | reddit.com/r/rust | 2022-10-24

    If you check the bottom of a crates page on crates.io, you can see download stats. clap has over 81M downloads. arkwerk has 3,868.

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

  • tui-rs

    Build terminal user interfaces and dashboards using Rust

    Project mention: Textual TUI framework for Python adds CSS renderer | news.ycombinator.com | 2022-10-23

    tui-rs[0] is the closest equivalent. It's like the pre-css version of textual.

    [0] -- https://github.com/fdehau/tui-rs

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

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

    Project mention: Rust Easy! Modern Cross-platform Command Line Tools to Supercharge Your Terminal | dev.to | 2022-11-07

    Broot is a tree alternative with a better user experience, and you can use it to navigate a file structure. It's fast and respects .gitignore. You can cd into a directory from the tree view, open sub-directories in a panel, and even preview files. It has excellent keyboard navigation as well. It has many more features.

  • hexyl

    A command-line hex viewer

    Project mention: good hex view software? | reddit.com/r/embedded | 2022-10-21

    A simple and lightweight command-line hex viewer:Hexyl

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

  • 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

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

    A command-line DNS client.

    Project mention: Dog - TUI dig client for DNS lookups | reddit.com/r/LinuxShell | 2022-10-12
  • 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.

  • watchexec

    Executes commands in response to file modifications

    Project mention: is there a plugin to run any file (.py .js .java etc.) and display the output? | reddit.com/r/vim | 2022-10-29

    I use watchexec to automatically run the code when saved, you should customise this to your liking.

  • pueue

    :stars: Manage your shell commands.

    Project mention: Why is Tmux better than neovim's built-in terminal? | reddit.com/r/neovim | 2022-11-12

    For the command that takes a long time to complete, I always use pueue to run. This thing let you run multiple commands in order and can schedule the execution later which is really helpful to my workflow.

  • indicatif

    A command line progress reporting library for Rust

    Project mention: Announcing cargo-cleanall | reddit.com/r/rust | 2022-10-27
  • xplr

    A hackable, minimal, fast TUI file explorer

    Project mention: xplr v0.20.0 - what's new? | dev.to | 2022-11-02

    xplr version 0.20.0 was released last week. If you haven't already, go ahead and install the latest version. This post will try to break down the changelog in the release in an easy-to-digest manner, looking through the perspective of different user groups.

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

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

Rust Command-line related posts

Index

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

Project Stars
1 bat 38,356
2 ripgrep 34,501
3 fd 25,454
4 exa 19,967
5 hyperfine 13,740
6 navi 12,104
7 clap-rs 10,063
8 tui-rs 9,110
9 xsv 8,815
10 zoxide 8,394
11 broot 7,893
12 hexyl 7,206
13 gping 6,850
14 onefetch 6,116
15 websocat 4,895
16 dog 4,706
17 pastel 4,343
18 sd 3,933
19 miniserve 3,843
20 watchexec 3,514
21 pueue 3,268
22 indicatif 3,144
23 xplr 2,535
The context switching struggle is real
Zigi makes context switching a thing of the past. It monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack!
www.zigi.ai