| Crates.io | moggu |
| lib.rs | moggu |
| version | 0.1.1 |
| created_at | 2025-08-17 12:16:24.28207+00 |
| updated_at | 2025-08-17 12:30:29.309124+00 |
| description | A lightning-fast TUI image processing tool with 21+ professional filters in under 200ms |
| homepage | https://github.com/Aditya-1304/moggu |
| repository | https://github.com/Aditya-1304/moggu |
| max_upload_size | |
| id | 1799364 |
| size | 209,125 |
A lightning-fast, terminal-based image processing application built in Rust that delivers professional-grade filters in under 200ms, even for large images.
chafa and viu rendering enginescargo install moggu
git clone https://github.com/yourusername/moggu
cd moggu
cargo install --path .
# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
For the best image preview experience, install chafa:
# Arch Linux / Manjaro
sudo pacman -S chafa
# Ubuntu / Debian
sudo apt update && sudo apt install chafa
# Fedora / RHEL / CentOS
sudo dnf install chafa
# or for older versions:
sudo yum install chafa
# openSUSE
sudo zypper install chafa
# Alpine Linux
sudo apk add chafa
# Gentoo
sudo emerge media-gfx/chafa
# NixOS
nix-env -iA nixpkgs.chafa
# or add to configuration.nix:
# environment.systemPackages = [ pkgs.chafa ];
# Homebrew (recommended)
brew install chafa
# MacPorts
sudo port install chafa
# Nix (if using Nix on macOS)
nix-env -iA nixpkgs.chafa
# Windows Subsystem for Linux (WSL) - Ubuntu
sudo apt update && sudo apt install chafa
# Chocolatey (if available)
choco install chafa
# Scoop (if available)
scoop install chafa
# MSYS2
pacman -S mingw-w64-x86_64-chafa
# Manual Installation:
# 1. Download from: https://github.com/hpjansson/chafa/releases
# 2. Extract to a directory in your PATH
# 3. Or use Windows Terminal with WSL for best experience
Alternative: Cross-platform Rust-based image viewer
# If chafa is not available, install viu (pure Rust)
cargo install viu
# Or sixel-image (for terminals with sixel support)
cargo install sixel-image
Terminal Compatibility Check:
# Test if your terminal supports chafa
echo "Testing chafa..." && chafa --version
# Test image display (replace with any image file)
chafa your-image.jpg
# Test viu if installed
viu your-image.jpg
Note: For Windows users, we highly recommend using Windows Terminal with WSL2 for the best experience, as native Windows terminals have limited image display capabilities.
cargo runf for input, o for output) or type paths↑/↓ or j/k, cycle categories with cv to view results inlineq - Quit applicationh - Toggle helpEsc - Go backr - Reset to startf - Open file browser (input)o - Open file browser (output)Tab/Enter - Next field↑/↓ or j/k - Navigate filtersc - Cycle categoriesEnter - Select filterTab/Enter - Next parameter↑ - Previous parameterBackspace - Deletev - View processed imagec - Clear displayed imagesr - Process another imagegit checkout -b feature-namegit commit -am 'Add feature'git push origin feature-nameMIT License - see LICENSE for details.
**⚡ Built for speed. Designed for productivity. Perfect for