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: Improving Rust compile times to enable adoption of memory safety | news.ycombinator.com | 2023-02-03

    I originally posted this on reddit[1], but figured I'd share this here. I checked out ripgrep 0.8.0 and compiled it with both Rust 1.20 (from ~5.5 years ago) and Rust 1.67 (just released):

        $ git clone https://github.com/BurntSushi/ripgrep

  • coreutils

    Cross-platform Rust rewrite of the GNU coreutils

    Project mention: My First Open Source Project with Rust | reddit.com/r/rust | 2023-01-28

    you can take this as a reference https://github.com/uutils/coreutils/tree/main/src/uu/ls

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • gitui

    Blazing 💥 fast terminal-ui for git written in rust 🦀

    Project mention: So is or isn't this blazingly fast? | news.ycombinator.com | 2023-01-18
  • zoxide

    A smarter cd command. Supports all major shells.

    Project mention: A tmux plugin to make creating/switching sessions easier | dev.to | 2023-01-24

    prefix + T (customisable) - displays a pop-up with fzf which displays the existing sessions followed by recently accessed directories (using zoxide). Choose the session or the directory and voila! You're in that session. If the session doesn't exist, it will be created.

  • broot

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

    Project mention: A Practical Guide to fzf: Building a File Explorer | reddit.com/r/commandline | 2023-01-27

    - will navigate via broot if it is a directory or will view it on a pager --bind 'ctrl-/:execute( if [[ -d {} ]]; then broot {} > /dev/tty else bat --paging=always -pf -l=sh {} > /dev/tty fi)' // Also can add another condition to check file-mimetype if an image to preview it

  • tokei

    Count your code, quickly.

    Project mention: How long is your neovim config? | reddit.com/r/neovim | 2023-01-10
  • grex

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

    Project mention: Regex generator | reddit.com/r/learnpython | 2023-02-03

    Sounds like you're looking for something like grex. Mind you, this does not save you from learning about regular expressions. It‘s more of a supporting tool.

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

  • websocat

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

    Project mention: Ask HN: What was the best software that you used during 2022? | news.ycombinator.com | 2022-12-29

    one combination I came to really love this year is babashka (https://github.com/babashka/babashka) + websocat (https://github.com/vi/websocat). I wrote about a method of live web programming with this pair at https://github.com/whacked/cow/blob/main/a%20technique%20for...

    babashka isn't strictly necessary; you can also pipe plain text, but pushing hiccup expressions to the browser DOM from the REPL with instant feedback has opened a new world of interactive programming for me.

  • miniserve

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

    Project mention: simple, upload only, simplest possible UI, no auth | reddit.com/r/selfhosted | 2023-01-27

    dufs miniserve

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

  • rq

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

    Project mention: Jc – JSONifies the output of many CLI tools | news.ycombinator.com | 2022-11-03
  • cargo-watch

    Watches over your Cargo project's source.

    Project mention: Cargo Watch 8.3.0 | reddit.com/r/rust | 2023-01-11
  • tv

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

    Project mention: Are there any TUI apps you recommend outside of ncdu / nnn / htop / vim / bat / fd / tig / duf? | reddit.com/r/commandline | 2022-10-12

    I work with data a lot so I use the sqlite cli. I also made tv (self-promotion) to view csvs.

  • t-rec-rs

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

  • termscp

    🖥 A feature rich terminal UI file transfer and explorer with support for SCP/SFTP/FTP/S3

  • fcp

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

  • lurk

    A pretty (simple) alternative to strace

    Project mention: Show HN: A simple, pretty alternative to strace written in Rust | news.ycombinator.com | 2022-07-29
  • nomino

    Batch rename utility for developers

    Project mention: Need a Rename Utility | reddit.com/r/MacOS | 2022-07-04
  • termchat

    Terminal chat through the LAN with video streaming and file transfer.

  • menyoki

    Screen{shot,cast} and perform ImageOps on the command line 🌱 🏞️

    Project mention: Tutorial series: real-time LaTeX lecture notes using (Neo)Vim | reddit.com/r/LaTeX | 2022-03-31

    I use screenkey to show the keys I'm typing and either menyoki or plain ffmpeg with x11grab to record the screen.

  • spinoff

    💫 Easy to use, robust Rust library for displaying spinners in the terminal

    Project mention: spinoff - 0.7 is out! | reddit.com/r/rust | 2023-01-29
  • amber

    A code search / replace tool (by dalance)

    Project mention: Amber: A code search and replace tool | news.ycombinator.com | 2022-08-18
  • hoard

    cli command organizer written in rust (by Hyde46)

    Project mention: I made a tool that manages all your one-liners and scripts for you, and lets you execute them quickly. | reddit.com/r/rust | 2022-09-01

    I use hoard which coincidentally is also written in Rust. It's for long one liners but not really a replacement for "alias"

  • SaaSHub

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

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 2023-02-03.

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 35,548
2 coreutils 13,075
3 gitui 12,122
4 zoxide 9,156
5 broot 8,112
6 tokei 7,664
7 grex 5,871
8 websocat 5,100
9 miniserve 4,245
10 pueue 3,350
11 rq 2,180
12 cargo-watch 2,056
13 tv 1,848
14 t-rec-rs 794
15 termscp 604
16 fcp 533
17 lurk 479
18 nomino 476
19 termchat 438
20 menyoki 423
21 spinoff 379
22 amber 373
23 hoard 320
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com