Spotify Playlist Generator (SPG) creates Spotify playlists from user input seed artists or genre.
Check out Spotify Playlist Generator here.
-
Set up base files
git clone https://github.com/numel007/SPG-nodejs.git cd SPG-nodejs npm install cp .env.sample .env
-
Create Spotify developer account & app
- Visit this link and create an app.
- Enter your Application Name and Application Description and click Create.
- Click on your newly created app within the dashboard to find your Client ID and Client Secret.
- Set redirect uris to your domain's callback (ex. http://localhost:3000/callback)
-
Set environment variables
- Open and edit
.env
PORT =
Whichever port you want the app to run onCLIENT_ID =
your Spotify dashboard client IDCLIENT_SECRET =
your Spotify dashboard client secretREDIRECT_URI =
your Spotify dashboard redirect uriMONGO_URI =
your MongoDB URI (can be local or cloud-based)
- Open and edit
-
Run the application!
npm start
- Current release: V1.0
- Next planned release: V1.3 - 7/30/21
- Styling updates
- Prototype implementation of automatic playlist generation
- Fix playlist description not updating
- Nightly playlist generation (in-progress)
- Genre input field
- Danceability & liveliness sliders
SPG
is available under the MIT license. See the LICENSE for more info.