Switch between Spotify (Premium) and Youtube playback from a single web-page: spotify-youtube.netlify.app.
If link above goes down, same page is hosted under mi-art.github.io
No data is stored, all javascript runs in the browser.
Spotify and Google API keys are restricted to mi-art.github.io and spotify-youtube.netlify.com.
See:
- https://developer.spotify.com/dashboard/
- https://console.cloud.google.com/, "API keys", "YouTube Data API v3"
Can be tested locally with python 3, assuming you use your own keys that allow http://localhost:8888 domain
cd ./client-side
python3 -m http.server 8888
- spotify api calls inspired from https://github.com/watsonbox/exportify and https://github.com/possan/playlistcreator-example
- made with absolutely no experience in web dev before that project, feel free to send review comments
- future:
- UI: configurable number of search result, tracks' thumbnails, paypal button to become rich
- have a server variant to allow background token refresh
- make use of spotify playback sdk to play from there directly