CODESEEDSign in
Explore projects
Pythonintermediatecli

Git Repository Archaeologist

CLI tool that analyzes a Git repo's history: active authors, knowledge silos, bus factor, files with the most churn.

5 steps

Project steps

  1. 01

    Commit history

    GitPython: iterates all commits with authors, dates, modified files.

  2. 02

    Churn analysis

    Calculates churn per file: how many times it was modified in the last N days.

  3. 03

    Knowledge map

    Per file, who are the authors and what % of lines each wrote (git blame).

  4. 04

    Bus factor

    Calculates bus factor: how many people would need to leave to lose >50% knowledge on any file.

  5. 05

    HTML Report

    Generates an HTML report with embedded matplotlib charts (base64 PNG).

Recommended resources

Ready to build this?

Fork the repo on GitHub and start building. A mentor will review your code when you open a PR.

5 steps

Tech stack

PythonGitPythonrichclickmatplotlib