All Projects → kabirvirji → Spotifork

kabirvirji / Spotifork

🍴 Fork a Spotify playlist

Programming Languages

javascript
184084 projects - #8 most used programming language

spotifork 🍴

Fork a Spotify playlist

NOTE: Since I began this project Spotify's API has changed (for one, see the difference in URIs now). However, I have implemented a quick fix to get spotifork working again


Spotifork creates an identical playlist from another user's playlist under your name. Just like forking on GitHub! You can then add/remove songs as you please.

Install

$ npm install -g spotifork

Note: Node version 7.7.1+ required. $ node -v to check which version you have installed. The latest version can be downloaded here

Usage

$ spotifork <playlist URI>

The program will then prompt you for your Spotify username and bearer token.

You can get the playlist URI by going to share on whichever Spotify platform you're on.

You can get the bearer token here: https://developer.spotify.com/web-api/console/post-playlists/
Click GET OAUTH TOKEN and make sure to check playlist-modify-public

Optional Parameters

-n to specify the new forked playlist name


$ spotifork --help

Usage
      $ spotifork "<playlist URI>"
      ? Enter your Spotify username <username>
      ? Enter your Spotify bearer token <bearer>

    Options
      --name [-n] "playlist name"

    Example
      $ spotifork spotify:user:kabirvirji:playlist:57wpYVzySANpWQpiBetoMi -n "My awesome playlist!"
      ? Enter your Spotify username kabirvirji
      ? Enter your Spotify bearer token ************************************************************

    For more information visit https://github.com/kabirvirji/spotifork

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].