Skip to content

Pushan2005/SpotTransfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SpotTransfer

Overview

SpotTransfer lets you instantly migrate any Spotify playlist to YouTube Music—no manual copy-pasting needed.

Quick Start

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

Backend Setup

  1. Navigate to the backend directory:
    cd backend/
  2. Install the Python dependencies:
    pip install -r requirements.txt
  3. Rename .env.example to .env 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>
  4. Start the Flask server:
    python3 main.py
    Sometimes, using python3 might not work depending on how python is configured on your system. Running py main.py usually works in such situations.

Frontend Setup

  1. In the frontend directory, rename .env.example to .env and make any changes to the variable if required:
    VITE_API_URL=http://localhost:8080
  2. Install the frontend dependencies:
    npm install
  3. Run the dev server for the frontend:
    npm run dev
    If you wish, you can build the app and serve it as well but the dev server works just fine for now.
  4. Open your browser and go to http://localhost:5173.