rice-2.0.0 has been yanked.
Rice
🍚 A modern, feature-rich system information tool written in Rust
Installation
From Crates.io (Recommended)
From Source
Docker
# Build and run with docker-compose
# Run with different commands
# Build and run directly
Requirements
- Rust 1.88+ (2021 edition)
- Platform: macOS, Linux, or Windows
Usage
Quick Start
# Default output with ASCII art and system info
# Use custom image (iTerm2/Kitty)
# Generate config file
Command Reference
# Show system information (neofetch-style with ASCII art)
# Show system info without ASCII art
# Show system info with custom image (iTerm2/Kitty)
# Generate config file and open in editor
# Enable verbose logging
# Output in JSON format
Examples
# Default output
# With custom image
# Without ASCII art
# JSON output
|
# Edit configuration
Configuration
Rice uses TOML configuration files.
Config Locations
- Linux/macOS:
~/.config/rice/config.toml - Windows:
%APPDATA%/rice/config.toml
Available Options
- Toggle ASCII art on/off
- Choose which system info to display
- Force specific OS logos
- Add custom commands
- Customize colors and themes
See config.example.toml for all available options.
Custom Commands
Add custom shell commands to display additional information:
[]
= "git branch --show-current"
= "date '+%H:%M:%S'"
= "curl -s 'wttr.in?format=%l:+%c+%t'"
= "curl -s ifconfig.me"
= "uptime | sed 's/.*up //'"
= "pmset -g batt | grep -o '[0-9]*%'"
Commands run when Rice executes. Failed or slow commands are skipped. Output limited to 100 characters.
JSON Format
Machine-readable output for scripting and automation:
Development
Building
Testing
Running
License
MIT License - see LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.