A small monorepo for a private media library, six games, and the Design Field Guide.
| Directory | Contents |
|---|---|
projects/site/web |
Vite site with Media, Games, and the Design Field Guide |
projects/media/backend |
FastAPI Media and Games API and database migrations |
projects/media/worker |
Background metadata, thumbnail, and playback processing |
projects/media/macos |
macOS companion and camera sync daemon |
packages/design-system |
Shared theme tokens and React UI primitives |
Install Node.js 24, then run:
npm ci
npm test
npm run devOpen http://localhost:8080. Five games and the Design Field Guide run locally. The Connections community gallery, puzzle editor, and account syncing need the API below.
To use the Media library, copy projects/site/web/.env.example to projects/site/web/.env.local and supply a Supabase URL and publishable key. Use a dedicated development project and storage bucket. From projects/media/backend, configure a private .env using .env.example, install the requirements, and start the API:
python -m venv .venv
. .venv/bin/activate
python -m pip install -r requirements.txt
uvicorn main:app --env-file .envFor Games, set SUPABASE_ANON_KEY in the backend environment along with
SUPABASE_URL. Apply the Wordle, Word Hunt, and Connections migrations
(0021–0024 and 0028–0030) to the development database, and allow the web URL
as a Google OAuth redirect. The starter connects to the newly configured
database for community puzzles and signed-in stats. Its source bundle
contains no hosted user data.
Follow the Media setup guide for the schema, storage, and OAuth configuration. The worker guide and macOS guide cover the optional processing and sync services.
The CI workflow validates the web app, Media API, and synthetic worker and sync tests. Production deployment and a public license are pending. Review artwork provenance before publishing.
The Coolify guide covers the web and API Docker builds, separate hostnames, and the GitHub push deployment setup.




