Ben Chuanlong Du's Blog

It is never too late to learn.

Great Command Line Tools Developed in Rust

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

GQL

GQL is a query language with a syntax very similar to SQL with a tiny engine to perform queries on .git files instance of database files, the engine executes the query on the fly without the need to create database files or convert .git files into any other format, note that all Keywords in GQL are case-insensitive similar to SQL.

tealdeer

tealdeer is a very fast implementation of tldr in Rust: Simplified, example based and community-driven man pages.

halp

halp aims to help find the correct arguments for command-line tools by checking the predefined list of commonly used options/flags. Additionally, it provides a prompt for quick access to the manual page or cheat sheet of the given command.

Atuin

Atuin replaces your existing shell history with a SQLite database, and records additional context for your commands. Additionally, it provides optional and fully encrypted synchronisation of your history between machines, via an Atuin server.

bat

bat is a cat clone with syntax highlighting and Git integration.

exa

exa is a modern replacement for ls.

procs

procs is a modern replacement for ps written in Rust.

sd

sd is an intuitive find & replace CLI (sed alternative).

Summarize a Project

git-cliff

git-cliff can generate changelog files from the Git history by utilizing conventional commits as well as regex-powered custom parsers. The changelog template can be customized with a configuration file to match the desired format.

tokei

Tokei is a program that displays statistics about your code. Tokei will show the number of files, total lines within those files and code, comments, and blanks grouped by language.

onefetch

OneFetch is a command-line Git information tool written in Rust that displays project information and code statistics for a local Git repository directly to your terminal. The tool is completely offline - no network access is required.

System Monitoring

bottom

bottom is a customizable cross-platform graphical process/system monitor for the terminal. It supports Linux, macOS, and Windows.

sniffnet

sniffnet is an application to comfortably monitor your network traffic.

trippy

Trippy combines the functionality of traceroute and ping and is designed to assist with the analysis of networking issues.

gping

gping is ping with a graph.

bandwhich

bandwhich is a CLI utility for displaying current network utilization by process, connection and remote IP/hostname.

Disk Usage

dust

Dust is a more intuitive version of du in rust.

dua-cli

dua-cli

ripgrep

ripgrep recursively searches directories for a regex pattern while respecting your gitignore.

igrep

igrep runs grep (ripgrep's library) in the background, allows interactively pick its results and open selected match in text editor of choice (vim by default).

broot

broot provides a new better way to see and navigate directory trees.

Git Tools

gitui

GitUI provides you with the comfort of a git GUI but right in your terminal .

gitoxide

gitoxide is an implementation of git written in Rust for developing future-proof applications which strive for correctness and performance while providing a pleasant and unsurprising developer experience.

git-leave

git-leave checks for unsaved or uncommitted changes on your machine.

Stacked Git

Stacked Git , StGit for short, is an application for managing Git commits as a stack of patches.

grex

grex is a command-line tool and Rust library for generating regular expressions from user-provided test cases .

zoxide

zoxide is a smarter cd command for your terminal.

delta

delta is a syntax-highlighting pager for git, diff, and grep output.

difftastic

Difftastic is a structural diff tool that compares files based on their syntax.

ruff

ruff is an extremely fast Python linter, written in Rust.

Rome

Rome provides unified developer tools for JavaScript, TypeScript, and the web.

carbonyl

Carbonyl is a Chromium based browser built to run in a terminal.

speedtest-rs

speedtest-rs a tool like speedtest-cli, but in Rust .

mprocs

mprocs runs multiple commands in parallel and shows output of each command separately.

Security

Nosey Parker

Nosey Parker is a command-line program that finds secrets and sensitive information in textual data and Git history.

rtx

rtx is a version manager for multiple programming languages.

Good Ones but Which I Won't Use

nushell

References

Comments