GitHub Has Restricted Access to Star Data
4 hours ago
- #Data Restrictions
- #GitHub API
- #Star History
- GitHub is restricting its stargazers API, limiting access to only repository admins and collaborators, effective June 30, 2026.
- For repositories users don't own or collaborate on, authenticated API requests now return 'Not Found,' preventing Star History from building charts for those projects.
- Tokens created without scopes no longer work, even for one's own repositories; users must regenerate them as fine-grained tokens.
- To view star history for owned or collaborated repositories, users need to add an access token with read permissions.
- Embedding live charts in READMEs for owned repositories requires supplying an encrypted token, which is safe for public use.
- Charts for non-owned or non-collaborated repositories are currently broken; Star History is exploring workarounds and will provide updates.