Important
This project wont be maintained anymore. Because it will be replaced with my archiverfy
A tooling to archive my Spotify Discover Weekly's.
- First you need to create a new Spotify app here.
- Copy your Client ID and Client Secret.
- Get your refresh token. You can find a tutorial here.
- You can copy Discover Weekly PlaylistID within the Spotify Web Player.
- Lastly you can set, when the tool should run and copies your Discover Weekly.
You can run it with Docker:
docker run -p 30100:30100 \
-e CLIENT_ID=<YOUR CLIENT_ID> \
-e CLIENT_SECRET=<YOUR CLIENT_SECRET> \
-e REFRESH_TOKEN=<YOUR REFRESH_TOKEN> \
-e DISCOVER_WEEKLY_ID=<YOUR DISCOVER_WEEKLY_PLAYLIST_ID> \
-e CRON=<THE CRON SCHEDULE> \
alaust/spotify-archiver:latest
- latest - Recommended: the latest stable version (main branch)
- stage - the latest development build (develop branch)
--------- Seconds: 0-59
| --------- Minutes: 0-59
| | --------- Hours: 0-23
| | | --------- Day of Month: 1-31
| | | | --------- Months: 0-11 (Jan-Dec)
| | | | | --------- Day of Week: 0-6 (Sun-Sat)
| | | | | |
0 0 3 * * 2
This example shows a scheduled time at 03:00:00 on Tuesday.
You can monitor if the last run is not older than 8 days.
It returns the date of the last run and status code 200 if it's not older than 8 days, otherwise it returns 500.
I deploy this Software on Kubernetes, you can find the deployment files here.