文件历史

4 次代码提交

作者 SHA1 备注 提交日期
Yu Li e57c381652 fix(ci): use collaborator PAT for star history stargazers fetch
GitHub now restricts /stargazers to admins/collaborators, so the Actions
GITHUB_TOKEN 403s. Read STAR_HISTORY_TOKEN instead and surface a clearer error.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-20 11:27:35 -05:00
Yu Li 7479b98cff Add dark-mode star history chart with theme auto-switch
Generate light and dark variants and use a <picture> element so the README chart follows the viewer's GitHub theme. The daily workflow now regenerates both.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-03 21:20:38 -05:00
Yu Li 3576132de4 Generate real star history chart from authenticated GitHub API
The anonymous star-history.com API is rate-limited and returned an empty chart for this repo, so the embedded image showed no data. Render the chart ourselves (scripts/gen_star_history.py) by sampling stargazer timestamps with a token, output a PNG, and have the daily workflow regenerate it. Replaces the empty SVG.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-03 21:10:00 -05:00
Yu Li b3ca4eb56c code open source, update README 2023-06-12 15:07:29 -05:00