You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A standalone GitHub Action that generates responsive, animated SVG star history charts with zero external cloud or binary dependencies.
Why this exists
Following GitHub's June 30, 2026 API restrictions, public stargazer endpoints require collaborator-level API access. As a result, external image badges like star-history.com no longer work without collaborator permissions (details).
This action runs directly inside your workflow using your repository's own ${{ secrets.GITHUB_TOKEN }}. (Multi-Repo requires a Fine-Grained PAT to repos you own.)
Overview
🔒 Security & Privacy
⚡ Performance & Architecture
✔️ Features
Self-Hosted: Runs 100% inside your runner; tokens never leave GitHub
Single SVG: Theme switching via embedded CSS @media (prefers-color-scheme)
Target repo or comma-separated list (owner/repo1, owner/repo2)
No
${{ github.repository }}
output-path
Output path for the SVG chart
No
assets/star-history.svg
theme
Theme (auto, dark, light)
No
auto
Outputs
Output
Description
svg-path
Workspace path to the generated SVG chart
Authentication & PAT Setup
Single Repository (Current Repo): Standard ${{ secrets.GITHUB_TOKEN }} works automatically with permissions: { contents: write }.
Multi-Repository Comparison: Use a Fine-Grained Personal Access Token (PAT) with Starring: Read-only and Contents: Read and write access across target repos.
Local Development
# Offline test
pnpm test:local
# Run test suite
pnpm test# Build bundle
pnpm build
About
Multi-repo Star History charts that just work. Set and forget.