Deckify collects the recently played musics from spotify users and creates automatic collaborative playlists
You'll need to install Go in your machine. Follow the instructions in https://golang.org/doc/install or use the package manager of your preference.
After this:
- Download the source code;
- Open your terminal/prompt within the project folder path;
- Create the following environment variables:
- SPOTIFY_ID={your spotify client id}
- SPOTIFY_SECRET={your spotify client secret}
- DECKIFY_COLLECTOR_PAGESIZE=100
- DECKIFY_COLLECTOR_CALL_INTERVAL_TIME_IN_SECONDS=5
- DECKIFY_STACKER_PAGESIZE=100
- DECKIFY_STACKER_CALL_INTERVAL_TIME_IN_SECONDS=15
- DECKIFY_STACKER_TRACK_WINDOW_IN_DAYS=30
- Run the following commands:
go mod download
go run deckify.go
- Create an .env file and set the following environment variables:
- SPOTIFY_ID={your spotify client id}
- SPOTIFY_SECRET={your spotify client secret}
- DECKIFY_COLLECTOR_PAGESIZE=100
- DECKIFY_COLLECTOR_CALL_INTERVAL_TIME_IN_SECONDS=5
- DECKIFY_STACKER_PAGESIZE=100
- DECKIFY_STACKER_CALL_INTERVAL_TIME_IN_SECONDS=15
- DECKIFY_STACKER_TRACK_WINDOW_IN_DAYS=30
- Run the following commands:
docker pull silvanoneto/deckify
docker run --env-file .env -p 8080:8080 --rm silvanoneto/deckify