GitHub pull requests GitHub package.json version GitHub commit activity

Suggested playlist according to the weather in your location

How to use

You can access the demo, and your location will be requested. You can also manually change it by clicking on the city.

You can create a new private playlist by picking tracks from the suggested playlists and save to listen later.

Developing

In order to run locally, beware to set the following environment variables:

  • OPEN_WEATHER_KEY: Create an accounnt at OpenWeather and get an API key
  • SPOTIFY_CLIENT_ID: Register an application at Spotify and get the Client id

You can also run the container image: docker run -e SPOTIFY_CLIENT_ID=ID -e OPEN_WEATHER_KEY=KEY -p 9000:9000 irregiani/spotify-weather

All components should have Unit Tests, the Action requires all tests passing to allow a PR or deploy. So, npm run test is mandatory.

Current project status: In progress