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.
 
 
 
 
dependabot[bot] c99f3d1653
Bump the site group in /docs/web with 9 updates (#1712)
1 day ago
.github rename vercel folder to web 1 day ago
.vscode Add devcontainer/codespace config (#857) 3 years ago
ascii Bump owo-colors from 4.2.3 to 4.3.0 (#1699) 3 weeks ago
assets fix npm manifest parsing (#1693) 3 weeks ago
benches bump cargo edition to 2024 3 months ago
docs Bump the site group in /docs/web with 9 updates (#1712) 1 day ago
image Bump rustix from 1.1.3 to 1.1.4 (#1698) 3 weeks 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 fix npm manifest parsing (#1693) 3 weeks 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 day 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 day ago
CHANGELOG.md update changelog 3 months ago
CONTRIBUTING.md Update CONTRIBUTING.md 1 year ago
Cargo.lock Bump strum from 0.27.2 to 0.28.0 (#1700) 3 weeks ago
Cargo.toml rename vercel folder to web 1 day 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 4 weeks ago
build.rs cargo clippy pedantic 10 months ago
languages.yaml add support for Nushell (#1687) 1 month 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.