lazywalker/rgrc has 39 GitHub stars and 3 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-09 09:17 UTC. Last push 2026-11-04.
rgrc - Rusty Generic Colouriser - just like grc but fast
What you can do
- Fast: 10x faster than original grc
- Rich Colorization: ANSI colors with count/replace support
- Compatible: Works with existing grc configuration files
- Shell Integration: Auto-generates aliases
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalrgrc - Rusty Generic Colouriser
A fast, Rust-based command-line tool that colorizes the output of other commands using regex-based rules. Drop-in replacement for grc with better performance.
Features
- Fast: 10x faster than original grc
- Rich Colorization: ANSI colors with count/replace support
- Compatible: Works with existing grc configuration files
- Shell Integration: Auto-generates aliases
- 80+ Commands: Pre-configured for common tools
- Smart Regex: Hybrid engine with optional fancy-regex support
- Lightweight: Minimal dependencies (2 core deps)
Quick Start
Installation
Shell (curl):
curl -sS https://raw.githubusercontent.com/lazywalker/rgrc/master/script/install.sh | sh
Cargo:
cargo install rgrc
Homebrew:
brew tap lazywalker/tap
brew install rgrc
Arch Linux:
yay -S rgrc
Alpine Linux:
# Enable the testing repository (add edge testing)
doas cp /etc/apk/repositories /etc/apk/repositories.bak
echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" | doas tee -a /etc/apk/repositories
doas apk update
doas apk add rgrc
NixOS:
nix-shell -p rgrc
Debian/Ubuntu:
# Download the latest .deb from releases and install
sudo dpkg -i rgrc_<version>_amd64.deb
Usage
# Colorize any command
rgrc ping -c 4 google.com
rgrc docker ps
rgrc df -h
# Set up aliases (recommended)
echo 'eval "$(rgrc --aliases)"' >> ~/.bashrc
source ~/.bashrc
# Then use commands directly
ping -c 4 google.com # automatically colorized
docker ps # automatically colorized
Supported Commands
System: df, free, ps, top, vmstat, iostat, uptime, mount
Network: ping, traceroute, netstat, ss, ip, curl, dig
Development: gcc, make, docker, kubectl, git, mvn, go
Files: ls, find, du, fdisk, lsof, stat
See full list in share/ directory
Options
Usage: rgrc [OPTIONS] COMMAND [ARGS...]
Options:
--color, --colour Override color output (on|off|auto)
--aliases Output shell aliases for available binaries
--all-aliases Output all shell aliases
--except CMD,.. Exclude commands from alias generation
--completions SHELL Print shell completion script for SHELL (bash|zsh|fish|ash)
--config, -c NAME Explicit config (df or conf.df); with a COMMAND runs it
--help, -h Show this help message
--version, -V Show installed rgrc version and exit
Configuration
Custom Rules
Create ~/.config/rgrc/conf.mycommand:
regexp=^ERROR
colours=red,bold
regexp=^WARNING
colours=yellow
regexp=^INFO
colours=green
Add to ~/.rgrc:
mycommand
conf.mycommand
Shell Completions
# Bash
rgrc --completions bash > /etc/bash_completion.d/rgrc
# Zsh
rgrc --completions zsh > ~/.zfunc/_rgrc
# Fish
rgrc --completions fish > ~/.config/fish/completions/rgrc.fish
Development Guide
See DEVELOPMENT.md for instructions on adding new commands.
License
MIT - see LICENSE for details.
Credits
Inspired by grc by Radovan Garabík and grc-rs by Lars Christensen.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,348 starspublic-apis/public-apis
A collective list of free APIs
497,597 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
446,790 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,253 stars