- Clone the repo:
git clone git@github.com:camjackson/spotify-automation
- Install the dependencies:
yarn
- Initialise some empty data files:
yarn setup
- Log in to https://beta.developer.spotify.com/dashboard/, and create a
src/creds.js
that exports an object withclientId
andclientSecret
. - Download the track data:
yarn getTrackData
- (Optional) Adjust artist/album filters in:
src/getTrackData/filters.js
- (Optional) Adjust feature thresholds in:
src/getTrackData/4-filterTracks.js
yarn createPlaylist
Once you have the creds and filters set up how you want them, create a fresh playlist in one step:
./refresh.sh