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.
 
 
 
 
Ossama Hjaji c1b2c4fcf5
Update README.md formatting and links
2 weeks ago
.devcontainer Bump devcontainer OS version (#1461) 1 year ago
.github Bump actions/checkout from 5 to 6 (#1635) 3 weeks ago
.vscode Add devcontainer/codespace config (#857) 3 years ago
ascii fix build errors 4 months ago
assets update screenshot 2 weeks ago
benches fix criterion warngin 7 months ago
docs Bump js-yaml from 4.1.0 to 4.1.1 in /docs/vercel (#1630) 4 weeks ago
image Bump libc from 0.2.174 to 0.2.177 (#1625) 3 weeks ago
manifest cargo upgrade 4 months ago
resources update license cache dataset 3 years ago
scripts Add script to preview/validate Nerd Fonts (#1492) 1 year ago
snap fix phrasing description 3 years ago
src fix comment spacing 3 weeks ago
tests Support repos "without source code" (#1580) 6 months ago
.editorconfig Revert "Flake devShell (#1549)" 9 months ago
.gitattributes Set snapshot language to plain text (#1003) 3 years ago
.gitignore Revert "Flake devShell (#1549)" 9 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 8 months ago
CONTRIBUTING.md Update CONTRIBUTING.md 11 months ago
Cargo.lock Bump enable-ansi-support from 0.2.1 to 0.3.1 (#1647) 3 weeks ago
Cargo.toml update msrv 2 weeks ago
LICENSE.md add contributors file 7 years ago
Makefile change default target in Makefile 2 years ago
README.md Update README.md formatting and links 2 weeks ago
build.rs cargo clippy pedantic 7 months ago
languages.yaml remove comment 6 months ago

README.md

Command-line Git information tool written in Rust

cargo Build Status help wanted MSRV

Wiki | Installation | Getting Started


Onefetch is a command-line Git information tool written in Rust that displays project information and code statistics for a local Git repository directly to your terminal. The tool is completely offline - no network access is required.

By default, the repo's information is displayed alongside the dominant language's logo, but you can further configure onefetch to instead use an image - on supported terminals -, a text input or nothing at all.

It automatically detects open source licenses from texts and provides the user with valuable information like language distribution, pending changes, number of dependencies (by package manager), top contributors (by number of commits), size on disk, creation date, LOC (lines of code), etc.

Onefetch can be configured via command-line flags to display exactly what you want, the way you want it to: you can customize ASCII/Text formatting, disable info lines, ignore files & directories, output in multiple formats (Json, Yaml), etc.

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

Contributions are very welcome! See CONTRIBUTING for more info.

Artwork by @Kuvshinov_Ilya