0096. The public face: the Rematch name, the README and a GitHub Pages site
Source:
docs/decisions/0096-public-face-readme-and-site.md. Generated at build time; edit the source file.
Date: 2026-11-23. Status: accepted (lane site, the owner’s open-source launch plan, Lane L2).
Number 0095 is the open-source SDLC and releases (lane oss).
Context
Section titled “Context”The repository goes public as Rematch, chess improver (“Stop losing to the same move.”) to build interest and bring in contributors. The old README was 73 lines of developer notes, the app still said “chess-improver”, and nothing explained what the product does, why it can be trusted or how to help. The owner wants the brag video in the repository and a site that feels like the app, not a template.
Decision
Section titled “Decision”- The name. What a person reads says “Rematch”: the page title, the header and auth
wordmarks, the sign-in mail, the age gate, the invite message, Better Auth’s
appNameand theMAIL_FROMdisplay name (apps/web/src/brand.tsstays the one place). Package scopes (@ci/*), databases, compose projects, user agents and the Lichess client id keepchess-improver, so no data, volume or OAuth registration moves. - A site package,
site/(@ci/site). Astro with Starlight, static, served by GitHub Pages athttps://terkea.github.io/rematch/(base/rematch/). A custom landing page (src/pages/index.astro) and Starlight docs under/docs/. Dependencies are pinned exactly and pass the 7-day age rule; Astro is held at 7.4.1 because 7.4.2 and later refuse Node below 22.23.4 and the host runs 22.22. - One design law. The site reads
packages/ui/src/styles/tokens.cssat build time (site/scripts/sync-content.mjsturns its Tailwind@themeblock into plain custom properties) and the app’s own WOFF2 fonts, and maps Starlight’s palette onto the tokens. Day and night followdata-theme, which both Starlight and the tokens use.pnpm design:checknow scanssite/src(including.astrofiles). Docs code is set in Schibsted Grotesk on awellwith no syntax colours: DESIGN.md allows no monospace and no decorative hues. - Generated docs, never copied. The decision log and the research notes are generated at
build time from
docs/decisions/*.md(with the README as the index) anddocs/research/*.md. Links between records become site links; links to any other file go to GitHub. The generated files are git-ignored. - Real interface, fixture data only. Feature screenshots are captured headless from
/styleguide(its fixture games and demo numbers, labelled as such), never from/appor a signed-in session. The private player in the eval-graph fixture is cropped out. - The video is in the repository.
site/public/media/rematch.mp4(60 s, about 5 MB), its poster and an 8-second preview GIF (0.75 MB) are normal git blobs, no LFS. The README shows the GIF and links the MP4 and the site; the site plays it only when the visitor presses play (M1). - Live good first issues. The landing page fetches open
good first issueissues from GitHub’s public search API in the browser, without a token. A private repository, a rate limit or a network error shows a sentence and the issues link instead. - Pages and CI.
.github/workflows/pages.ymlbuilds on every pull request and onmain, and deploys frommainwithactions/upload-pages-artifactandactions/deploy-pages(pages: writeandid-token: writeon the deploy job only, no secrets, actions pinned by SHA).ci.ymlgains asitejob: the site’s tests, its build and a local link check (site/scripts/check-links.mjs: every internal link and anchor insite/dist, and every relative link in the README).
Consequences
Section titled “Consequences”- The
mainruleset requiressitetoo (.github/settings/rulesets/main.json; the settings test compares the required checks with the job names inci.yml), anddocs/SDLC.mdlists it. - Visual baselines that show the wordmark change once, regenerated in the
qacontainer. - A new ADR, research note or README change appears on the site at the next build of
main. - The repository grows by about 6 MB of media, once.
- Raising Node to 22.23.4 or later (
.nvmrcand the images) unblocks newer Astro releases.