The easiest music streaming server available
Go to file
2018-06-04 02:12:17 -04:00
docs Update docs 2018-06-04 02:12:17 -04:00
electron Electron OSX support 2018-01-18 15:31:40 -05:00
image-cache Full metadata support and some bug fixes for mobile 2017-04-11 15:08:51 -04:00
modules Update docs 2018-06-04 02:12:17 -04:00
public Add tooltips to UI buttons 2018-05-24 16:12:04 -07:00
_config.yml Set theme jekyll-theme-cayman 2018-01-18 14:47:28 -05:00
.gitignore Fix gitignore 2018-04-29 17:34:52 -04:00
Dockerfile Update docker file to use local git repo instead of npm install 2018-02-22 07:37:56 -05:00
LICENSE Create LICENSE 2017-04-29 13:53:32 -04:00
mstream-command-line-boot-wrapper.js Code cleanup + ffmpeg test 2018-04-05 00:37:08 -04:00
mstream-electron.js Update electron to latest version 2018-03-25 01:04:25 -04:00
mstream.js Upgrraded howler + more transcoding stuff 2018-04-05 13:35:03 -04:00
package.electron.json Forgot semver for electron 2017-11-10 01:39:51 -05:00
package.json Update dependicies and code format 2018-05-13 12:55:44 -04:00
README.md Update readme 2018-06-04 00:51:35 -04:00

mStream

mStream is a personal music streaming server. You can use mStream to stream your music from your home computer to any device, anywhere.

mStream Webapp

Demo

Demo 1 (no password required)

Demo 2 (username: admin, password: abc123)

Install mStream Server

Binaries for Win/OSX/Linux

This is the easiest way to install mStream. They have no dependencies so you can just download and run them. Get them on our release page.

These binaries come with some additional features:

If you just want the core part of mStream, use one of the other methods.

NPM

npm install -g mstream

Github + Node

For the the latest code use this method.

git clone https://github.com/IrosTheBeggar/mStream.git
cd mStream
# Install without dev dependencies
npm install --only=production
sudo npm link

mStream is also available as a pre-compiled EXE for Windows. This version is called mStream Express and can be downloaded from the release page

Running & Configuring mStream

mStream can be run with command mstream. This will boot an mStream server on port 3000 and will use the current working directory as your music directory.

Configure with CLI Flags

The quickest way to setup mStream is to use command line flags. A full list of command line settings can be seen here. These config options should be enough for most users. More advanced configurations can be made by using a JSON config file

# change port (defaults to 3000)
mstream -p 4999

# setup user
# the login system will be disabled if these values are not set
mstream -u username -x password

# set music directory
# defaults to the current working directory if not set
mstream -m /path/to/music

## lastFM Scrobbling
mstream -l username -z password

Configure mStream with a JSON file

mStream can also be booted using a JSON file using the -j flag. Using a JSON config file allows for more advanced configuration options, such as multiple users and folders.

When booting with a JSON config file, all other flags will be ignored.

mstream -j /path/to/config.json

An example config is shown below. You can see the full set of config options here

{
  "port": 3030,
  "database_plugin":{
    "dbPath":"/path/to/mstream.db"
  },
  "folders": {
    "blues": "/path/to/blues",
    "metal": "/path/to/metal"
  },
  "users": {
    "dan": {
      "password":"qwerty",
      "vpaths": ["blues", "metal"]
    },
    "james": {
      "password":"password",
      "vpaths": ["blues"],
      "lastfm-user": "username",
      "lastfm-password": "password"
    }
  }
}

Android/iPhone Apps

mStream has an Android App in progress. The app is currently in the alpha stage of development, but it works well enough for public use. The app will be released to Google Play once it's no longer an alpha.

For now you can download it from the git repo

The API

mStream uses a JSON based REST API. The API is documented here

The Docs

All the details about mStream are available in the docs folder

Contributing

Like the project? Consider sending us some money on Patreon