Skip to content

Oriyans-sunset/Mood-Music

Repository files navigation

🎵 MoodMusic

MoodMusic is a beautifully simple iOS app that recommends songs based on how you're feeling. Tap your mood, get a vibe — it’s that easy.

📱App Store Link


✨ Features

  • 🎧 Mood-based song suggestions
  • 💡 Uses OpenAI API for GPT-40-mini model to generate unique music recommendations
  • 🔖 Set reminder notifications for logging mood
  • 🎨 Colorful mood selector with emoji interface
  • 🗓️ Mood calendar to track your week
  • 🖼️ Song cards with cover art & Apple Music link
  • ⚙️ Settings page with app info, privacy, and support

📱 Screenshots

Screenshot 1 iPhone 15

🚀 Tech Stack

  • SwiftUI – declarative UI framework
  • OpenAI API – to generate song recommendations
  • iTunes Search API – to fetch album art and track links
  • UserDefaults – lightweight local storage
  • Custom JSON File – to store user mood/song history offline

🔐 API Key Setup (Required!)

To clone and run MoodMusic locally, you must provide your own OpenAI API key. Without it, the app will not function.

🔧 How to set your key in Xcode:

  1. Go to Product > Scheme > Edit Scheme
  2. Under the Run section, open the Arguments tab
  3. In the Environment Variables section, add:

Name: OPENAI_API_KEY

Value: sk-…your key here…

You can get your API key from OpenAI’s dashboard

‼️Important: Never commit your API key to source control.


🔐 Privacy

MoodMusic does not collect, store, or track any personal user data. All mood and song suggestions are processed via third-party APIs without any form of user tracking.


🙌 Acknowledgements


💬 Feedback & Support

If you encounter bugs or have suggestions:


📄 License

This project is licensed under the MIT License.
See LICENSE for details.

About

Song suggestions for every emotion.

Resources

License

Stars

Watchers

Forks

Languages