Skip to content

Ranusha5/Spotify-Visualizer

Repository files navigation

Spotify Visualizer

A personal Spotify Wrapped-style web app that pulls your real listening data via the Spotify Web API and displays it in a stunning, animated dashboard -- available any time of year.

GitHub top language License

Features

  • Login with Spotify -- Secure OAuth 2.0 PKCE flow, no backend required
  • Top Tracks -- Your most-played songs across 4 weeks, 6 months, and all time
  • Top Artists -- Discover your favorite artists with album art and genres
  • Recently Played -- See your last 50 tracks at a glance
  • Music Personality -- AI-generated personality based on your audio features (energy, danceability, valence)
  • Era Selector -- Toggle between short, medium, and long-term listening data
  • Smooth Animations -- Card reveals, staggered lists, and page transitions powered by Framer Motion
  • Dark Theme -- Sleek dark UI with Spotify green accents

Tech Stack

  • Frontend: React + Vite
  • Styling: Tailwind CSS
  • Animations: Framer Motion
  • API: Spotify Web API (OAuth 2.0 PKCE)
  • Hosting: Vercel / GitHub Pages

Getting Started

Prerequisites

Installation

# Clone the repo
git clone https://github.com/Ranusha5/Spotify-Visualizer.git
cd Spotify-Visualizer

# Install dependencies
npm install

# Start the dev server
npm run dev

Setup Spotify OAuth

  1. Go to Spotify Developer Dashboard
  2. Create a new app
  3. Add your redirect URI: http://localhost:5173 (or your production URL)
  4. Copy your Client ID and set it in src/utils/auth.js:
const CLIENT_ID = 'your_client_id_here';

Deployment

Vercel (Recommended)

npm run build
npx vercel

Remember to add your production URL to the Spotify Developer Dashboard redirect URIs.

Screenshots

Add your screenshots here!

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors