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.
- 🎧 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
- 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
To clone and run MoodMusic locally, you must provide your own OpenAI API key. Without it, the app will not function.
- Go to
Product > Scheme > Edit Scheme - Under the
Runsection, open the Arguments tab - 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.
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.
- 🎨 Font: Pacifico by Vernon Adams
- 🎵 Music suggestions powered by OpenAI
- 🎧 Album art and links from iTunes Search API
- 🔧 Built entirely with SwiftUI
If you encounter bugs or have suggestions:
- Email me directly → ryzenlyve@gmail.com
This project is licensed under the MIT License.
See LICENSE for details.