How abinjoyal/github-activity-repository-reporter works
The product is a GitHub profile analytics reporter with Streamlit and CLI interfaces. Users request a single-user report or a two-developer comparison; each interface gathers profile, repository, language, and event data, computes metrics, and presents results or exports Markdown. The graph separates those analytics stages and the output layers. The excerpts show the CLI workflow in full and the dashboard’s data-fetching and comparison flow; the README documents dashboard capabilities whose implementation is outside the excerpts.
Main entry points: app.py Web Dashboard · main.py CLI Reporter · github_client.py GitHub Client · markdown_exporter.py Markdown Exporter
Components 14
User Interfaces
- Web Dashboard
app.py - CLI Reporter
main.py
GitHub Data
- GitHub Client
src/api/github_client.py
Analytics
- Repository Metrics
src/analytics/statistics.py - Language Metrics
src/analytics/statistics.py - Activity Metrics
src/analytics/statistics.py - Developer Match
src/analytics/statistics.py
Reports and Presentation
- Markdown Exporter
src/exporters/markdown_exporter.py - Markdown Report
- Console Formatter
src/utils/formatting.py - Charts and Dashboard
app.py
Other components
- User
- GitHub REST API
- CLI User
Connections 18
- User → Web Dashboard: uses
README.md - CLI User → CLI Reporter: runs
README.md - Web Dashboard → GitHub Client: fetches data
app.py - CLI Reporter → GitHub Client: fetches data
main.py - GitHub Client → GitHub REST API: requests data
src/api/github_client.py - Web Dashboard → Repository Metrics: aggregates repos
app.py - Web Dashboard → Language Metrics: aggregates languages
app.py - Web Dashboard → Activity Metrics: parses events
app.py - CLI Reporter → Repository Metrics: aggregates repos
main.py - CLI Reporter → Language Metrics: aggregates languages
main.py - CLI Reporter → Activity Metrics: parses events
main.py - Web Dashboard → Developer Match: compares users
app.py - CLI Reporter → Developer Match: compares users
main.py - Web Dashboard → Markdown Exporter: generates reports
README.md - CLI Reporter → Markdown Exporter: generates reports
main.py - Markdown Exporter → Markdown Report: writes
src/exporters/markdown_exporter.py - CLI Reporter → Console Formatter: prints summary
main.py - Web Dashboard → Charts and Dashboard: renders metrics
app.py