r/Supabase • • 4h ago

realtime Showcase: a live pixel canvas built only on Supabase (RLS, RPCs, Realtime, pg_cron batching)

Post image
1 Upvotes

Built a New Year pixel canvas where everyone paints together live. All logic lives in Supabase:

- Anonymous auth plus security-definer RPCs for every write, with RLS so clients can only read

- Per-IP rate limits from request headers, reserved usernames, chat slow mode

- To avoid pixels × viewers messages, a trigger records changed squares and a pg_cron job sends one realtime.send broadcast every 2 s (only when something changed)

- Presence for the online count, postgres_changes for chat and votes

check it out here: https://saharshbaiju.github.io/tandem/easteregg/


r/Supabase • • 12h ago

other Building my app in chat sent me back to Supabase 52 times before I finally moved the repo to Cursor 😂

Post image
0 Upvotes