Skip to content

musicplayer-io/redditmusicplayer

Repository files navigation

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