A deployment to host the application yourspotify on Kubernetes.
The application requires a Spotify application and a valid SSL certificate.
Click here to create a new Spotify application to get Client_ID
and Client_Secret
.
The values Redirect URIs
and APIs used
are required:
Setting | Example value |
---|---|
App name | Your Spotify |
App description | My Spotify history. |
Website | https://yourspotify.k8s.thinkbox.center |
Redirect URIs | https://yourspotify-backend.k8s.thinkbox.center/oauth/spotify/callback |
Bundle IDs | |
Android packages | |
APIs used | Web API |
Replace the values spotify_public
and spotify_secret
in the yourspotify-secrets
object.
A valid SSL certificate is required for this service, this part is not included in the example. Replace the defined domain with your own in the deplyoment.
A wildcard certificate can be created and defined with the parameter
--default-ssl-certificate=default/wildcard-certificate
on the nginx-ingress-controller.
The mongo database requires AVX
in a newer version, this is not easily possible in Kubernetes. For this reason, the latest version is not used here.
The Spotify WebApi only returns the listening history of the last day. To import your previous history, a backup of your user data must be requested directly from Spotify.
This can be done here and can take up to 30 days.
- Select the checkbox Extended streaming history
After some time you will receive a download link from Spotify, you can import this data into yourspotify.
Click here to get more information on the official project page. your_spotify is developed by Timothee Boussus.