Code
Search code…
Latest commit message
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
darner-roadmap-viz
A small, read-only tracker for the Darner ROADMAP issue #693. One circle per task, sized S / M / L. A time slider replays claim, PR and done, so you can see how fast the work moves. It is unofficial: it reads the public issue and pull requests and collects nothing.
- Circle fills as a task goes free → claimed → in PR → done (staff-only tasks get a dotted ring).
- The bar at the bottom shows how many tasks are in each state at the slider time.
- No LLM, no server, no dependencies. The result is one self-contained HTML file that also opens from disk.
Run
Needs PowerShell 7 (pwsh). A token is optional for a public repo, but it avoids rate limits:
$env:GTAHUB_TOKEN = '<read-only token>' # optional
pwsh -File .\roadmap-sync.ps1 -NoDeploy # writes out\roadmap.html and out\roadmap.json
Open out\roadmap.html.
Options: -Issue 693, -Server https://git.gtahub.st, -Repo TrustNo1/Darner.
How it reads the issue
- Task rows come from the table in the issue body (
| id | task | files | size | status |). - Claims come from comments by the helper account:
assigned <id> to @user,<id> is free again,<id> marked done. - Pull requests whose first body line is
Task: <id>addpr(opened),done(merged) orfree(closed unmerged). - The table's current status is used to fill gaps. History starts when the issue was created.
The track names shown on the cards (Memory, Shaders and so on) are in NAMES in template.html.
Optional: publish on Cloudflare Pages
$env:CLOUDFLARE_API_TOKEN = '<token with Cloudflare Pages: Edit>'
$env:CLOUDFLARE_ACCOUNT_ID = '<account id>'
pwsh -File .\roadmap-sync.ps1 -PagesProject my-roadmap
It deploys out\site with wrangler, and only when the data or template changed since the last deploy.
Create the project once with npx wrangler pages project create my-roadmap --production-branch main.
Schedule the script hourly with Task Scheduler or cron.
No tokens are stored in this repo; they are read from environment variables only.
License
MIT, see LICENSE.