Developed alongside GitHub Overview, GitHub Statistics automatically compiles both public and private user statistics that can then be displayed in a profile README:
In addition, GitHub Statistics also compiles repository information, which can be displayed using Markdown:
[![](https://tanjeffreyz-github-overview.fly.dev/repo?owner=tanjeffreyz&repo=github-statistics)](https://github.com/tanjeffreyz/github-statistics)
The statistics are queried from GitHub's GraphQL API using a program built around Java's HttpClient
, which automatically runs multiple times a
day via a scheduled GitHub Action workflow. Since GitHub Statistics has a personal access token stored in an environment secret, it
can collect private statistics about the user as well as their repositories, allowing for a more accurate summary of
their contributions.
GitHub Statistics also compiles the information needed for displaying repository cards like the one above.
Each repository's information is stored in its own JSON file under its owner's folder in /output/repositories
. GitHub Overview can later retrieve
this information to render a repository card.