Inspiration
Most of us live a few feet from people we've never met. A potluck is the easiest fix, but it usually dies in the group chat: five bags of chips, no mains, nothing the vegan or halal neighbor can eat, and the neighbor without a smartphone never hears about it.
What it does
Block Potluck lets anyone start a potluck in a minute and share one link or a printed QR flyer. Neighbors sign up with no app or account, and the menu balances itself:
- Course slots that close when full
- Duplicate detection ("Mac n cheese" vs "Baked mac & cheese")
- Private diet planning: everyone sees which diets still need a dish, never who has them, and one tap signs you up to fill the gap
- Tag checks: a "vegetarian" bacon dip gets rejected
- Paper sign-up box and printable dish labels for neighbors without phones
How we built it
Python (standard library only), Supabase Postgres with locked-down tables, plain HTML/CSS/JS, and Vercel. We used Claude as a coding partner and AI review agents to attack our own app.
Duplicate detection cleans up dish names, then compares their word sets $A$ and $B$:
$$J(A,B) = \frac{|A \cap B|}{|A \cup B|}$$
plus rules for one name containing another. Tuning cut false alarms from 18 to 6 across 124 test pairs.
Challenges
- Two people grabbing the last spot: we lock the potluck while a dish is added. In testing, 12 simultaneous sign-ups for 1 spot produced 1 winner.
- Privacy: our first version let anyone match diets to names. We now show single diets instead of combinations, and guests can share their needs with the host only.
- Trusting tags: "Chicken curry" tagged vegan is now caught, while "vegan cheese" still works.
What we learned
A feature is a promise: "anonymous" or "nut-free" only counts if the app can back it up. Attacking our own project found bugs we'd never have spotted. And designing for the neighbor most likely to be left out made the app better for everyone.
Built With
- css3
- github
- google-fonts
- html5
- javascript
- opencv
- playwright
- postgresql
- python
- sqlite
- supabase
- vercel