SpotTransfer lets you instantly migrate any Spotify playlist to YouTube Music—no manual copy-pasting needed.
Prerequisites:
- Python 3.8+
- Node.js 14+ (or pnpm)
- Spotify Developer account (client ID & secret)
Clone and install both backend and frontend:
git clone https://github.com/Pushan2005/SpotTransfer.git
cd SpotTransfer
- Navigate to the
backend
directory:cd backend/
- Install the Python dependencies:
pip install -r requirements.txt
- Create an
.env
file and add your Spotify credentials (get these from the Spotify Developer Dashboard):SPOTIPY_CLIENT_ID=<your_spotify_client_id> SPOTIPY_CLIENT_SECRET=<your_spotify_client_secret> FRONTEND_URL=http://localhost:5173
- Start the Flask server:
Sometimes, using
python3 main.py
python3
might not work depending on how python is configured on your system. Runningpy main.py
usually works in such situations.
- In the
frontend
directory, create an.env
file with the following content:VITE_API_URL=http://localhost:8080
- Install the frontend dependencies:
npm install
- Run the dev server for the frontend:
If you wish, you can build the app and serve it as well but the dev server works just fine for now.
npm run dev
- Open your browser and go to
http://localhost:5173
.