musicplayer-io / redditmusicplayer

:musical_note: A free and open-source streaming music web player using data from Reddit
https://reddit.musicplayer.io/
GNU General Public License v3.0
418 stars 50 forks source link
coffeescript player reddit soundcloud youtube


music player for reddit

A free and open-source streaming music web player using data from Reddit.

Contributing

Installation from source

$ git clone https://github.com/musicplayer-io/redditmusicplayer.git
$ cd redditmusicplayer
$ npm install

$ cp server/config/reddit.coffee.sample server/config/reddit.coffee
# edit server/config/reddit.coffee

$ cp src/coffee/config.coffee.sample src/coffee/config.coffee
# edit src/coffee/config.coffee

// In development
$ npm run build:dev
$ npm start

// In production
$ npm run build
$ NODE_ENV=production npm start

Authentication

You'll need a Reddit API key for this to work. As well as a running redis-server on port 6379.

Getting API keys

SoundCloud

SoundCloud API key. Then edit it in src/coffee/config.coffee.

Reddit

Get the API key - Only required for authentication. You can set an API key for development and production separately in server/config.reddit.coffee.

License

GPLv3 © Ilias Ismanalijev