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 7c0446ce71
bump version
1 month ago
.devcontainer Bump devcontainer OS version (#1461) 1 year ago
.github specify tag name for gh-release action 1 month ago
.vscode Add devcontainer/codespace config (#857) 3 years ago
ascii bump cargo edition to 2024 1 month ago
assets update readme 2 months ago
benches bump cargo edition to 2024 1 month ago
docs bump version 1 month ago
image bump cargo edition to 2024 1 month ago
manifest bump cargo edition to 2024 1 month 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 bump cargo edition to 2024 1 month ago
tests bump cargo edition to 2024 1 month 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 bump cargo edition to 2024 1 month ago
.tokeignore add .tokeignore 3 years ago
CHANGELOG.md update changelog 2 months ago
CONTRIBUTING.md Update CONTRIBUTING.md 1 year ago
Cargo.lock bump version 1 month ago
Cargo.toml bump version 1 month ago
LICENSE.md add contributors file 7 years ago
Makefile change default target in Makefile 2 years ago
README.md Update badge links in README.md 2 months ago
build.rs cargo clippy pedantic 8 months ago
languages.yaml remove comment 8 months ago

README.md

Onefetch - Command-line Git information tool

Crates.io Version GitHub Actions Workflow 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.