TL;DR — Quick Summary
onefetch is neofetch for Git repos. Displays project name, language breakdown, contributors, license, lines of code, and ASCII art logo — all from one command.
onefetch is neofetch for Git repos. One command, beautiful ASCII art, complete project info at a glance.
Installation
# macOS
brew install onefetch
# Arch Linux
sudo pacman -S onefetch
# Cargo
cargo install onefetch
Usage
# Display repo info (run inside a git repo)
onefetch
# Custom ASCII art / image
onefetch --image logo.png
onefetch --ascii-language python
# JSON output
onefetch --output json
# Disable specific fields
onefetch --disabled-fields license version
onefetch --show-email
# Custom colors
onefetch --ascii-colors 1 2 3
# Specific repo
onefetch /path/to/repo
# No ASCII art
onefetch --no-art
# Include bot commits
onefetch --include-hidden
Output Includes
| Field | Description |
|---|---|
| Project | Repo name and description |
| Language | Breakdown by percentage |
| Authors | Top contributors with commit count |
| License | Detected license type |
| Lines of Code | Total LOC |
| Commits | Total commit count |
| Created | Repository creation date |
| Version | Latest tag/release |
Summary
- onefetch shows Git repository info with ASCII art (neofetch for repos)
- Auto-detects languages, license, contributors, lines of code
- Custom images, JSON output, field filtering
- 100+ language ASCII art logos built-in
- Written in Rust — fast, single binary