// the find
o2sh/onefetch
Command-line Git information tool
Onefetch is a CLI tool that prints a neofetch-style summary of a local git repo: dominant languages, commit/author stats, and ASCII/image logo in the terminal. It's for developers who want a quick visual snapshot of a repo's makeup, mostly a terminal-flex tool rather than something you'd script against seriously.
Rust implementation means it's fast on even large repos with deep history, since it walks git objects directly instead of shelling out to git log repeatedly. Supports over 100 languages for detection and has JSON/YAML output modes, so it's not purely decorative. Image rendering backends (Kitty, iTerm, Sixel) are a nice touch for showing actual language logos instead of just ASCII art. Packaged widely (apt, brew, pacman, winget, snap), so installation friction is low.
It's a leaf tool — the JSON/YAML output exists but there's no evidence of a stable library API, so anyone wanting to embed this logic in another Rust project is mostly out of luck; you're stuck shelling out to the binary. Author/contributor dedup depends on the repo having a .mailmap file, which most repos don't maintain, so author counts are often inflated or wrong out of the box. It only reports on local git history, so churn/stats for shallow clones or CI checkouts (common case) will be misleading or incomplete. Pure vanity-metric tool: nothing here helps you understand code quality, dependencies' health, or security — it's stats and flair, not analysis.