#git #git-version-control #version-control #jujutsu #terminal

app gitlocalstats

A high-performance local contribution graph for Git and Jujutsu (jj)

7 releases

Uses new Rust 2024

0.1.6 Feb 4, 2026
0.1.5 Jan 18, 2026

#1087 in Development tools

MIT license

175KB
432 lines

GitLocalStats

A high-performance local contribution graph for Git and Jujutsu (jj), written in Rust. It scans your local repositories and visualizes your commit history over the last 6 months directly in the terminal.

demo

Installation & Building

Ensure you have Rust installed.

# Clone and build
git clone https://github.com/jonaylor89/gitlocalstats.git
cd gitlocalstats
cargo build --release

# Run
./target/release/gitlocalstats --folder ~/Repos

Usage

CLI Arguments

gitlocalstats --folder <PATH> --email <EMAIL>
  • --folder: The root directory to recursively scan for repositories.
  • --email: Your email address to filter commits. Defaults to your global git config email.

Configuration

The app loads defaults from ~/.config/gitlocalstats/config:

folder=/Users/name/Repos
email=name@example.com

Features

  • Fast: Parallel directory scanning using rayon.
  • Git & Jujutsu: Supports both standard Git and the new Jujutsu VCS.
  • Dependency Lite: Optimized for fast compilation and small binary size.
  • Beautiful: ANSI-colored contribution graph in your terminal.

Dependencies

~20–29MB
~551K SLoC