#git #statistics #contributions #tui #git-repository

bin+lib git-contribution-analyzer

A TUI-based tool for analyzing git repository contributions with detailed statistics

1 unstable release

new 0.1.0 May 12, 2025

#2331 in Command line utilities

MIT license

38KB
932 lines

Git Contribution Analyzer

A TUI-based tool written in Rust for analyzing git repository contributions.

Features

  • Interactive TUI interface
  • Detailed contribution statistics
  • Navigate contributions with arrow keys
  • Shows author details and commit metrics
  • Export functionality for analysis results

Prerequisites

  • Rust (latest stable version recommended)
  • Git (for analyzing repositories)

Building from Source

  1. Clone the repository:

    git clone https://github.com/yourusername/git-contribution-analyzer.git
    cd git-contribution-analyzer
    
  2. Build the project:

    cargo build --release
    

    The binary will be available at target/release/git-contribution-analyzer

Installation


### From Local Build

```bash
cargo install --path .

Basic Usage

Analyze a Git Repository

git-contribution-analyzer --path /path/to/your/git/repository

Available Command Line Options

USAGE:
    git-contribution-analyzer [OPTIONS] --path <PATH>

OPTIONS:
    -h, --help           Print help information
    -p, --path <PATH>    Path to the git repository to analyze
    -o, --output <PATH>  Optional: Export results to specified file (JSON format)
    -V, --version        Print version information

Controls (TUI Interface)

  • / : Navigate through contributor list
  • Enter : View detailed stats for selected contributor
  • q : Quit the application
  • ? : Show help dialog

Dependencies

~9–23MB
~254K SLoC