Skip to content

Add the stars card (star history) - #4

Merged
spidero merged 2 commits into
mainfrom
feat/stars-card
Nov 29, 2026
Merged

spidero merged 2 commits into
mainfrom
feat/stars-card

Conversation

@spidero

@spidero spidero commented Nov 29, 2026

Copy link
Copy Markdown
Owner

New stars card: cumulative star history of up to 5 repositories (star_repos, owner/repo or repo), one line per repository, like star-history.com.

  • Data: GET /repos/{owner}/{repo}/stargazers/history (exact daily counts grouped by week, 30 weeks per page). Works for any public repository with the default GITHUB_TOKEN; the stargazer list endpoint is limited to repository admins since July 2026.
  • cards: all includes the card only when star_repos is set (same as org).
  • Line colors: theme accent first, then a palette without colors too close to the accent.
  • New inputs in action.yml and the reusable workflow, CLI flag --star-repos, tests (40), sample data, README.
  • Version 1.6.0.

Uses GitHub's star history endpoint (GET /repos/{owner}/{repo}/stargazers/history,
2026-09), which works for any public repository with the default GITHUB_TOKEN;
the stargazer list itself is limited to repository admins since 2026-07.
Up to 5 repositories, one line per repository; cards: all includes it only
when star_repos is set. Version 1.6.0.
@spidero
spidero merged commit 14bb3d8 into main Nov 29, 2026
2 checks passed
@spidero
spidero deleted the feat/stars-card branch November 29, 2026 19:11
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