Inspiration
Lately, I noticed a funny trend among young travelers: unironically bringing back the classic low-angle "dad/uncle selfie" just to fit both their face and the entire scenery into a single frame—and honestly, they are pros at it. That sparked an idea: what if we resurrected the unmistakable charm of 2011 social media, where boxy blue headers, sincere unedited photos, and nostalgic emojis ruled the timeline?
For the Kiroween 2026 Hackathon (Resurrection category), I built UncleBook—a retro social network where an AI "Uncle Judge" acts as the ultimate gatekeeper, ensuring those iconic low-angle selfies don't stay in the past.
What it does
UncleBook brings back the 2011 social feed experience with a modern AI twist:
- The AI Uncle Vibe Check: When you upload a photo, a multimodal vision judge evaluates your shot across four concrete criteria—camera angle, facial expression & posture, framing, and overall "uncle vibe"—producing a deterministic score out of 100.
- Pass or Reject: If your photo looks too polished or aesthetic (scoring below
70/100), UncleBook humorously blocks the post and gives you actionable tips on how to fix your pose. - 2011 Retro Sticker Studio: Passing photos unlock an interactive HTML5 Canvas editor where you can drag, resize, and stamp classic nostalgic emojis directly onto your image before publishing to the live feed.
- Tamper-Proof Publishing: Approved analyses generate a cryptographically signed token so users cannot bypass the AI judge to upload unapproved photos.
How we built it
- Frontend & Styling: Built with Next.js 15 (App Router) and TypeScript, styled to replicate the nostalgic 2011 classic social network interface with custom CSS and HTML5 Canvas for real-time sticker manipulation.
- AI Vision Judge: Powered by Groq Vision API, engineered with a strict rubric and deterministic parameters (
temperature: 0,seed: 42) alongside SHA-256 perceptual caching so identical photos always receive consistent scores. - Backend, Database & Storage: Powered by Supabase (PostgreSQL for posts/metadata and Supabase Storage for final rendered images).
- Security: Implemented server-side HMAC-SHA256 token verification (
SIGNING_SECRET) linking each approved image hash to its upload permission. - Workflow with Kiro: Used Kiro (
kiro.dev) across the entire build—structuring requirements and architecture with.kiro/specs/, locking down the 2011 retro UI and content rules via.kiro/steering/, and automating checks with.kiro/hooks/.
Challenges we ran into
- Making Multimodal AI Scoring Deterministic: Early iterations of the vision model gave slightly different scores when the exact same photo was uploaded twice. I solved this by locking inference parameters, designing a rigid four-pillar mathematical scoring rubric where the total score is computed as: $$S_{\text{total}} = S_{\text{angle}} + S_{\text{expression}} + S_{\text{framing}} + S_{\text{vibe}} \in [0, 100]$$ and caching results by image SHA-256 hash.
- Preventing API Bypass on Uploads: Because sticker editing happens client-side on an HTML5 Canvas, a malicious user could theoretically send an unapproved image straight to the
/api/photosendpoint. Introducing HMAC-SHA256 signed upload tokens ensured only AI-approved sessions could publish to the feed. - Balancing Retro Aesthetics with Modern UX: Capturing the authentic 2011 look without sacrificing mobile responsiveness or fast client-side image compression required careful CSS and Canvas scaling adjustments.
Accomplishments that we're proud of
- Turning an everyday cultural observation into a fully deployed, interactive retro web app (
unclebook.all-tools.dev) that genuinely makes people laugh when they test their selfies. - Building a clean, spec-driven architecture with Kiro where the AI judge, canvas editor, and tamper-proof upload pipeline work together seamlessly without bloated dependencies.
- Achieving fast, consistent multimodal vision evaluations that give humorous yet genuinely helpful feedback on why a photo passed or failed the vibe check.
What we learned
- Spec-Driven Development Saves Time: Defining clear specs and steering rules in Kiro before writing UI code prevented scope creep and kept the 2011 visual theme consistent across every component.
- Prompt Engineering Needs Structure: Treating LLM vision output like a structured rubric—and validating/recomputing totals on the backend—makes AI-driven game mechanics reliable and fair.
- Client-Side Canvas + Server Signing: Combining client-side image compression and Canvas rendering with server-side HMAC verification keeps hosting costs near zero while preserving backend integrity.
What's next for UncleBook
- Shareable "Uncle Score Cards": Adding a one-click export button so users can download a 2011-styled scorecard with their grade and share it directly to Instagram Reels/Stories and X.
- Weekly "Uncle Leaderboard" & Themes: Introducing themed challenges (e.g., Morning Tea Edition, Vacation Scenery Edition, Car Selfie Edition) with special nostalgic frames.
- Audio Nostalgia: Optional classic 2011 notification chimes and retro camera shutter sound effects when snapping or posting a photo.
Built With
- ai
- computer-vision
- groq
- html5
- kiro
- next.js
- postgresql
- react
- supabase
- tailwindcss
- typescript
- vercel