Know your code better.

A Rust CLI/TUI tool for analyzing local and GitHub repositories.
Contributor stats. Activity heatmaps. File metrics. Zero config.
Analyze any public GitHub repo without cloning.

Who is it for?

Built for anyone who needs visibility into Git activity.

Team Leads

Track team member contributions and effort across repositories. See who's active, how workload is distributed, and where the team's energy goes.

Tech Leads

Get actionable insights across company repositories. Compare codebases side by side, spot activity trends, and make data-driven decisions about your engineering portfolio.

Individual Contributors

Understand your own contribution patterns. Track your output over time, see where your effort goes, and benchmark your activity across projects.

Features

Works with local repos and public GitHub repositories.

Contribution Statistics

Per-contributor breakdown: total commits, lines added/deleted, average lines per commit, files touched, and active days. Sorted by commit count with a totals row.

Activity Patterns

Most active weekday and hour per contributor. Average commits per active day and per active hour, both overall and on peak day/hour.

Activity Heatmap

GitHub-style 52-week commit grid in the terminal. One cell per day with ASCII intensity levels and month labels for orientation.

User Effort Deep-Dive

Detailed profile for a single contributor: date range, most/least active weekday, average commits, files, and lines per day and per commit, top file extensions.

Repository Comparison

Side-by-side analysis of two or more repos. Rankings by commits per active day, per-weekday breakdowns, and most/least active repository lists.

Repository Size Metrics

Language-agnostic codebase snapshot respecting .gitignore: file, directory, line, and byte counts, extension breakdown, and top 10 largest files.

Git Tools

Interactive branch cleanup from the TUI. Remove merged or stale branches with confirmation prompts and protected-branch guards.

Smart Caching

SQLite-backed cache. Re-analyzing unchanged repos is instant. Dirty worktrees always get fresh data.

TUI and CLI

Full-screen interactive TUI with background analysis and auto-discovery of nested repos. Scriptable CLI with JSON, Markdown, and plain-text table output.

GitHub Remote Analysis

Analyze any public GitHub repository without cloning. Pass a URL via --repo and get contributor stats, activity patterns, and language breakdown via the GitHub API. Prefers gh CLI when available for higher rate limits.

Installation

Two ways to get started.

Homebrew (macOS)

$ brew install maximgorbatyuk/tap/repolyze

# Verify installation
$ repolyze --version
repolyze 0.1.5

Cargo (cross-platform)

$ cargo install repolyze

# Verify installation
$ repolyze --version
repolyze 0.1.5

macOS (Apple Silicon & Intel) and Linux x86_64. Built with cargo-dist.

Usage

Analyze from the command line or launch the TUI.

Analyze the current directory

1$ repolyze analyze
2{
3  "repositories": [ ... ],
4  "summary": { ... }
5}

Analyze specific repos with Markdown output

1$ repolyze analyze \
2    --repo ./frontend \
3    --repo ./backend \
4    --format md \
5    --output report.md

Contributor analytics table

$ repolyze analyze users-contribution --format table
Period:    2026-03-10 16:07:16 .. 2026-03-14 15:04:17
Projects:  1 repository
Folder:    /Users/dev/projects/my-app
Mode:      Single repository
Elapsed:   0.024s

Per-contributor commit counts, lines modified, and files touched.

Email                        Commits  Lines Modified  Lines per commit  Files Touched
---------------------------  -------  --------------  ----------------  -------------
john@doe.kz                       51           12877            252.49             32
maxim.doe@example.com              2            1724            862.00              9
kexsonoid900@example.com           1            1427           1427.00             10
---------------------------  -------  --------------  ----------------  -------------
Total                             54           16028            296.81             51

Activity heatmap (TUI view)

Daily commit activity over the past year, grouped by week.

      2025-03-17 .. 2026-03-17

     Mar       Apr       May       Jun       Jul  ...
Mon              ...
                 ...
Wed              ...
                 ...
Fri              ...

       0   1-3   4-6   7-9   10-12

Compare repositories side by side

1$ repolyze compare \
2    --repo ~/projects/api-v1 \
3    --repo ~/projects/api-v2

Analyze a GitHub repository (no clone needed)

1$ repolyze analyze contribution \
2    --repo https://github.com/owner/repo \
3    --format table
4
5# Or open in the TUI directly:
6$ repolyze --repo https://github.com/owner/repo

Launch the interactive TUI

1$ repolyze
2# or explicitly:
3$ repolyze tui

See it in action

Real output from a single command.

$ repolyze analyze users-contribution --format table

Period:    2026-03-10 16:07:16 .. 2026-03-14 15:04:17
Projects:  1 repository
Folder:    /Users/dev/projects/my-app
Mode:      Single repository
Elapsed:   0.024s

Per-contributor commit counts, lines modified, and files touched.

Email                        Commits  Lines Modified  Lines per commit  Files Touched
---------------------------  -------  --------------  ----------------  -------------
john@doe.kz                       51           12877            252.49             32
maxim.doe@example.com              2            1724            862.00              9
kexsonoid900@example.com           1            1427           1427.00             10
---------------------------  -------  --------------  ----------------  -------------
Total                             54           16028            296.81             51