How pushan2005/spottransfer works
SpotTransfer moves Spotify playlists to YouTube Music through a self-hosted desktop client: users provide a playlist link and authenticated YouTube Music request headers, then the client fetches tracks, searches for matches, and creates a playlist. The web app is a companion site for the landing page, setup guide, and announcements, not the transfer runtime. The desktop excerpts show worker orchestration and resumable progress; stage-level transfer relationships are documented in the README, while some backend details are unsampled.
Main entry points: main.py Desktop client · selfhost.py Transfer backend · main.tsx Web router · App.tsx Landing page
Components 15
Desktop transfer
- Desktop client
apps/desktop/main.py - Transfer backend
apps/desktop/selfhost.py - Spotify playlist
- Track fetching
apps/desktop/selfhost.py - YouTube matching
apps/desktop/selfhost.py - Playlist creation
apps/desktop/selfhost.py - YouTube Music
Web companion
- Web router
apps/web/src/main.tsx - Landing page
apps/web/src/pages/App.tsx - Setup guide
apps/web/src/pages/guide.tsx - Announcements
apps/web/src/pages/announcements.tsx
Runtime support
- Transfer progress
apps/desktop/main.py - Redacted logging
apps/desktop/logging_config.py
Other components
- User
- Site visitor
Connections 15
- User → Desktop client: provides inputs
README.md - Desktop client → Transfer backend: loads backend
apps/desktop/main.py - Transfer backend → Track fetching: fetches tracks
README.md - Track fetching → Spotify playlist: reads playlist
README.md - Transfer backend → YouTube matching: searches tracks
README.md - YouTube matching → YouTube Music: searches matches
README.md - Transfer backend → Playlist creation: creates playlist
README.md - Playlist creation → YouTube Music: writes playlist
README.md - Desktop client → Transfer progress: saves progress
apps/desktop/main.py - Desktop client → Redacted logging: logs events
apps/desktop/logging_config.py - Site visitor → Web router: opens site
apps/web/src/main.tsx - Web router → Landing page: routes home
apps/web/src/main.tsx - Web router → Setup guide: routes guide
apps/web/src/main.tsx - Web router → Announcements: routes updates
apps/web/src/main.tsx - Landing page → Setup guide: links setup
apps/web/src/pages/App.tsx