Rust CLI

Open-source Rust projects categorized as CLI

Top 23 Rust CLI 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

  • 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
  • spotify-tui

    Spotify for the terminal written in Rust πŸš€

  • Project mention: Tell HN: My Favorite Tools | news.ycombinator.com | 2023-12-24
    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
  • asciinema

    Terminal session recorder πŸ“Ή

  • Project mention: Asciinema 3.0 will be rewritten in Rust | news.ycombinator.com | 2024-02-07

    Incorrect link. Just goes to the list of open requests.

    Here is a ticket which mentor the rust rewrite, perhaps this was what was intended: https://github.com/asciinema/asciinema/pull/579

  • hurl

    Hurl, run and test HTTP requests with plain text.

  • Project mention: Bruno | news.ycombinator.com | 2024-03-09

    I tried Hurl after Insomnia went the way of Postman. The highlights you list were the strong drivers for testing it out. Where Hurl fell short was composing requests. Example: X.hurl response has authToken. Y.hurl uses authToken. Z.hurl uses authToken. There's no import ability[1], so you've got to use other tooling to copy X.hurl into Y.hurl and Z.hurl.

    Ultimately settled on Bruno. It's backed by readable text files[2] as well. The CLI works for scripting. And the GUI is familiar enough that I've managed to convert Postman holdouts at my dayjob.

    [1]: https://github.com/Orange-OpenSource/hurl/issues/1723

    [2]: https://docs.usebruno.com/bru-language-samples.html

  • 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

  • tokei

    Count your code, quickly.

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

    Command-line Git information tool

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

    πŸŒ€ A nonsense activity generator

  • Project mention: I'm not in a hurry, let's make it fun | /r/linuxmemes | 2023-05-05
  • bottom

    Yet another cross-platform graphical process/system monitor.

  • Project mention: Nvtop: Linux Task Monitor for Nvidia, AMD and Intel GPUs | news.ycombinator.com | 2024-03-12
  • Bandwhich

    Terminal bandwidth utilization tool

  • Project mention: Bandwhich: A CLI utility for displaying current network utilizations | news.ycombinator.com | 2023-09-20
  • bore

    πŸ•³ bore is a simple CLI tool for making tunnels to localhost

  • Project mention: List of ngrok/Cloudflare Tunnel alternatives and other tunneling software and services. Focus on self-hosting. | dev.to | 2024-04-30

    bore - Minimal tunneling solution. MIT Licensed. Written in Rust.

  • gitoxide

    An idiomatic, lean, fast & safe pure Rust implementation of Git

  • Project mention: [Gitoxide in October] The first security issue and usable `gix status` | /r/rust | 2023-11-23
  • ratatui

    Rust library that's all about cooking up terminal user interfaces (TUIs) πŸ‘¨β€πŸ³πŸ€

  • Project mention: Fast memory vulnerabilities, written in 100% safe Rust | news.ycombinator.com | 2024-02-20

    > If someone plopped me in front of a rust codebase I'd be at the mercy of the manual for quite a long time.

    This is not a representative sample of Rust. That's explicitly triggering edge cases which requires abuse of syntax you wouldn't normally see.

    Check out this for something more realistic that anyone should understand https://github.com/ratatui-org/ratatui/blob/main/examples/ca...

  • ffsend

    :mailbox_with_mail: Easily and securely share files from the command line. A fully featured Firefox Send client.

  • jj

    A Git-compatible VCS that is both simple and powerful

  • Project mention: Why Don't I Like Git More? | news.ycombinator.com | 2024-04-05
  • 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
  • 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

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

  • Apnic: Cgnat is harming internet innovation (2022)

    2 projects | news.ycombinator.com | 26 Apr 2024
  • Nrr: Minimal, fast NPM scripts runner

    1 project | news.ycombinator.com | 25 Apr 2024
  • Measuring startup and shutdown overhead of several code interpreters

    2 projects | dev.to | 17 Apr 2024
  • Nsh: Command-line shell like fish, but Posix compatible and written in Rust

    1 project | news.ycombinator.com | 13 Apr 2024
  • Show HN: Tu – Convert natural language date/time to UTC

    5 projects | news.ycombinator.com | 12 Apr 2024
  • ReductStore CLI Client now in Rust

    2 projects | dev.to | 9 Apr 2024
  • Why Don't I Like Git More?

    4 projects | news.ycombinator.com | 5 Apr 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 1 May 2024
    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. Learn more β†’

Index

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

Project Stars
1 bat 46,497
2 ripgrep 44,901
3 fd 31,581
4 hyperfine 19,952
5 zoxide 18,590
6 spotify-tui 16,572
7 navi 14,337
8 asciinema 13,199
9 hurl 10,994
10 gping 10,289
11 xsv 10,089
12 tokei 10,006
13 onefetch 8,985
14 genact 8,935
15 bottom 8,906
16 Bandwhich 8,671
17 bore 7,994
18 gitoxide 7,939
19 ratatui 7,834
20 ffsend 6,839
21 jj 6,673
22 grex 6,640
23 websocat 6,511

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