/SpotHub

:headphones: :relaxed: Collaborate on Spotify playlists using Pull Requests, powered by GitHub Actions

Primary LanguageShellISC LicenseISC

SpotHub

Collaborate on Spotify playlists using Pull Requests 🎧 ☺️

How does this even work?

Using GitHub Actions of course!

On every push to the master branch, the Action will:

  1. Grab a fresh access token from Spotify, using the SPOTIFY_AUTH and SPOTIFY_REFRESH_TOKEN secrets.
  2. Generate a JSON payload, from playlist.csv.
  3. Update a playlist on Spotify, specified by the playlist_id environment variable.

What do I do?

  1. Update playlist.csv
  2. git commit
  3. git push
  4. Enjoy your updated Spotify playlist

Why was this built?

So we can collaborate on playlists the right way 😉

Also, because I ❤️ Spotify and GitHub, and now I can bring 2 of my favorite things together with GitHub Actions.

Sign up for the GitHub Actions beta here 🎧 ☺️