Git repository summary in your terminal
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
o2sh 89ed05d587
remvoe codeowners
2 months ago
.devcontainer Bump devcontainer OS version (#1461) 1 year ago
.github remvoe codeowners 2 months ago
.vscode Add devcontainer/codespace config (#857) 3 years ago
ascii fix build errors 6 months ago
assets rename assets 2 months ago
benches fix criterion warngin 8 months ago
docs rename assets 2 months ago
image No unsafe (#1646) 2 months ago
manifest cargo upgrade 6 months ago
resources update license cache dataset 4 years ago
scripts Add script to preview/validate Nerd Fonts (#1492) 1 year ago
snap fix phrasing description 3 years ago
src increase default color resolution for sixel 2 months ago
tests Support repos "without source code" (#1580) 8 months ago
.editorconfig Revert "Flake devShell (#1549)" 10 months ago
.gitattributes Set snapshot language to plain text (#1003) 3 years ago
.gitignore Revert "Flake devShell (#1549)" 10 months ago
.mailmap fix .mailmap 2 years ago
.rustfmt.toml Convert line endings to LF (#815) 3 years ago
.tokeignore add .tokeignore 3 years ago
CHANGELOG.md update changelog 9 months ago
CONTRIBUTING.md Update CONTRIBUTING.md 1 year ago
Cargo.lock cargo update 2 months ago
Cargo.toml update msrv 2 months ago
LICENSE.md add contributors file 7 years ago
Makefile change default target in Makefile 2 years ago
README.md rename assets 2 months ago
build.rs cargo clippy pedantic 8 months ago
languages.yaml remove comment 8 months ago

README.md

Command-line Git information tool written in Rust

Github release Build Status help wanted MSRV

Homepage | Installation | Documentation


Onefetch is a command-line Git information tool written in Rust that displays project information and code statistics for a local Git repository directly in your terminal.

The tool works completely offline with a focus on performance and customizability.

By default, repository information is shown alongside the dominant language’s ASCII logo, but you can configure onefetch to display an image on supported terminals.

It automatically detects open-source licenses from their text and provides valuable information such as language distribution, pending changes, dependency counts (per package manager), top contributors (by number of commits), disk usage, creation date, lines of code (LOC), and more.

Onefetch can be customized via command-line options to display exactly what you want, the way you want it: adjust the text styling, disable info lines, ignore files and directories, output in multiple formats (JSON, YAML), etc.

Currently, onefetch supports more than 100 different programming languages; if your language of choice isn't supported: Open an issue and support will be added.

Contributions are very welcome! See CONTRIBUTING for more info.