Rust Command Line Tool

Open-source Rust projects categorized as Command Line Tool

Top 23 Rust Command Line Tool Projects

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

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

    Blazing πŸ’₯ fast terminal-ui for git written in rust πŸ¦€

  • Project mention: GitUI | news.ycombinator.com | 2024-01-07

    I was missing interactive rebase, as it is missing from libgit2

    https://github.com/extrawurst/gitui/issues/32

  • coreutils

    Cross-platform Rust rewrite of the GNU coreutils

  • Project mention: Cross-platform Rust rewrite of the GNU coreutils | news.ycombinator.com | 2024-01-02

    Not that it should represent the rubicon of when to/not to rewrite code, but when you do, you do trade one set of bugs for a new set of bugs: https://github.com/uutils/coreutils/issues

  • 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

  • tokei

    Count your code, quickly.

  • Project mention: XAMPPRocky/tokei: Count your code, quickly | news.ycombinator.com | 2024-04-09
  • grex

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

  • Project mention: grex 1.0.0 - Generate regular expressions from user-provided test cases | /r/Python | 2023-08-31
  • SaaSHub

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

    SaaSHub logo
  • 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/

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

  • trippy

    A network diagnostic tool

  • Project mention: Apnic: Cgnat is harming internet innovation (2022) | news.ycombinator.com | 2024-04-26

    [3] https://github.com/fujiapple852/trippy/issues/1104

  • cargo-watch

    Watches over your Cargo project's source.

  • Project mention: Cryptoflow: Building a secure and scalable system with Axum and SvelteKit - Part 0 | dev.to | 2024-01-04

    I used cargo-watch here so that every time my source changes, the server will automatically restart and re-serve the updated code.

  • rq

    Record Query - A tool for doing record analysis and transformation (by dflemstr)

  • erdtree

    A modern, cross-platform, multi-threaded, and general purpose filesystem and disk-usage utility that is aware of .gitignore and hidden file rules.

  • Project mention: How can someone who has primarily worked in Web/Mobile development break into systems engineering? | /r/ExperiencedDevs | 2023-08-18

    The most substantial project that I have to show for my knowledge of the lower level topics is this project I work on in my spare-time called erdtree and I'm really banking on that to stand-in as "experience" in the absence of professional systems experience.

  • tidy-viewer

    πŸ“Ί(tv) Tidy Viewer is a cross-platform CLI csv pretty printer that uses column styling to maximize viewer enjoyment.

  • Project mention: Csvlens: Command line CSV file viewer. Like less but made for CSV | news.ycombinator.com | 2024-01-06
  • fastmod

    A fast partial replacement for the codemod tool

  • Project mention: Introducing rep and ren: A New Approach to CLI Find and Replace, and Renaming | news.ycombinator.com | 2023-12-30

    This looks pretty neat! I especially like how well it composes with other tools.

    Wonder how well it compares with [fastmod](https://github.com/facebookincubator/fastmod/)? That's what I've been using for large scale codemods/refactors. ripgrep is ofc insanely fast so ripgrep+ren would probably fare favorably.

  • termscp

    πŸ–₯ A feature rich terminal UI file transfer and explorer with support for SCP/SFTP/FTP/S3/SMB

  • httm

    Interactive, file-level Time Machine-like tool for ZFS/btrfs/nilfs2 (and even actual Time Machine backups!)

  • Project mention: Is my open-source project up to date with MIT license compliance and attribution? | /r/opensource | 2023-12-11

    My projects and many projects include a THIRD-PARTY-LICENSES.html file when I distribute binaries. See: https://github.com/kimono-koans/httm/blob/master/third_party/LICENSES_THIRD_PARTY.html

  • t-rec-rs

    Blazingly fast terminal recorder that generates animated gif images for the web written in rust

  • Project mention: Asciinema: Record and share your terminal sessions, the simple way | news.ycombinator.com | 2023-11-03

    I tried asciinema and I forgot which others, but I eventually used t-rec because it’s able to easily compress to a small size file that I can upload to GitHub (see demo on here https://GitHub.com/Langroid/Langroid) and it also creates mp4 filed that I can upload to loom etc.

    https://github.com/sassman/t-rec-rs

  • fcp

    A significantly faster alternative to the classic Unix cp(1) command, copying large files and directories in a fraction of the time.

  • Project mention: Fcp – a significantly faster alternative to the classic Unix cp(1) command | news.ycombinator.com | 2023-08-31
  • lurk

    A pretty (simple) alternative to strace

  • halp

    A CLI tool to get help with CLI tools πŸ™

  • 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 Tool related posts

Index

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

Project Stars
1 ripgrep 45,287
2 zoxide 19,140
3 gitui 17,100
4 coreutils 16,926
5 broot 10,158
6 tokei 10,171
7 grex 6,800
8 websocat 6,583
9 ast-grep 5,988
10 miniserve 5,646
11 pueue 4,591
12 trippy 3,048
13 cargo-watch 2,633
14 rq 2,256
15 erdtree 2,261
16 tidy-viewer 2,028
17 fastmod 1,600
18 termscp 1,393
19 httm 1,213
20 t-rec-rs 952
21 fcp 725
22 lurk 689
23 halp 659

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