How sntl84/sntl84-repo-counter works
This repository automates a GitHub repository-statistics report and provides a separate live browser dashboard. The scheduled workflow runs the counter, which gathers GitHub data, aggregates it, and updates marked sections of the README; dashboard visitors fetch GitHub data directly and view rendered statistics. The README documents the workflow and dashboard capabilities; source excerpts show the counter’s API requests and README update. Dashboard internals and workflow implementation were not sampled, so those details are limited to documented behavior.
Main entry points: count_repos.py Counter Engine · sntl84-Client-Dashboard.html Browser Dashboard · update-repo-count.yml Update Workflow · README.md README Report
Components 9
Scheduled Counter
- Update Workflow
.github/workflows/update-repo-count.yml - Counter Engine
scripts/count_repos.py
README Report
- Stats and Repo List
scripts/count_repos.py - README Report
README.md
Live Dashboard
- Browser Dashboard
sntl84-Client-Dashboard.html
GitHub Services
- GitHub REST API
- GitHub GraphQL API
Other components
- Timer or Push
- Dashboard Visitor
Connections 9
- Timer or Push → Update Workflow: triggers
README.md - Update Workflow → Counter Engine: runs
README.md - Counter Engine → GitHub GraphQL API: queries
scripts/count_repos.py - Counter Engine → GitHub REST API: fetches repos
scripts/count_repos.py - Counter Engine → Stats and Repo List: aggregates
scripts/count_repos.py - Counter Engine → README Report: patches
scripts/count_repos.py - Dashboard Visitor → Browser Dashboard: opens
README.md - Browser Dashboard → GitHub REST API: fetches data
README.md - Browser Dashboard → GitHub GraphQL API: fetches contributions
README.md