This is the repo for the statistics and status backend service for the https://status.arc42.org website.
The documentation is contained in the status-repository repository.
This application requires the following environment variables to be set:
GITHUB_API_KEY: GitHub API token for accessing repository statistics (issues, bugs)PLAUSIBLE_API_KEY: Plausible.io API key for web analyticsTURSO_AUTH_TOKEN: Turso database authentication tokenLOGLEVEL: Log level (debug, info, warn, error)
If all GitHub issue counts appear as 0 in the statistics table:
- Check API Key: Ensure
GITHUB_API_KEYenvironment variable is set with a valid GitHub token - Check Logs: Look for error messages indicating API failures
- Network Issues: Verify GitHub API access is not blocked by firewalls or proxies
- Rate Limits: Check if GitHub API rate limits have been exceeded
The application will gracefully handle GitHub API failures and preserve existing values instead of overwriting with zeros.