Skip to content

Pushan2005/SpotTransfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 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>

    Important note - Spotify has made changes to their API where users will now require a Spotify Premium Subscription in order to use the API. Please make sure to get these credentials from an account that has a premium subscription (the Spotify account you get the credentials from doesn't have to be the same account where the playlists are, a friend's account with a subscription also works)

  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.

About

Spotify to YT-Music Playlist Sync Tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors