A music discovery and playlist generation tool powered by last.fm and Spotify.
You can play with a live version here
-
Clone
git clone https://github.com/fallaciousreasoning/discoverer.git -
Change to the repository directory
cd discoverer -
Install npm packages
npm install -
Get a Last.FM api key from Last.FM
-
Get a Spoify api key from the Spotify Developer Console. You should add a callback url to
http://<YOUR_HOST>/authorize(if you're running locally this will behttp://localhost:<PORT>/authorize) -
Create a file
config.jsonin the root directory with the contents{ "lastfmApiKey": "<LASTFMAPIKEY>", "lastfmApiSecret": "<LASTFMAPISECRET>", "spotifyClientId": "<SPOTIFYCLIENTID>", "spotifyClientSecret": "<SPOTIFYCLIENTSECRET>", "spotifyRedirectUrl": "<CALLBACKURL>" } -
Run
weback-dev-serverand open the url