Beautiful Git repository statistics and insights in your terminal
Project description
๐ Git Stats CLI
Beautiful Git repository statistics and insights right in your terminal โจ
Get instant insights into your Git repositories with gorgeous, colorful terminal output. Perfect for developers, team leads, and anyone who wants to understand their codebase better.
๐ฏ Features
- ๐ Repository Summary - Total commits, authors, files, and line changes
- ๐ฅ Top Contributors - See who's contributing the most
- ๐ฅ Hotspots - Find the most frequently changed files
- ๐ Activity Patterns - Discover when your team is most active
- ๐จ Beautiful Output - Rich, colorful terminal UI
- โก Fast & Lightweight - Analyze repos in seconds
- ๐ Flexible Filtering - Filter by author, date range, and more
๐ฆ Installation
Via pip (Recommended)
pip install beautiful-git-stats
From source
git clone https://github.com/serimoth/beautiful-git-stats.git
cd beautiful-git-stats
pip install -e .
๐ Quick Start
# Show repository summary
git-stats summary
# Show top 10 contributors
git-stats contributors
# Show most changed files (hotspots)
git-stats hotspots
# Show activity patterns by day and hour
git-stats activity
๐ Usage Examples
Repository Summary
Get a quick overview of your repository:
git-stats summary /path/to/repo
Output:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ Repository Summary โ
โโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโค
โ Total Commits โ 1,234 โ
โ Total Authors โ 15 โ
โ Total Files โ 456 โ
โ Lines Added โ +45,678 โ
โ Lines Deleted โ -12,345 โ
โ First Commit โ 2023-01-15 โ
โ Last Commit โ 2026-05-20 โ
โ Active Days โ 234 โ
โโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโ
Filter by Author
git-stats summary --author "John Doe"
Filter by Date Range
git-stats summary --since 2026-01-01 --until 2026-05-20
Top Contributors
See who's contributing the most:
git-stats contributors --limit 5
Find Hotspots
Identify files that change frequently (potential refactoring candidates):
git-stats hotspots --limit 10
Activity Patterns
Understand when your team is most productive:
git-stats activity
๐จ Screenshots
๐ ๏ธ Advanced Usage
Analyze Multiple Repositories
for repo in ~/projects/*; do
echo "Analyzing $repo"
git-stats summary "$repo"
done
Export to JSON (Coming Soon)
git-stats summary --format json > stats.json
๐ค Contributing
Contributions are welcome! Here's how you can help:
- ๐ Report bugs
- ๐ก Suggest new features
- ๐ง Submit pull requests
- ๐ Improve documentation
- โญ Star this repo if you find it useful!
Development Setup
git clone https://github.com/serimoth/beautiful-git-stats.git
cd beautiful-git-stats
pip install -e ".[dev]"
pytest
๐ Support This Project
If you find Git Stats CLI useful, consider supporting its development:
- โญ Star this repository
- ๐ฆ Share on Twitter
- โ Support on Ko-fi
Your support helps maintain and improve this tool!
๐ License
MIT License - see LICENSE file for details
๐ Acknowledgments
Built with:
๐ฌ Contact
- GitHub: @serimoth
- Email: seri_moth@yahoo.com
Made with โค๏ธ by developers, for developers
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file beautiful_git_stats-1.0.0.tar.gz.
File metadata
- Download URL: beautiful_git_stats-1.0.0.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e968eb4d93329a8f03d37f51aa634efead2f485e80b9050c45fc8258b14000bb
|
|
| MD5 |
d0b23f90cafdc5514ef39237733e42a8
|
|
| BLAKE2b-256 |
4d1167b932d1b6a914c4cf1d8eca15ce9f527f9672acd386dd7d94ff5fa97c65
|
File details
Details for the file beautiful_git_stats-1.0.0-py3-none-any.whl.
File metadata
- Download URL: beautiful_git_stats-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4f48587f615669f5f00adc738b8f278ad106369c8165ce8c2703631cc731cd2
|
|
| MD5 |
e1d4aea3b39c19dbd0cd331a62fe066d
|
|
| BLAKE2b-256 |
c85c04d822deba64b3ea73036b0e39bf84040002492d9a204eb4f53a1178488b
|