A beautiful command-line tool to analyze GitHub profiles and repositories.
- π Profile Overview β Display user info, stats, and account age
- β Top Repositories β View most-starred repos with details
- π£οΈ Language Breakdown β Analyze code languages across repos
- π Export β Save analysis as Markdown
# Clone and install
git clone https://github.com/antorm1/gh-profile-cli.git
cd gh-profile-cli
pip install -e .
# Or install dependencies only
pip install -r requirements.txt# Analyze any GitHub profile
gh-profile antorm1
# Show top 10 repos
gh-profile antorm1 --top 10
# Include language breakdown
gh-profile antorm1 --langs
# Export results to markdown
gh-profile antorm1 --langs --export report.md
# Combine options
gh-profile octocat --top 3 --langs --export octocat.mdThe tool displays:
- Profile card with bio, location, and stats
- Top repositories table with stars, forks, and languages
- Language breakdown with byte counts and percentages
- Overall summary with account age
- Python 3.8+
requestsβ HTTP requestsrichβ Beautiful terminal outputclickβ CLI framework
gh-profile-cli/
βββ gh_profile/
β βββ __init__.py # Package metadata
β βββ main.py # CLI entry point
βββ pyproject.toml # Build configuration
βββ requirements.txt # Dependencies
βββ README.md # This file
MIT License β see LICENSE for details.