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.
 
 
 
 
Filip Czaplicki 87d4d5aa5d
Add colors to --help (#1633)
2 months ago
.devcontainer
.github Bump actions/setup-node from 5 to 6 (#1626) 3 months ago
.vscode
ascii fix build errors 6 months ago
assets Update msrv badge [Skip CI] 10 months ago
benches fix criterion warngin 8 months ago
docs Bump js-yaml from 4.1.0 to 4.1.1 in /docs/vercel (#1630) 2 months ago
image fix sixel 7 months ago
manifest cargo upgrade 6 months ago
resources
scripts
snap
src Add colors to --help (#1633) 2 months ago
tests Support repos "without source code" (#1580) 8 months ago
.editorconfig Revert "Flake devShell (#1549)" 10 months ago
.gitattributes
.gitignore Revert "Flake devShell (#1549)" 10 months ago
.mailmap
.rustfmt.toml
.tokeignore
CHANGELOG.md update changelog 10 months ago
CONTRIBUTING.md
Cargo.lock Add colors to --help (#1633) 2 months ago
Cargo.toml Add colors to --help (#1633) 2 months ago
LICENSE.md
Makefile
README.md Update README.md 4 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

cargo Build Status help wanted

العربية | Česky | 简体中文 | Deutsch | Español | فارسی | Français | Italiano | 日本語 | 한국어 | Русский | Türkçe | Polski

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

More: [Wiki] [Installation] [Getting Started]