Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 2.58 KB

README.md

File metadata and controls

33 lines (21 loc) · 2.58 KB

Spotilist

Create a spotify playlist from a BBC Sounds episode

Spotilist is a site that automates the creation of new Spotify playlists containing tracks listed on a BBC Sounds episode.

Screenshot of the User Interface

Get Started

Online Demo Site

Try out the fully functional demo-site built from this repository and running on GitHub pages.

The demo site uses my a personal CORS proxy server running All Origins. If you are thinking of hosting this yourself then consider spinning up your own CORS proxy rather than relying on mine.

Host your own

I encourage you to host your own instance of this tool, so that you can build upon it and play with it! It's easy, just:

  1. Clone the repository

  2. Modify lines 70 and 71 in spotilist.alpha.js so that the redirect_uri is appropriate. By default it points back to the demo site at spotilist.cooper-davis.net but if you're hosting it locally you will want to change this to localhost and the appropriate port.

  3. Host it. Any server will do, such as Python's:

    python -m http.server

    which allows the site to be accessed at http://localhost:8000

  4. Host your own All Origins Server so that you're not relying on my tiny Oracle Free Tier instance.

  5. Register for a spotify developer client ID so that you're not using mine all the time. You will need to modify Line 69 of spotilis.alpha.js to replace my client ID with yours. Note that you will need to whitelist the redirect URI on your Spotify dashboard.

Contributing

Please do - by filing any issues you encounter or any enhancements you can think of, or even better by coding up those improvements yourself and making a pull request.

Acknowledgements

Many thanks to the developers of All Origins and jQuery whose exceptional hard work has made this project simple.