Skip to content

a2fapower/shared-pixel-wall

Repository files navigation

Shared Pixel Wall

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.

Files

  • index.html / styles.css / src/app.js: static GitHub Pages frontend
  • config.js: runtime config for Supabase URL, publishable/anon key, and Edge Function URL
  • supabase/schema.sql: tables, RLS, Realtime publication, and rate-limited RPC
  • supabase/functions/paint/index.ts: paint API with basic anti-spam controls
  • .github/workflows/pages.yml: GitHub Pages deployment workflow

Deployment

  1. Create a new Supabase Free project. Do not use voxpen-prod.
  2. Run supabase/schema.sql in the SQL Editor.
  3. Deploy the supabase/functions/paint Edge Function.
  4. Fill config.js from config.example.js.
  5. Push to GitHub and enable GitHub Pages with GitHub Actions as the source.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors