Top 23 Rust Command-line Projects
A cat(1) clone with wings.Project mention: Which AUR-helper is recommended? | reddit.com/r/archlinux | 2021-04-10
Right now Paru and Yay are almost equivalent. Paru has some extra features which you might never even use, such as bat compatibility. Since Paru is newer than Yay you should expect more bugs with it. (I haven't encountered any bugs myself with either) Both Yay and Paru should work just fine, but I would probably go with Paru myself.
ripgrep recursively searches directories for a regex pattern while respecting your gitignoreProject mention: Guide on cross-compilation & publishing binaries? | reddit.com/r/rust | 2021-04-12
Scout APM - Leading-edge performance monitoring starting at $39/month. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
A simple, fast and user-friendly alternative to 'find'
A modern replacement for ‘ls’.Project mention: 리눅스 명령어 ls를 현대적으로 대체할 수 있는 명령어 | dev.to | 2021-04-06
A command-line benchmarking toolProject mention: Experiments with h3 clients + Envoy | dev.to | 2021-04-12
I used the excellent hyperfine for testing. Please note that benchmarking is hard and this is in no way a proper benchmark. This is more for fun, learning how to build and use new h3 clients and working out how to configure h3 / QUIC for Envoy. Please take all results with a huge grain of salt
A fast CSV command line toolkit written in Rust.Project mention: xsv | news.ycombinator.com | 2021-04-10
A command-line hex viewerProject mention: [WIP] A colorized alternative to hexdump | reddit.com/r/unixporn | 2021-02-05
Have you tried hexyl?
A full featured, fast Command Line Argument Parser for RustProject mention: stubr: Wiremock in Rust | reddit.com/r/rust | 2021-04-02
It also comes in different flavours: * a Rust crate e.g. Stubr::start("tests/stubs/ping.json").await * a cli installable with cargo install stubr-cli and with completion files generation thanks to clap * a Docker image * a Helm chart with HPA (Horizontal Pod Autoscaler)
A new way to see and navigate directory trees : https://dystroy.org/brootProject mention: Show HN: A hackable, minimal, fast TUI file explorer | news.ycombinator.com | 2021-04-05
Build terminal user interfaces and dashboards using RustProject mention: Blessed: Curses-like library with high level terminal interface API for Node.js | news.ycombinator.com | 2021-03-31
A command-line tool to generate, analyze, convert and manipulate colors (by sharkdp)Project mention: Colin - Cute color information tool. | reddit.com/r/rust | 2021-04-08
How does this compare to pastel?
Git repository summary on your terminalProject mention: [Onefetch v2.8.0] Git repository summary on your terminal | reddit.com/r/github | 2020-12-24
Tool: https://github.com/o2sh/onefetch Art by リヤ・クブシノブ
Command-line DNS clientProject mention: A tiny command line DNS client with support for UDP, DoT, DoH, and DoQ. | reddit.com/r/commandline | 2021-04-05
I think dog is a great tool. It has similar functionality to q with the main lacking feature being DoQ support. Other than that I totally recommend dog, especially as it's been around longer than q so it's had more time for testing.
Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functionsProject mention: Exploring the methods of looking into Ethereum’s transaction pool | dev.to | 2020-12-23
Subscriptions is real-time streaming of data from server to client through WebSocket. You will need a constantly active connection to stream such events. You cannot use curl for this and have to use a WebSocket client like websocat if you want to access it via command line. Once executed, a stream of pending transaction IDs will start flowing in.
🌟 For when you really just want to serve some files over HTTP right now!Project mention: My weekend yak shave -- kcup serves a single file from disk or STDIN over HTTP with Rust and Go | reddit.com/r/rust | 2021-03-26
For an out-of-the-box solution, check out miniserve. It’s a popular Rust application purpose-built to just serve some files (or a single file) over HTTP.
A faster way to navigate your filesystemProject mention: How you guys are navigating files? | reddit.com/r/linux | 2021-04-11
Intuitive find & replace CLI (sed alternative)Project mention: Debian Running on Rust Coreutils | news.ycombinator.com | 2021-03-09
Sed isn't part of the coreutils, though, so this would be outside of the scope of at least this project.
There is https://github.com/chmln/sd written in Rust, but it's far from a sed replacement – it's reducing it to search and replace for fixed strings, as far as I can tell.
A command line progress reporting library for RustProject mention: Hey Rustaceans! Got an easy question? Ask here (15/2021)! | reddit.com/r/rust | 2021-04-12
Do you mean you want something like Python's tqdm for reporting progress through an iterator? The usual solution for that would be the indicatif crate: https://crates.io/crates/indicatif
:stars: Manage your shell commands.Project mention: Tool to queue tasks and add/remove them? | reddit.com/r/archlinux | 2021-03-09
Have your heard of pueue? I'm not sure if it lets you limit the active jobs to two at a time because I didn't have a need for that yet, but otherwise it seems to tick the boxes.
Cross platform terminal library rustProject mention: ttyper - a typing test in the terminal written in Rust | reddit.com/r/rust | 2021-03-15
Me neither - I am speaking from experience, not from having read specifications on control codes or anything. This got me searching a bit and thought I'd share here what I found: - github.com/crossterm-rs/crossterm/issues/504 - particular this exact line of proposed code I'm guessing might fix the issue I'm seeing. - also from "Control char" table in "ANSI Escape Code" Wikipedia article i found:
Readline Implementation in RustProject mention: What would SQLite look like if written in Rust? — Part 1 | dev.to | 2021-02-16
The REPL logic is pretty straight forward, basically we will need an infinite loop that prints a prompt, gets an input line, validates and then processes that line. I decided to go with the crate rustyline, which is already pretty mature, memory efficient and already solved a lot of the issues we would have to deal with, even from the user experience side, for example, providing hints and auto-completion in real time, which is a great feature.
Common rust command-line macros and utilities, to write shell-script like tasks in a clean, natural and rusty way
Quickly build cool CLI apps in Rust.
What are some of the best open-source Command-line projects in Rust? This list will help you: