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.gitChange to the repository directory
cd discovererInstall npm packages
npm installGet 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