Add star history chart, hourly workflow and index page

stars.mjs renders dist/<owner>/<repo>.svg for each repo in repos.txt:
a cumulative star chart with labelled breakouts, spikes and first star,
ending in an isometric star. The hourly workflow commits only when the
star count or UTC day changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-28 01:40:41 +00:00
co-authored by Claude Opus 5.5
parent 3053c48e6f
commit 71d4360c3c
7 changed files with 308 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
#!/bin/bash
# render.sh <svg> <name> → preview/<name>.png
HS=$(ls -d ~/.cache/ms-playwright/chromium_headless_shell-1248/*/)chrome-headless-shell
"$HS" --no-sandbox --hide-scrollbars --force-device-scale-factor=2 --window-size=1180,500 --screenshot="$(cd "$(dirname "$0")" && pwd)/$2.png" "file://$(realpath "$1")" 2>/dev/null