Anonymous realtime collaborative pixel wall. The frontend is static and can be hosted on GitHub Pages. The backend uses Supabase Postgres, Realtime, and an Edge Function.
index.html/styles.css/src/app.js: static GitHub Pages frontendconfig.js: runtime config for Supabase URL, publishable/anon key, and Edge Function URLsupabase/schema.sql: tables, RLS, Realtime publication, and rate-limited RPCsupabase/functions/paint/index.ts: paint API with basic anti-spam controls.github/workflows/pages.yml: GitHub Pages deployment workflow
- Create a new Supabase Free project. Do not use
voxpen-prod. - Run
supabase/schema.sqlin the SQL Editor. - Deploy the
supabase/functions/paintEdge Function. - Fill
config.jsfromconfig.example.js. - Push to GitHub and enable GitHub Pages with GitHub Actions as the source.