MoodMelody transforms your daily emotional journey into a beautiful symphony of self-discovery
๐ฏ OpenRouter + Mistral AI - Industry-leading emotion analysis |
๐ง Spotify Integration - Millions of songs at your fingertips |
๐ Interactive Charts - Watch your mood patterns unfold |
๐จ Glassmorphism UI - Modern, beautiful, and intuitive |
๐ Write Your Thoughts โ ๐ง AI Analyzes Your Mood โ ๐ต Get Perfect Music โ ๐ Track Your Growth
| Feature | What It Does | Why It's Awesome |
|---|---|---|
| ๐ Smart Journaling | Write daily entries with automatic emotion detection | Never wonder about your mood again |
| ๐ต Music Discovery | Get personalized songs based on detected emotions | Discover your new favorite song every day |
| ๐ Growth Analytics | Visualize emotional patterns over time | Watch yourself grow and improve |
| ๐ฅ Streak System | Maintain daily journaling habits | Turn self-care into a fun game |
| ๐ Global Support | 7 languages with localized music | Everyone deserves emotional wellness |
graph TB
A[๐ User Interface] --> B[โ๏ธ Next.js 15 App Router]
B --> C[๐ Supabase Auth]
B --> D[๐ค OpenRouter AI]
B --> E[๐ต Spotify API]
B --> F[๐พ Supabase Database]
C --> G[๐ค Google OAuth]
D --> H[๐ง Mistral Small 24B]
E --> I[๐ง Music Recommendations]
F --> J[๐ Mood Analytics]
style A fill:#e1f5fe
style B fill:#f3e5f5
style D fill:#fff3e0
style E fill:#e8f5e8
git clone https://github.com/HackStyx/MoodMelody.git
cd MoodMelodynpm installCreate a .env.local file with your API keys:
# Supabase Configuration
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
# AI Emotion Detection
OPENROUTER_API_KEY=your_openrouter_api_key
HUGGINGFACE_API_KEY=your_huggingface_api_key
# Spotify Music Recommendations
SPOTIFY_CLIENT_ID=your_spotify_client_id
SPOTIFY_CLIENT_SECRET=your_spotify_client_secret# Run the database schema
psql -f database/schema.sqlnpm run devOpen http://localhost:3000 to see MoodMelody in action!
Beautiful landing page with feature showcase
Mood tracking, journaling, and music recommendations
Comprehensive analytics with AI insights
Personalized settings and preferences
Dive deep into the technology and intelligence that powers your emotional journey
๐ฏ 95% Accuracy Guarantee
"From 'feeling overwhelmed' to perfect emotional insight in milliseconds" |
๐ง Millions of Songs at Your Service
"Discover your new favorite song every single day" |
๐ Your Journey Visualized
"See patterns you never knew existed in your emotional world" |
๐ก๏ธ Enterprise-Grade Protection
"Your most personal thoughts deserve the highest protection" |
| What Others Do | What MoodMelody Does | Why It Matters |
|---|---|---|
| ๐ Basic mood tracking | ๐ง AI-powered emotion analysis | Know exactly how you feel, not just guess |
| ๐ต Generic playlists | ๐ฏ Mood-matched music curation | Every song resonates with your current state |
| ๐ Simple charts | ๐ AI-generated insights | Understand patterns and triggers in your emotions |
| ๐ Basic security | ๐ Enterprise-grade protection | Your personal journey stays completely private |
| Language | Search Terms | Spotify Market | Status |
|---|---|---|---|
| ๐บ๐ธ English | Native | US | โ Active |
| ๐ช๐ธ Spanish | Localized | ES | โ Active |
| ๐ซ๐ท French | Localized | FR | โ Active |
| ๐ฉ๐ช German | Localized | DE | โ Active |
| ๐ฎ๐ณ Hindi | Localized | IN | โ Active |
| ๐จ๐ณ Chinese | Localized | TW | โ Active |
| ๐ฏ๐ต Japanese | Localized | JP | โ Active |
We welcome contributions! Here's how you can help:
- ๐ด Fork the repository
- ๐ฟ Create a feature branch (
git checkout -b feature/amazing-feature) - ๐พ Commit your changes (
git commit -m 'Add amazing feature') - ๐ Push to the branch (
git push origin feature/amazing-feature) - ๐ Open a Pull Request
POST /api/emotion
Content-Type: application/json
{
"text": "I'm feeling really happy today!"
}
Response:
{
"emotion": "joy",
"confidence": 0.95,
"method": "openrouter"
}POST /api/spotify/recommendations
Content-Type: application/json
{
"emotion": "joy",
"preferences": ["pop", "happy"],
"language": "en"
}
Response:
{
"tracks": [...],
"searches_performed": 2
}- Create a new Supabase project
- Run the provided schema (
database/schema.sql) - Configure authentication providers (Google OAuth)
- Set up Row Level Security policies
- OpenRouter: Get API key from OpenRouter
- Spotify: Create app at Spotify Developer
- Hugging Face: Get token from Hugging Face
- ๐ Vercel Analytics: User engagement and behavior tracking
- โก Speed Insights: Performance monitoring and Core Web Vitals
- ๐ Error Tracking: Comprehensive error handling and logging
- ๐ฑ PWA Metrics: Installation and usage statistics
- ๐ Live Demo: mood-melody-app.vercel.app
- ๐ง Email: [Contact HackStyx](mailto: [email protected])
- ๐ GitHub: Open an Issue
- ๐ฆ Twitter: @hackstyx
This project is licensed under the MIT License - see the LICENSE file for details.
Made with โค๏ธ by HackStyx
MoodMelody - Where emotions meet music ๐ต