Everything public in the 0-draft org, on one page: https://0-draft.github.io/.
The seal at the top is typeset from the names of the projects below; run the pointer or a finger through it and it redrafts itself. Each project is one row, its name set large; point at it and its screenshot comes along, press Preview and the site opens in a frame over the page. The blackjack and baccarat tables are read live from the casino README, so you can place a bet from here. Without JavaScript the plain seal and every project are still there.
scripts/sync.tspulls the org's public repos (archived repos, forks, and repos whose description starts with[Retired]or[Merged into ...]are left out), the live region of each README game, and the latest dev.to articles intosrc/data/. A source that fails keeps its previous file.src/data/groups.tsdecides which section a repo is in and what kind of thing it is. A new repo that isn't filed there shows up in a "New" section on the next build.src/lib/projects.tsturns the groups into sections.src/scripts/glyphs.tstypesets the seal on a canvas.src/scripts/site.tsadds the Preview dialog, the screenshot that follows the pointer, the redrafting names, and the switch and fold for the README tables. Neither has dependencies.src/assets/shots/holds a screenshot per project, named after the repo.scripts/shoot.tstakes the missing ones;--allretakes every one.
ci.ymlruns on every pull request: Biome, actionlint,astro check, Vitest, a build, and Playwright against that build in Chromium, WebKit, a phone and with JavaScript off.deploy.ymlruns the same CI on freshly synced data on every push to main and once a day, then deploys to Pages.claude-review.ymlreviews pull requests. It needs aCLAUDE_CODE_OAUTH_TOKENsecret fromclaude setup-token.shots.ymltakes screenshots for new live sites every Monday and proposes them as a pull request. Run it by hand with "retake all" after the sites change.- Dependabot proposes npm and Actions updates every Monday, grouped and held for three days after release.
pnpm install
pnpm sync # needs network; set GITHUB_TOKEN to avoid rate limits
pnpm dev
pnpm check # biome + astro check
pnpm test # vitest
pnpm build
pnpm e2e # playwright against dist/Astro 7, plain CSS, Node 24 or newer.
- Add its name to a group in
src/data/groups.ts, and its kind tokindsthere. - Run
node scripts/shoot.ts, or wait for the weekly shots workflow, to get its screenshot atsrc/assets/shots/<repo>.png.
