THE BEST Sauce labs names is Sirachachacha

🎵 MoodWave: Spotify-Integrated Mood-Based Playlist Generator

Welcome to MoodWave, a web app that generates custom Spotify playlists based on your mood! MoodWave allows you to control your Spotify playback and generate mood-based playlists instantly. Whether you're feeling happy, energetic, calm, or sad, MoodWave has the right playlist for you!


✨ Features

  • Login with Spotify: Authenticate with Spotify using OAuth 2.0.
  • Mood-based Playlist Generation: Create playlists tailored to your mood.
  • Playback Control: Play, pause, skip, and shuffle songs directly from the app.
  • Device Control: Transfer playback across Spotify-enabled devices.
  • User Playlists Overview: View and refresh your Spotify playlists.
  • Currently Playing View: Display the current track and album cover.

🛠 Technologies Used

  • Frontend: HTML5, CSS3, JavaScript (ES6+)
  • API: Spotify Web API
  • Authentication: OAuth 2.0
  • Hosting (Optional): GitHub Pages / Vercel / ngrok for local testing

🛡 How It Works

  1. OAuth Authorization: The app redirects the user to Spotify's authorization page to request permission.
  2. Access Token: After login, the app exchanges an authorization code for an access token.
  3. API Calls: Using the Spotify API, the app:
    • Fetches user playlists, devices, and the currently playing song.
    • Generates recommendations based on the selected mood.
    • Controls playback on linked Spotify devices.
  4. Mood Playlists: The app uses Spotify’s recommendations API to create a new playlist based on the user's mood selection.

🛠 Setup and Installation

Prerequisites

  • Spotify Developer Account: Create a Spotify developer account at Spotify Developer Dashboard.
  • Spotify Application: Register a new app and add the redirect URI:

Built With

Share this project:

Updates