Inspiration
Every college campus has a hidden economy: the floormate who gives the best haircuts, the friend who bakes custom cakes, the go-to grad photographer. These businesses run on Instagram DMs and Venmo, so they're hard to find and risky for both sides. We wanted to give them a trusted home on campus.
What it does
TreeDorm is a marketplace for student-run businesses, only open to students at your school.
- Sign in with your .edu email, and the app switches to your school's colors.
- Dress up your hedgehog avatar with hats and sunglasses. Sellers set up their shop with a bio, hours and photos, and Gemini writes a first draft for them.
- Search, or just type "someone to take my grad photos Saturday" and get 3 suggestions.
- Book a time, pay through Stripe, and chat with the seller.
- Your card is only held. After the service, you snap a photo and Perceptron checks it against the listing, even reading text like "Happy Birthday Maya" on a cake. If it matches, the seller gets paid. If not, you can accept, get a partial refund, or cancel.
How we built it
- Next.js, TypeScript and Tailwind, built for phones first.
- Gemini for listing drafts and search (embeddings + ranking the top 3).
- Perceptron Mk1.5 for the photo check, returning JSON with a verdict, confidence and reasons, with Gemini as a backup.
- Stripe Checkout with manual capture, so cards are held at booking and charged after the check.
- MongoDB Atlas, Cloudinary and Resend.
The AI only releases money when it's at least 80% confident and any text matches. It can release money, but never refund or cancel on its own.
Challenges we ran into
- Holding the payment and charging later meant pulling the payment from a Stripe webhook and testing it locally with the Stripe CLI.
- Making partial refunds safe, so we never charge more than was held.
- Getting consistent answers from the vision model, so we forced a JSON format and added a Gemini backup.
- Reading messy text on cakes, so we ignored caps, punctuation and small typos.
- Hitting rate limits while embedding all the listings.
Accomplishments that we're proud of
- The whole flow works: find a shop, book, snap a photo, seller gets paid.
- Watching Perceptron read "Happy Birthday Sam" instead of "Happy Birthday Maya" off a cake and withhold the payment.
- Keeping it safe: students only, private room numbers, and the buyer gets the final say.
What we learned
- How to combine multiple AI services with fallbacks.
- How Stripe's hold-then-charge flow works.
- That responsible AI is about deciding what it's not allowed to do.
What's next for TreeDorm
- Launch at UW, then other schools.
- Real seller payouts with Stripe Connect.
- Rewards, seller insights and a native app.