MCPcopy Create free account
hub / github.com/Pushan2005/SpotTransfer

github.com/Pushan2005/SpotTransfer @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
40 symbols 137 edges 29 files ⚖ GPL-3.0 1 documented · 2% ● updated 41d ago★ 1,07033 open issues

Browse by type

⨍ Functions 36◇ Types & classes 2↳ Endpoints 2
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

SpotTransfer

SpotTransfer is a free, open-source tool for moving Spotify playlists to YouTube Music.

-Star graph probably didn't load if you're seeing this-

This repo holds the self-hosted desktop client (apps/desktop, plain Python) and the web frontend (apps/web).

Quick start

You need Git and Python 3.8+ installed (on Debian/Ubuntu you may also need sudo apt install python3-tk).

  1. (a) Copy and Paste this into your terminal and run:

    bash git clone https://github.com/Pushan2005/SpotTransfer.git cd SpotTransfer/apps/desktop python main.py

  2. (b) If you don't have Git, download the ZIP and run the commands below in the extracted folder instead:

    ```bash
    cd apps/desktop
    python main.py
    ```
    
  3. Open music.youtube.com and sign in to your Google account.

  4. Open your browser's developer tools and go to the Network tab.
  5. Filter the requests for /browse and find a successful POST request with a 200 status.
    • In Firefox, right-click the request and choose Copy > Copy Request Headers.
    • In Chrome or Edge, open the request, go to Headers, and copy everything from accept: */* to the end of Request Headers.
  6. Paste the copied request headers into the app's headers box.
  7. Paste your Spotify playlist link and click on Clone Playlist

Authentication issues

The YouTube Music request headers expire periodically, which is most noticeable on large playlists. When that happens the script pauses the transfer, saves its progress to apps/desktop/transfer_progress.json, and tells you what to do:

  1. Get a fresh set of request headers from YouTube Music.
  2. Paste the fresh headers into the headers box.
  3. Click "Clone Playlist" again. The app resumes from where it left off.

Starting a transfer for a different playlist automatically discards any saved progress of the previous one.

Reporting errors

If the desktop app fails, send apps/desktop/logs/spottransfer.log. If numbered backup logs are present, send the entire apps/desktop/logs folder.

Acknowledgements

Aran404 for SpotAPI

Legal Notice

Disclaimer: This repository and any associated code are provided "as is" without warranty of any kind, either expressed or implied. The author of this repository does not accept any responsibility for the use or misuse of this repository or its contents. The author does not endorse any actions or consequences arising from the use of this repository. Any copies, forks, or re-uploads made by other users are not the responsibility of the author. The repository is solely intended as a Proof Of Concept for educational purposes regarding the use of a service's private API. By using this repository, you acknowledge that the author makes no claims about the accuracy, legality, or safety of the code and accepts no liability for any issues that may arise. More information can be found HERE.

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 36
Interface 2
Route 2

Languages

TypeScript62%
Python38%

Modules by API surface

frontend/src/components/create-playlist/input-fields.tsx5 symbols
backend/spotify.py4 symbols
backend/selfhost.py4 symbols
backend/main.py4 symbols
frontend/src/pages/announcements.tsx3 symbols
backend/ytm.py3 symbols
frontend/src/context/playlist-context.tsx2 symbols
frontend/src/components/ui/alert-dialog.tsx2 symbols
frontend/src/components/theme-provider.tsx2 symbols
frontend/src/components/create-playlist/get-headers.tsx2 symbols
frontend/src/pages/create-playlist.tsx1 symbols
frontend/src/pages/App.tsx1 symbols

For agents

$ claude mcp add SpotTransfer \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page