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

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

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

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

  • 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

  • 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

  • onefetch

    Command-line Git information tool

  • Project mention: Neofetch for Git Repositories | news.ycombinator.com | 2024-03-24
  • 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: Potencializando Sua Experiência no Linux: Conheça as Ferramentas em Rust para um Desenvolvimento Eficiente | dev.to | 2023-12-12

    Encontre-o no repositório oficial: https://github.com/eza-community/eza

  • 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: AST-grep(sg) AST grep based on Treesitter | news.ycombinator.com | 2024-04-01
  • 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

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,271
5 hyperfine 19,874
6 zoxide 18,590
7 navi 14,337
8 clap-rs 13,288
9 gping 10,289
10 xsv 10,080
11 broot 10,068
12 onefetch 8,985
13 hexyl 8,807
14 eza 7,278
15 websocat 6,491
16 ast-grep 5,863
17 dog 5,776
18 miniserve 5,575
19 sd 5,348
20 pastel 4,891
21 watchexec 4,870
22 dufs 4,665
23 pueue 4,565

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