SpotHub
SpotHub copied to clipboard
:headphones: :relaxed: Collaborate on Spotify playlists using Pull Requests, powered by GitHub Actions
SpotHub
Collaborate on Spotify playlists using Pull Requests :headphones: :relaxed:
How does this even work?
Using GitHub Actions of course!
On every push
to the master
branch, the Action will:
-
Grab a fresh access token from Spotify, using the
SPOTIFY_AUTH
andSPOTIFY_REFRESH_TOKEN
secrets. -
Generate a JSON payload, from
playlist.csv
. -
Update a playlist on Spotify, specified by the
playlist_id
environment variable.
What do I do?
- Update
playlist.csv
-
git commit
-
git push
- Enjoy your updated Spotify playlist
Why was this built?
So we can collaborate on playlists the right way :wink:
Also, because I :heart: 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 :headphones: :relaxed: