A live, anonymous participation app built for the Netrax market stall in Sydney. Visitors submit and rate app ideas from their phones while a portrait display fills a custom-rendered glass jar with faceted paper balls. Higher-rated ideas grow, and the current leader becomes the single black ball.
- Phone experience: idea-jar-murex.vercel.app
- Fullscreen display: idea-jar-murex.vercel.app/jar
- Custom domain:
ideas.netrax.coonce its Cloudflare DNS record is active
- Anonymous submissions with device-local identity
- Server-side profanity, contact-detail, URL and rate-limit filtering
- Matter.js physics with a custom Canvas renderer
- Faceted paper bodies, Bayesian size scoring and a black leader ball
- Supabase Realtime with polling and reconciliation fallbacks
- Rating deck with duplicate and self-rating protection
- Live FLIP-animated leaderboard
- Key-gated moderation with hide, restore and permanent deletion controls
- Responsive, outdoor-readable light interface
- Next.js 15, React 19 and TypeScript
- Tailwind CSS v4
- Matter.js
- Supabase Postgres and Realtime
- Vercel
Install dependencies:
npm installCopy .env.example to .env.local and provide:
NEXT_PUBLIC_SUPABASE_URL
NEXT_PUBLIC_SUPABASE_ANON_KEY
SUPABASE_SERVICE_ROLE_KEY
ADMIN_KEY
Initialize or link a Supabase project, then apply the migrations in supabase/migrations:
supabase link --project-ref your-project-ref
supabase db pushStart the app:
npm run dev| Route | Purpose |
|---|---|
/ |
Entry screen and live idea count |
/drop |
Submit an idea |
/rate |
Rate unseen ideas |
/leaderboard |
Live top-ten ranking |
/jar |
Fullscreen physics display |
/admin?key=… |
Moderation controls |
The Supabase service-role key and admin key are server-only. Public database writes are intentionally routed through validated server handlers so the moderation layer cannot be bypassed with the public anon key.
MIT