This is a lightweight client side web application for transferring playlists from Google Play Music to Spotify.
To use this app, you need to manually export your playlists using Google Takeout (they come in CSV format). Instructions are provided in the app.
Sample playlists are available in /public/SampleExport.zip
You can use this app at gpm-to-spotify.sheets.ch or you can run it locally.
To run locally:
- Create a new Spotify app at the Spotify for Developers dashboard
- Note the "Client ID" of your new app
- Edit Settings and add a redirect URI:
http://localhost:3000/redirect
- Create a
.env.local
file in the projects root directory- Add this line:
NEXT_PUBLIC_CLIENT_ID=your-client-id
- Add this line:
- Install and run the application.
yarn
thenyarn dev
- View the running application at http://localhost:3000
I built this app partially to migrate my playlists and partially to gain experience with certain frameworks and techniques. Goals for this codebase included:
- Build with next.js
- Use only hooks for state management
- Use only functions for all components and utilities
Chad Sheets - GitHub | Blog | Email
Released under the MIT License