💡 Inspiration

I was inspired by a simple yet powerful idea: What if your phone could understand how you're feeling—and respond like a caring friend? In a world full of productivity apps and to-do lists, I wanted to build something emotional. Something human. That’s how Mudic was born—a mood-based wellness companion that adapts to your emotional state and offers AI-powered content to support, uplift, and comfort.


🚀 What It Does

Mudic takes your current mood—whether it's happiness, sadness, anger, anxiety, stress, or exhaustion—and gives you a personalized, interactive experience powered by AI. Each mood triggers a different set of activities or content:

  • 😊 Happy: Celebrate your joy with Haiku
  • 😢 Sad: Swipe through silly jokes to cheer yourself up.
  • 😤 Angry: Vent your frustrations and receive calming advice.
  • 😩 Stressed: Play a stress reliving game

No two moods feel the same—just like no two users do.


🛠️ How I Built It

Frontend (iOS)

  • Built with SwiftUI for a clean, expressive, and modern user interface.
  • Mood-based color themes and animations to reflect emotional tone.
  • Used gestures like swiping to make the experience more tactile and immersive.

Backend (Python Flask)

  • A local Flask server connects the frontend with Google’s Gemini AI.
  • Gemini is used to analyze mood input, generate jokes, poetry, affirmations, and more.

AI Integration

  • Prompts are fine-tuned to reflect emotional sensitivity.
  • Generated content includes motivational messages, silly jokes, calming breathing tips, and comforting phrases as a well as ui controlling elements to dynamically update ui based on mood of the user.

🧗‍♀️ Challenges I Ran Into

  • Building a personalized experience for each mood—without making the app feel bloated.
  • Making API calls feel responsive in SwiftUI and managing asynchronous states.
  • Designing an emotional UI/UX experience that’s comforting and never overwhelming.
  • Ensuring content from Gemini was emotionally appropriate, safe, and useful.
  • Debugging ngrok tunnel connections during testing across devices.

🏆 Accomplishments That I'm Proud Of

  • Created a fully functional AI-powered mood app from scratch in limited time.
  • Designed six unique experiences tied to different emotional states.
  • Seamlessly integrated Gemini AI to deliver tailored emotional content.
  • Built an app that doesn’t just talk to users, but listens to them emotionally.

📚 What I Learned

  • How to build intuitive, emotion-aware UIs using SwiftUI.
  • How to structure Flask APIs for mobile AI integration.
  • How to write emotionally resonant prompts for LLMs like Gemini.
  • The importance of human-centered design in emotional wellness tools.

🔮 What's Next for Mudic

  • 🎧 Music therapy features that adapt tunes based on mood.
  • 🧘‍♂️ Add guided meditations and breathing exercises with audio.
  • 🗂️ Add user journaling & mood history tracking.
  • 🧩 Add more interactive widgets (puzzles, mini-games, etc.) based on mood.
  • 🌐 Launch on the App Store and bring Mudic to more users who need a little digital sunshine 🌈.

Built With

Share this project:

Updates