Inspiration

The future isn't just about smarter technology - it's about smarter communities.

A world with AI, automation, and innovation transforms everything. But in our rush to digitise, we're overlooking something essential: the human stories that connect us. In an era of global connectivity, we're becoming culturally disconnected. Traditional recipes are disappearing at alarming rates. Grandmothers pass on without passing down their knowledge. A generation grows up not knowing the stories behind what they eat.

Food is the shortest path to understanding.

I realised that the snacks we share carry centuries of history, tradition, and identity. A croissant isn't just a pastry; it's a story of Viennese bakers, French revolutionaries, and morning rituals. Mochi isn't just rice cake; it's Shinto traditions, Japanese festivals, and community bonding. These are the cultural building blocks of our shared humanity.

But in our fast-paced, tech-driven lives, these stories are getting lost. We consume packaged snacks without knowing their origins. We follow recipes without understanding their cultural significance. We're eating the world's food but missing its soul.

That's why I built SnackGlobe.

Instead of just another recipe app, SnackGlobe puts cultural discovery at the centre. It's for the curious learner who wants to understand the world. For the foodie who wants to taste history. For anyone who believes that understanding starts with curiosity - and curiosity can start with something as simple as a cookie.

Because the smartest innovation is the one that connects us.


What It Does

SnackGlobe is a cultural exploration platform where snacks serve as windows to understanding the world - using AI to preserve and share global food heritage.

Interactive Map Discovery: Land on a world map with pulsing markers on countries that have snack stories to tell. The panel reveals a traditional snack or beverage from that culture - its name, origin, and facts.

Immersive Cultural Stories: Step into history where you hear from the perspective of someone who lived with great influence by the snack - a 17th-century French baker, a Japanese tea master, an Ottoman confectioner. The story comes alive with audible speech and a live transcript. Close your eyes, and experience what's behind a seemingly simple snack. This is the innovation of cultural preservation through artificial intelligence.

Personalised Recipes, Without Missing the Soul: If you're ready to taste what you've discovered, SnackGlobe offers a traditional recipe and lets you make it your own. Feel free to apply filters - Low Sugar, Vegan, Gluten-Free, High Protein - or fuse cuisines from up to 7 regions. For deeper customisation, use natural language: "I'm missing coconut milk" or "Can I make this without a mould?" Appreciation is nearly impossible without experience. The future of food is now accessible, adaptable, and authentic.

Your Shack: Save customised recipes to your personal collection. Star your favourites. Mark snacks as "Crafted" and track how many times you've made them. All as a culinary atlas documenting your global journey - and your journey toward becoming a more culturally connected citizen.


How I Built It

AI Integration (Groq API) powers two key experiences:

  • Generates culturally authentic first-person narratives with character personality, emotion, fillers, and pause markers for natural speech
  • Transforms traditional recipes based on dietary filters or natural language customisation requests without losing their soul so experiencing them would never be a barrier

Voice Synthesis (Web Speech API)

  • Provides realistic text-to-speech for an immersive experience that brings history to life.

Frontend (React + Vite + Tailwind)

  • SnackGlobe's blue glassmorphism design creates a dreamy, modern aesthetic that matches and maintains the "window to the world" philosophy.

Backend & Database (Supabase)

  • Handles authentication and stores user data (saved recipes, star status, craft counts), enabling users to explore from various devices.

Challenges I Ran Into

Groq API Consistency: Getting Groq to return clean JSON for recipe transformations reliably took careful prompt engineering. The system prompt needed explicit instructions to avoid markdown fences, preamble, or hallucinated fields. Built robust parsing and validation layers to handle edge cases - a critical skill for AI-driven innovation.

Recipe Customisation Flow: Managing two recipe tabs (Original, Customised) and ensuring each update correctly preserved previous versions while allowing further customisation required thoughtful state architecture. Each filter or prompt sends the current recipe to Groq, not the original, enabling iterative refinement, which is key for future scalability.

Guest vs. Authenticated Experience: Build a seamless experience where guests can explore fully and are prompted to authenticate only when saving. No features are locked behind authentication until the user actually needs to save - this lowers barriers to cultural exploration and expands access.

Web Speech API Limitations: Browser compatibility for voice synthesis varies widely, so I implemented fallbacks and clear error messaging for unsupported browsers, ensuring accessibility across devices.


Accomplishments That I'm Proud Of

Immersive Cultural Storytelling: The Uncover page genuinely transports users to the era when a snack was born - or to someone who treasures the snack - with characters that feel real and emotional. This is AI being used for cultural preservation, not just automation.

Multipurpose AI Integration: Two distinct Groq API use cases - cultural storytelling and recipe transformation - both work reliably and add genuine value. The AI doesn't feel like a gimmick; it's the heart of the experience, which demonstrates the versatility of modern AI.

Intuitive User Flow: From sailing to hearing a story to crafting a recipe to saving it - the journey feels natural and rewarding. Users can just explore, immerse, and understand. This represents the future of frictionless learning.

Accessible Experience: No authentication is required to experience the core value. Guests can discover, listen, and customise freely. SnackGlobe lowers barriers to cultural exploration - essential for building connected communities in a globalised world.

I'm also very proud of persevering in this project and completing it within a tight timeframe (including waking up at 5 AM on a Sunday!). This hackathon taught me that innovation isn't just about ideas - it's about execution.


What I Learned

Prompt Engineering Is Everything: The difference between getting clean JSON and getting markdown-wrapped text from an LLM comes down to explicit, repeated instructions in the system prompt. I had to be painfully specific about output format and schema - a skill essential for AI-driven development.

Web Speech API Requires Fallbacks: Browser compatibility for voice synthesis varies widely. I learned to handle errors gracefully and provide clear feedback when the API isn't supported.

Authentication Flow Must Be Seamless: Guests should experience full value before being asked to sign up. Prompting for authentication only at the point of saving (not at entry) dramatically improves engagement. I feel that it's a thoughtful UX feature for any program.


What's Next for SnackGlobe

Cultural Dashboard: Visualise users' global journey with a map showing countries explored, snacks crafted, and cultural stories experienced. This will turn individual discovery into a community of connected citizens.

Advanced Recipe Intelligence: I wish to integrate nutritional analysis and ingredient substitution suggestions based on the user's kitchen inventory to make cultural cooking more accessible, right at your fingertips, and reduce food waste.

Community Features: Allow users to share their own recipes (or adapted ones), leave notes, and connect with people from the countries they explore. Users can also submit their own cultural snack discoveries to create a community-driven global food encyclopedia - because the connected future needs this.

MCP Integration: Push the boundaries of what AI can do by implementing Model Context Protocol to give richer access to recipe data, historical context, and cultural information for even more authentic storytelling.

Expanded Recipe Database: SnackGlobe ambitions to document more hidden recipes from every country to achieve true global coverage - because every culture deserves to be represented!

And more that will come through personal experiences, community feedback, and tiny 'aha!' moments.


Thanks for reaching here, enjoy your day!

SnackGlobe doesn't just share recipes. It shares the stories that make them meaningful - pioneering the connected future of cultural preservation, one snack at a time.

Built With

Share this project:

Updates