A React application that helps you create and manage Spotify playlists using CSV imports and manual song entries.
- 🎵 Import songs from CSV files
- 🔄 Sync with Spotify
- 🌓 Dark/Light theme support
- 📱 Responsive design
- 🎯 Smart song matching with Spotify's catalog
- Node.js 16+ and npm
- A Spotify Developer account and application
- Create one at Spotify Developer Dashboard
- Set the redirect URI to
http://localhost:5173/callback
-
Clone and Install
git clone https://github.com/yourusername/playlist-manager.git cd playlist-manager npm install
-
Environment Variables
Create a
.env
file in the root directory:VITE_SPOTIFY_CLIENT_ID=your_client_id_here VITE_REDIRECT_URI=http://localhost:5173/callback
-
Start Development Server
npm run dev
Access the app at
http://localhost:5173
-
Build for Production
npm run build npm run preview
-
Connect to Spotify
- Click "Connect with Spotify" button
- Authorize the application
-
Import Songs
- Upload a CSV file with columns: Title (required), Artist, Album
- Or manually add songs using the form
-
Create Playlist
- Review your song list
- Click "Create Playlist" to sync with Spotify
- The app will automatically match your songs with Spotify's catalog
Title,Artist,Album
Bohemian Rhapsody,Queen,A Night at the Opera
Yesterday,The Beatles,Help!
- Song Not Found: The app uses Spotify's search API to find matches. Try providing more accurate song details.
- Auth Issues: Make sure your Spotify Developer application settings match your environment configuration.
- CSV Import Issues: Verify your CSV follows the required format.
- React + Vite
- Tailwind CSS
- Spotify Web API
- React Router
- Papa Parse (CSV parsing)
MIT License - feel free to use and modify for your own projects.