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 618ab30ad6
fix
2 days ago
.github rename vercel folder to web 1 week ago
.vscode Add devcontainer/codespace config (#857) 3 years ago
ascii Bump owo-colors from 4.2.3 to 4.3.0 (#1699) 4 weeks ago
assets fix 2 days ago
benches bump cargo edition to 2024 3 months ago
docs bump version 5 days ago
image Bump image from 0.25.9 to 0.25.10 (#1711) 6 days ago
manifest Bump strum from 0.27.2 to 0.28.0 (#1700) 3 weeks 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 always show ascii-language when provided by CLI (#1713) 5 days ago
tests bump cargo edition to 2024 3 months ago
.editorconfig Revert "Flake devShell (#1549)" 12 months ago
.gitattributes rename vercel folder to web 1 week ago
.gitignore Revert "Flake devShell (#1549)" 12 months ago
.mailmap fix .mailmap 2 years ago
.rustfmt.toml bump cargo edition to 2024 3 months ago
.tokeignore rename vercel folder to web 1 week ago
CHANGELOG.md fix links in changelog 5 days ago
CONTRIBUTING.md Update CONTRIBUTING.md 1 year ago
Cargo.lock bump version 5 days ago
Cargo.toml bump version 5 days ago
LICENSE.md add contributors file 8 years ago
Makefile change default target in Makefile 2 years ago
README.md Add cleanup command after installing onefetch 1 month ago
build.rs cargo clippy pedantic 10 months ago
languages.yaml feat: add Slint language support (#1710) 6 days ago

README.md

Onefetch - Command-line Git information tool

Onefetch logo

Crates.io Version GitHub Actions Workflow Status help wanted MSRV

Homepage | Installation | Documentation


Onefetch is a command-line Git information tool 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.

Screenshot 1 Screenshot 2

Installation

Onefetch is available on Linux, macOS, and Windows platforms. Binaries for Linux, Windows, and macOS are available on the release page.

Linux

  • Ubuntu

    wget https://github.com/o2sh/onefetch/releases/latest/download/onefetch_amd64.deb && sudo dpkg -i ./onefetch_amd64.deb && rm onefetch_amd64.deb
    
  • Arch Linux

    pacman -S onefetch
    
  • openSUSE

    zypper install onefetch
    

macOS

brew install onefetch

Windows

winget install onefetch

Usage

onefetch /path/of/your/repo

Or

cd /path/of/your/repo
onefetch

Customization

Onefetch can be customized via command-line arguments 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.

Contributing

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.