Web Platform for music streaming
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
cache
config
controllers
db
images
log
media
models
probers
scan
streamers
transcoders
.gitignore
.travis.yml
LICENSE
README.md
api.go
config.json.example
main.go
main_test.go
main_test_config.json
release.sh
schema.sql
upload.go

README.md

Cadenzr

Build Status

Self-hosted web app for music streaming

About

Cadenzr is a webplatform which allows you to create your own streaming service.
Install Cadenzr, put some music on it, and enjoy your own music wherever you go!

Installing

Get the source code in your $GOPATH:

$ go get github.com/cadenzr/cadenzr

Then go to the app directory and build all assets for the front-end:

$ cd app; npm install; npm run build

Back in the main Cadenzr folder ($GOPATH/src/github.com/cadenzr/cadenzr), build the project and run the web service:

$ go build
$ ./cadenzr

Your webserver will then run on port 8080 (default username is admin, leave password empty). Copy config.json.example to config.json, to configure everything. (don't forget to remove the comments, otherwise the JSON is invalid.)

Web interface development

Get the source code as described in previous chapter.

The app/src directory contains the source code for the web interface.

First you should start the go backend:

$ ./cadenzr

Then run webpack in development mode:

$ npm run dev

If your backend is not running on 127.0.0.1:8080 you should modify app/config/custom.env.js to suit your needs.

$ cp ./custom.env.js.example ./custom.env.js
// Change the target in proxyTable to your backend.

Authors

Mathias Beke
Timo Truyts