The github-sponsors module fetches and displays the total number of sponsors you have on GitHub.
This module uses the official GitHub GraphQL API to retrieve your sponsor count. Unlike the other modules that use the public REST API, the GraphQL API requires authentication to access this information.
To use this module, you must provide a GitHub Personal Access Token (PAT) in the GITHUB_TOKEN variable in your config/config.sh file.
GITHUB_TOKENread:user. This will grant the necessary permissions to read your user profile data, including your sponsors.GITHUB_TOKEN variable in your config/config.sh file.# Example
GITHUB_TOKEN="ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
If the GITHUB_TOKEN is not provided or is invalid, the module will be skipped or will report an error, and it will not be included in the report.