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
backenddirectory:cd backend/ - Install the Python dependencies:
pip install -r requirements.txt
- Rename
.env.exampleto.envand 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>
- Start the Flask server:
Sometimes, using
python3 main.py
python3might not work depending on how python is configured on your system. Runningpy main.pyusually works in such situations.
- In the
frontenddirectory, rename.env.exampleto.envand make any changes to the variable if required: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.