How aadith47/github-profile-analyzer works
GitHub Profile Analyzer is a command-line application that fetches a user profile and repositories, computes repository and profile-quality metrics, scores the profile, plots language usage, and requests an AI-generated report. The sampled entry point owns these calls and prints their results. The README also names the principal capabilities represented here; source excerpts support the detailed wiring shown.
Main entry points: main.py Workflow entry · github_api.py GitHub API client · ai_analyzer.py AI report generation · analyzer.py Repository analysis
Components 10
CLI entry
- Workflow entry
main.py
GitHub data
- GitHub API client
app/github_api.py
Profile analysis
- Repository analysis
app/analyzer.py - Profile scoring
app/scorer.py
Reports and display
- Language chart
app/visualizer.py - AI report generation
app/ai_analyzer.py
Other components
- GitHub user
- GitHub REST API
- Gemini service
- Console and plot
Connections 16
- GitHub user → Workflow entry: enters username
- Workflow entry → GitHub API client: requests profile
- Workflow entry → GitHub API client: requests repositories
- GitHub API client → GitHub REST API: fetches data
- GitHub REST API → GitHub API client: returns JSON
- GitHub API client → Workflow entry: returns user and repos
- Workflow entry → Repository analysis: builds dataframe and metrics
- Repository analysis → Workflow entry: returns metrics and classifications
- Workflow entry → Profile scoring: calculates score
- Profile scoring → Workflow entry: returns score
- Workflow entry → Language chart: plots language distribution
- Workflow entry → AI report generation: requests profile report
- AI report generation → Gemini service: generates report
- Gemini service → AI report generation: returns report text
- AI report generation → Workflow entry: returns report
- Workflow entry → Console and plot: prints results and shows plot