project log · unni-web
Project log: Unni Web foundation
What we built
- One monorepo for the Unni sites, with a shared zero-dependency builder, design tokens, header, nav, footer and analytics.
- Seven live Pages projects:
unni-root,unni-games,unni-addons,unni-tools,unni-research,unni-portfolio,unni-assets. - Multi-page builds: the root has
/license/, assets has index, colors, fonts and images. unni-portfolio, a data-driven showcase with difficulty, phases, challenges, alternatives and research notes per project.unni-assets, including a real color-pack download generated from the design tokens.- A secret scrub script, a CI workflow, MIT and CC-BY license files, and the
games site migrated byte-for-byte into
sites/games. - The Library itself on Astro: content collections, six page templates, tag pages, backlinks, a local graph and a Notes section.
What broke
unni-home.pages.devwas already owned by another Cloudflare account. The hub was renamed tounni-root.- Four Pages projects were created as Direct Uploads, and the API refused to add a GitHub source afterwards (error 8000069). They had no deployments, so they were deleted and recreated with the source at creation.
cf whoamifailed: the CLI was not logged in, even though the Cloudflare tool session was authorized.- Watch paths did not stop production rebuilds.
- The
unni-gamesproject could not be converted without risking its URL, so its cutover used a GitHub Actions deploy with an API token instead. - The first deployment of each new project sat queued for several minutes.
What we learned
- Pages subdomains are global. Check DNS before naming a project.
sourcecan only be set when a project is created.- A docs-only push is a good test for whether path filters really work.
- Verify live URLs, not just local builds: a 200 with the expected title and nav is stronger evidence than “the deployment says success”.
- Keep the rollback: the old games deployment remains available.
- Decouple content from the engine. Markdown with front matter can outlive Astro.
Next
- Buy the custom domain and move
shared/sites.jsonto it. - Fill the font and image asset pages with real packs.
- Decide whether to prune the old games repo’s public internal folders.