Skip to content

prestonp/discoteca

Repository files navigation

Discoteca

Jukebox web app powered by Spotify

Prequisites

  • Spotify premium subscription and application key (spotify_appkey.key)
  • node.js
  • libspotify

Download libspotify

Get libspotify

brew install homebrew/binary/libspotify

In case you need xcode command line tools:

xcode-select --install

Install

git clone https://github.com/prestonp/discoteca.git
npm install

Compiling node-spotify from npm does not work atm, but the binary builds at the node-spotify homepage do. To install, unzip the file contents to /node_modules.

Configure

cp config.js.sample config.js

Replace spotify credentials and server setup options. If you are having trouble logging in, try setting remember and useRemembered to false.

cp path.js.sample path.js

Replace your server info in path.js.

Run

npm start

By default, the server will listen on http://localhost:4000.

Screenshots

Song list

Search

License

MIT