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: Finding all HTML tags in a project not being self-closed | dev.to | 2024-05-14

    There were quite some occurrences of this component in the entire project, therefore just searching for base-input was not going to cut it for me. Instead, I decided to use regular expressions resp. regex with ripgrep. After installing ripgrep it provides a rg command line tool.

  • 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: The new APT 3.0 solver | news.ycombinator.com | 2024-05-14
  • 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: An infinite canvas for code exploration | news.ycombinator.com | 2024-05-06

    It's unclear what the superpowers would be? Video doesn't show anything I can't do with an IDE or decent code editor, and there I also have refactoring tools, metadata like indicators for usages that can be used for navigating and so on.

    Reminds me of UML-like diagrams over relational databases, except that it's generated one piece at a time. In practice I generate diagrams showing cyclomatic complexity much more often, and for code exploration outside the IDE I'd use ast-grep.

    https://ast-grep.github.io/

  • 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

  • The new APT 3.0 solver

    8 projects | news.ycombinator.com | 14 May 2024
  • 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
  • A note from our sponsor - SaaSHub
    www.saashub.com | 17 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,852
2 ripgrep 45,287
3 fd 31,910
4 exa 23,309
5 hyperfine 20,182
6 zoxide 19,140
7 navi 14,422
8 clap-rs 13,398
9 gping 10,345
10 broot 10,179
11 xsv 10,115
12 onefetch 9,037
13 hexyl 8,845
14 eza 7,802
15 websocat 6,583
16 ast-grep 5,988
17 dog 5,802
18 miniserve 5,646
19 sd 5,400
20 pastel 4,929
21 watchexec 4,934
22 dufs 4,774
23 pueue 4,591

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