Files
multipleof4andClaude Opus 5.5 71d4360c3c 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>
2026-10-28 01:40:41 +00:00

5 lines
329 B
Bash
Executable File

#!/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