Skip to content

Fix star history chart with sealed-token embed - #29

Merged
Laaaaksh merged 1 commit into
masterfrom
docs/readme-hero
Aug 22, 2026
Merged

Fix star history chart with sealed-token embed#29
Laaaaksh merged 1 commit into
masterfrom
docs/readme-hero

Conversation

@Laaaaksh

Copy link
Copy Markdown
Owner

What

Follow-up to #28: GitHub restricted the stargazers API (June 2026) to repo admins and collaborators, which broke the anonymous api.star-history.com/svg chart embedded in the README.

Swaps in star-history's official sealed-token embed:

  • Chart endpoint now carries an encrypted token that can read this repo's stars (safe for a public README; their server decrypts in memory per view)
  • Dark/light variants selected automatically via <picture>
  • Same sealed token as the vessel repo's chart (the fine-grained PAT covers both repos)
  • All theme variants verified HTTP 200 before embedding

Testing

  • Docs-only change; chart URLs (dark/light/default) verified rendering live
  • Diff vs master is exactly this one README change

🤖 Generated with ZCode

GitHub restricted the stargazers API (June 2026) to repo admins and
collaborators, which broke the anonymous api.star-history.com/svg embed.
Swap in star-history's official sealed-token embed: the chart endpoint
now carries an encrypted token that can read this repo's stars, with
dark/light variants via <picture>. Same sealed token as vessel (covers
both repos); verified HTTP 200 on all theme variants before embedding.
@Laaaaksh
Laaaaksh merged commit c230e26 into master Aug 22, 2026
3 checks passed
@Laaaaksh
Laaaaksh deleted the docs/readme-hero branch August 22, 2026 12:50
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.

1 participant