Beautiful git statistics in your terminal
- π Commit statistics at a glance
- ποΈ Activity heatmap by day of week
- β° Peak coding hours analysis
- π₯ Commit streaks tracking
- π Date range filtering
- π₯ Contributor insights
- π¨ Beautiful terminal output
- π€ JSON output for scripting
pip install gitstatsOr install from source:
git clone https://github.com/mloncarevich/gitstats.git
cd gitstats
pip install -e .# Show stats for current directory
gitstats stats
# Show stats for a specific repo
gitstats stats /path/to/repo
# Output as JSON (for scripting)
gitstats stats --json
# Filter by date range
gitstats stats --since 2025-01-01
gitstats stats --since 2025-01-01 --until 2025-12-31# Clone the repo
git clone https://github.com/mloncarevich/gitstats.git
cd gitstats
# Create virtual environment
python -m venv .venv
source .venv/bin/activate
# Install in development mode
pip install -e .MIT License - see LICENSE for details.