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: Hired: A Modern Take on 'Ed' | news.ycombinator.com | 2024-02-13

    That’s the same as bat:[1] one of the features is syntax highlighting. Kind of unexpected to find a concatenation program… which also does that.

    [1] https://github.com/sharkdp/bat

  • ripgrep

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

  • Project mention: Ask HN: What software sparks joy when using? | news.ycombinator.com | 2024-04-17

    ripgrep - https://github.com/BurntSushi/ripgrep

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • fd

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

  • Project mention: Level Up Your Dev Workflow: Conquer Web Development with a Blazing Fast Neovim Setup (Part 1) | dev.to | 2024-03-16

    ripgrep: A super-fast file searcher. You can install it using your system's package manager (e.g., brew install ripgrep on macOS). fd: Another blazing-fast file finder. Installation instructions can be found here: https://github.com/sharkdp/fd

  • exa

    A modern replacement for ‘ls’.

  • Project mention: A ‘Software Developer’ Knows Enough to Deliver Working Software Alone and in Teams | /r/programming | 2023-12-06

    It depends on the scale of the project but man, if you can't build a simple CRUD app in your preferred stack and deploy it in some fashion (even if it's just a binary posted on some website, kinda like Exa) then that's just disappointing...

  • hyperfine

    A command-line benchmarking tool

  • Project mention: Measuring startup and shutdown overhead of several code interpreters | dev.to | 2024-04-17

    Check out the official hyperfine Github repo

  • zoxide

    A smarter cd command. Supports all major shells.

  • Project mention: Say good bye to cd and hello Zoxide - the better and smarter cd command | dev.to | 2024-04-14
    Project mention: Show HN: TBMK – A Commands Bookmark for Terminal | news.ycombinator.com | 2023-12-26

    I've built something similar for myself (fzf+a bit of shell). But I realized that fzf's history view (with very long history buffer) works much better for my use case.

    I still needed something to cover rare commands with dynamic arguments. That got covered by Navi: https://github.com/denisidoro/navi (takes more friction to add new command than with TBMK, but you get much more organized and easier to search tool).

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • clap-rs

    A full featured, fast Command Line Argument Parser for Rust

  • Project mention: Build Your Own curl - Rust | dev.to | 2024-03-23

    We will be using the library for Clap - A simple-to-use, efficient, and full-featured library for parsing command line arguments and subcommands.

  • gping

    Ping, but with a graph

  • Project mention: Free Tech Tools and Resources - Hardware Monitor, Offboarding Script, WiFi Scanner & More | /r/SysAdminBlogs | 2023-10-25

    gping is a souped-up version of the traditional ping utility that graphs network latency for multiple hosts as well as execution time for commands, with the option of custom colors. Our thanks for the suggestion go to fudgecakekistan.

  • broot

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

  • Project mention: Use Midnight Commander like a pro (2015) | news.ycombinator.com | 2024-01-21

    Take a look at broot https://github.com/Canop/broot

  • xsv

    A fast CSV command line toolkit written in Rust.

  • Project mention: Show HN: TextQuery – Query and Visualize Your CSV Data in Minutes | news.ycombinator.com | 2024-04-02

    I realize it's not really that comparable since these tools don't support SQL, but a more fully functioned CLI tool is - https://github.com/BurntSushi/xsv

    They are both fairly good

  • onefetch

    Command-line Git information tool

  • Project mention: Show HN: I've forked neofetch to keep it alive | news.ycombinator.com | 2024-05-01
  • hexyl

    A command-line hex viewer

  • Project mention: hexyl: A command-line hex viewer | /r/tty0 | 2023-06-16
  • eza

    A modern, maintained replacement for ls

  • Project mention: Is Go Used in Production more than Rust ? | dev.to | 2024-04-26

    $ brew info eza ==> eza: stable 0.18.13 (bottled) Modern, maintained replacement for ls https://github.com/eza-community/eza Not installed From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/e/eza.rb License: MIT ==> Dependencies Build: pandoc ✘, pkg-config ✔, rust ✘ Required: libgit2 ✘ ==> Analytics install: 12,792 (30 days), 38,295 (90 days), 68,375 (365 days) install-on-request: 12,790 (30 days), 38,293 (90 days), 68,375 (365 days) build-error: 0 (30 days)

  • websocat

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

  • Project mention: Show HN: ScaleSocket – Turn any script into a multiplayer WebSocket server | news.ycombinator.com | 2023-09-20

    It's similar to running netcat in server mode, wrapping a script. It's even closer to doing that using websocat [1], whereby one does not have to do the websocket header juggling.

    The main difference is that while netcat or websocat will spawn a new process for each connecting client, ScaleSocket has a concept of rooms (channels). For a room, a process is spawned once only. All clients connecting to the same room are routed to the same process. This is not straight forward to do using the forementioned tools.

    There's a small comparison page [2] where I have mentioned some alternative tools.

    [1] https://github.com/vi/websocat

  • ast-grep

    ⚡A CLI tool for code structural search, lint and rewriting. Written in Rust

  • Project mention: Migrate to React 19 with ast-grep | dev.to | 2024-04-28

    This article illustrates the usage of ast-grep, a tool designed to locate and substitute patterns in your codebase, towards easing your migration to React 19.

  • dog

    A command-line DNS client.

  • Project mention: DNS Toys | news.ycombinator.com | 2024-01-06

    Dog is cross platform and has some nice features, like json output.

    https://dns.lookup.dog/

  • miniserve

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

  • Project mention: Fastest Way to Serve Large Files | /r/linux_programming | 2023-06-13
  • sd

    Intuitive find & replace CLI (sed alternative)

  • Project mention: Essential Command Line Tools for Developers | dev.to | 2024-01-15

    View on GitHub

  • pastel

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

  • watchexec

    Executes commands in response to file modifications

  • Project mention: Watchexec | news.ycombinator.com | 2024-04-24
  • dufs

    A file server that supports static serving, uploading, searching, accessing control, webdav...

  • Project mention: h5ai – modern HTTP web server index | news.ycombinator.com | 2024-04-19

    Sounds helpful if you're using Apache. I use dufs (https://github.com/sigoden/dufs) as a lightweight file server.

  • pueue

    :stars: Manage your shell commands.

  • Project mention: Sequential and parallel execution of long-running shell commands | news.ycombinator.com | 2024-03-20

    You can probably do a good subset it in bash, it's just a nicer interface with a lot of configurability and several convenience features.

    I'm generally a big fan of showing alternatives: https://github.com/Nukesor/pueue/?tab=readme-ov-file#similar...

    Would you be willing to write a proper guide on how to do all of these things in bash? It would be great to have this as guide an alternative inside the Pueue wiki and link to it. It'll help people to make a more informed decision on whether they need this tool or not.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

Rust Command-line related posts

  • Migrate to React 19 with ast-grep

    2 projects | dev.to | 28 Apr 2024
  • Measuring startup and shutdown overhead of several code interpreters

    2 projects | dev.to | 17 Apr 2024
  • Say good bye to cd and hello Zoxide - the better and smarter cd command

    1 project | dev.to | 14 Apr 2024
  • AST-grep(sg) AST grep based on Treesitter

    1 project | news.ycombinator.com | 1 Apr 2024
  • Neofetch for Git Repositories

    1 project | news.ycombinator.com | 24 Mar 2024
  • Programming languages' logos in ASCII art

    1 project | news.ycombinator.com | 23 Mar 2024
  • You might want to replace cd command with Zoxide 🎉 — a smarter and trainable cd alternative 🗂️

    1 project | dev.to | 8 Mar 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 2 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

Project Stars
1 bat 46,497
2 ripgrep 44,901
3 fd 31,581
4 exa 23,290
5 hyperfine 19,952
6 zoxide 18,590
7 navi 14,337
8 clap-rs 13,327
9 gping 10,289
10 broot 10,102
11 xsv 10,089
12 onefetch 8,985
13 hexyl 8,813
14 eza 7,278
15 websocat 6,511
16 ast-grep 5,904
17 dog 5,786
18 miniserve 5,585
19 sd 5,369
20 pastel 4,900
21 watchexec 4,893
22 dufs 4,699
23 pueue 4,575

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com