Skip to content

bhagirath00/Moodify

Repository files navigation

Moodify Logo
Typing SVG

A simple way to sync your music with how you feel.

✦ The Goal

Most music apps just play songs in a row, but Moodify actually understands how you feel. We built this because skipping songs is annoying—your music should just "know" what you want to hear next.

Moodify uses your webcam to see if you are happy, sad, or tired, and then automatically finds a song on Spotify that fits that exact moment. It’s about making music feel more personal and hands-free.

Feel the Mood. Sync the Beat. Enjoy the Music.


✦ System Workflow

Moodify System Flowchart

The automated neural loop connecting biometric perception to Spotify playback.


✦ How it Works


Look

The app uses your webcam to check your facial expressions every few seconds.


Think

Our AI model figures out your mood and decides if the music needs to change.


Play

Spotify automatically plays a new song that matches your current emotion.


✦ Technology Stack


Artificial Intelligence

  • AffectNet CNN — Deep learning model for high-accuracy facial emotion recognition.
  • TensorFlow — Core engine for local and server-side neural inference.
  • OpenCV — Real-time computer vision for frame capture and processing.

Backend & Data

  • FastAPI — High-performance Python backend for low-latency mood processing.
  • Supabase — Real-time database for mood persistence and synchronization.
  • pgvector — Vector similarity search for matching emotions to song features.

Frontend & API

  • Chrome Manifest V3 — Modern extension architecture with offscreen capture logic.
  • Spotify Web API — Secure playback control and real-time track monitoring.
  • Vanilla JavaScript — Lightweight, high-performance UI injection for the Spotify Web Player.

✦ Main Features

Automatic Scanning

The AI stays quiet while you listen and only checks your mood when a song is about to end.

Instant Updates

Your mood is saved and updated instantly so the app is always in sync with you.

Better Matches

The app uses smart searching to find songs that actually sound like how you feel.

Private & Secure

Your face data stays on your computer. We don't save your photos or send them to the cloud.


Moodify

Built for the Future of Music

GitHub stars

About

A Machine Learning powered Chrome extension that automatically syncs your Spotify music with your current mood using real-time ML facial analysis.

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors