Skip to content

Fix star history chart with sealed_token embed - #368

Merged
netbrain merged 5 commits into
masterfrom
fix/star-history-sealed-token
Jul 22, 2026
Merged

Fix star history chart with sealed_token embed#368
netbrain merged 5 commits into
masterfrom
fix/star-history-sealed-token

Conversation

@netbrain

Copy link
Copy Markdown
Owner

Background

GitHub now requires authentication on the stargazers endpoint. Anonymous GET /repos/netbrain/zwift/stargazers returns HTTP 401, so the old anonymous star-history embed returns HTTP 500 and no longer renders in the README.

Change

Switch the star history section to star-history's sealed_token embed. The sealed token is an encrypted wrapper around a metadata-read-only token; the raw PAT is not exposed and GitHub secret scanning does not match it, so it is safe to commit in a public README.

Note

Rendering depends on star-history's service. During testing it intermittently returned timeout of 10000ms exceeded (server-side, not a token error). Confirm the chart renders before relying on the merge.

Closes #367

@netbrain
netbrain force-pushed the fix/star-history-sealed-token branch from 1452474 to 24e0dc7 Compare July 22, 2026 11:48
@netbrain
netbrain merged commit 0872729 into master Jul 22, 2026
11 checks passed
@glennvl

glennvl commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

It's working again now. Maybe just keep it as is for a while? If it turns out to be down most of the time, we can remove it later. Maybe in the meantime star-history also comes up with a more reliable solution.

@glennvl
glennvl deleted the fix/star-history-sealed-token branch July 23, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Star history chart broken

2 participants