Search spotify playlist, powered by InstantSearch.js / Algolia
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode chore(debug): add vscode laucher config Aug 5, 2018
bin
data feat(curator): added estelle caswell from Vox (earworm) Dec 22, 2018
scrapper feat(fetch): add time spent scrapping new data Dec 7, 2018
web fix(opensearch): use new domain name Dec 9, 2018
.gitignore chore(deploy): add publishing script Jul 8, 2017
README.md chore(doc): add readme Jul 8, 2017
package.json feat(mongo): move from files to mongo - 1 Aug 14, 2018
todo.md feat(curators-cli): provide a way to manage users from the command li… Aug 4, 2018
yarn.lock feat(mongo): move from files to mongo - 1 Aug 14, 2018

README.md

playlistFinder

Search spotify playlist, powered by InstantSearch.js / Algolia. The project contains two parts:

  • the scrapper fetch and index spotify playlists for a selection of known curators
  • the webapp displays a search UI for the playlist indices

The web app is made using InstantSearch.js, the UI library for creating instant search experiences made by Algolia.

Running the scrapper

Before running this part of the project, you need a spotify account and an algolia account. You also need node.js and yarn.

Then you need to define the following environment variables:

  • ALGOLIA_APPLICATION_ID: the application id of your algolia account
  • ALGOLIA_ADMIN_KEY: the admin key associated
  • SPOTIFY_ID: your spotify client id
  • SPOTIFY_SECRET: the associated secret to get access to the API

Once that this is setup, follow those steps:

  • cd scrapper
  • yarn
  • node index.js
  • node upload.js

Running the UI

Follow those steps:

The example uses the default index, you can use your own by updating web/js/app.js.