A fun CLI that displays random anime girls holding programming books in your terminal
- Dynamic terminal display with images rendered directly in your terminal
- Smart sizing that automatically adapts to your terminal dimensions
- Language-specific fetching with support for all major programming languages
- High-quality rendering using chafa with 256 colors and ordered dithering
For image rendering, install chafa:
Important
chafa is required for displaying images in the terminal. The CLI will not work without it.
# Ubuntu/Debian
sudo apt install chafa
# macOS
brew install chafa
# Arch Linux
sudo pacman -S chafa
# Fedora/RHEL
sudo dnf install chafa
# Nix
nix-env -iA nixpkgs.chafago install github.com/ashish0kumar/waifetch@latestgit clone https://github.com/ashish0kumar/waifetch.git
cd waifetch/
go build
sudo mv waifetch /usr/local/bin/
waifetch --help# Random image from any language
waifetch
# List all available languages
waifetch --list
# Specific languages
waifetch --lang Go
waifetch --lang "C++"
waifetch -l Rust
# Get help
waifetch --helpFor higher rate limits, set up a GitHub Personal Access Token:
- Go to GitHub Settings → Developer settings → Personal access tokens
- Click "Generate new token (classic)"
- Give it a name like "waifetch-cli"
- No scopes needed for public repositories
- Copy the token and set it as an environment variable:
export GITHUB_TOKEN="your_token_here"
waifetch| Authentication Method | Rate Limit |
|---|---|
| Unauthenticated | 60 requests/hour |
| Personal Access Token | 5,000 requests/hour |
Contributions are always welcome! Please feel free to open an issue or submit a pull request.
- chafa - High-quality terminal image rendering
- Cobra - CLI framework and command structure
- golang.org/x/term - Terminal size detection
Images are fetched from the excellent Anime-Girls-Holding-Programming-Books repository by cat-milk, which contains hundreds of high-quality images of anime girls featuring various programming books.
- Thanks to cat-milk for the amazing Anime-Girls-Holding-Programming-Books repository
- Built with love for the intersection of anime culture and programming
© 2025-present Ashish Kumar
