Code Monkey home page Code Monkey logo

spotify-archiver's Introduction

Spotify Archiver

Important

This project wont be maintained anymore. Because it will be replaced with my archiverfy

A tooling to archive my Spotify Discover Weekly's.

TL;DR - I want this thing to run

  1. First you need to create a new Spotify app here.
  2. Copy your Client ID and Client Secret.
  3. Get your refresh token. You can find a tutorial here.
  4. You can copy Discover Weekly PlaylistID within the Spotify Web Player.
  5. 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

Available Tag's:

  • latest - Recommended: the latest stable version (main branch)
  • stage - the latest development build (develop branch)

Cron Format:

--------- 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.

Health Endpoint

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.

Kubernetes Deployment

I deploy this Software on Kubernetes, you can find the deployment files here.

spotify-archiver's People

Contributors

alaust-dev avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

spotify-archiver's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.