This small javascript app will create spotify playlist from your last.fm loved tracks.
This app uses a spotify client ID and secret key for spotify api access. For development you will need to register your own:
http://localhost:8888/callback
First, install nodejs
Clone the repository with git and cd into it:
git clone git@github.com:cah-keyanhardman/lastfmtospotify.git
cd lastfmtospotify
Install npm dependencies:
npm install
The app is configured with the following environment variables:
To run in development on the default port:
CLIENT_ID={your spotify client id} CLIENT_SECRET={your spotify client secret} node main/app.js
Then, open http://localhost:8888
in a browser.