Thanks to visit codestin.com
Credit goes to github.com

Skip to content

o2sh/onefetch

Repository files navigation

Onefetch - Command-line Git information tool

Onefetch logo

Crates.io Version GitHub Actions Workflow Status help wanted MSRV


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

    snap install onefetch
  • Arch Linux

    pacman -S onefetch
  • openSUSE

    zypper install onefetch

macOS

  • Homebrew

    brew install onefetch

Windows

  • Winget

    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.