The easiest music streaming server available
Go to file
2018-01-06 02:57:35 -05:00
docs Modify docs for lastfm 2017-11-13 13:37:46 -05:00
electron Added docs 2017-09-17 16:06:09 -04:00
image-cache Full metadata support and some bug fixes for mobile 2017-04-11 15:08:51 -04:00
modules Allow empty users in config.json 2018-01-06 02:57:35 -05:00
public Fixed scrobble bug 2017-11-13 13:32:23 -05:00
.gitignore Ignore package-lock until I have a better idea of wehat it does 2017-10-18 21:37:16 -04:00
Dockerfile Added Dockerfile and modified README 2016-08-26 09:33:39 +02:00
LICENSE Create LICENSE 2017-04-29 13:53:32 -04:00
mstream-command-line-boot-wrapper.js Messaging tweaks 2017-10-26 23:22:51 -04:00
mstream-electron.js Added donate button 2017-11-10 01:39:34 -05:00
mstream.js Added lastfm support 2017-11-13 02:29:13 -05:00
package.electron.json Forgot semver for electron 2017-11-10 01:39:51 -05:00
package.json Moved DB to new structure 2017-10-26 13:05:21 -04:00
README.md Modify docs for lastfm 2017-11-13 13:37:46 -05: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

The best way to install mStream is to pull the latest version with git and build that. The full instruction for a fresh Ubuntu install can be found here. The quick version is:

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

mStrean 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. The quickest way to setup mStream is to use command line flags. A full list of command line settings can be seen here

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

# setup user
# the login system will be disabled if this isn't set
mstream -u username -x password

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

## lastFM Scrobbling
mstream -l username -z password

mStream can also be configured with a json file. This method allows you to use more advanced configuration options. The config file can be used to setup multiple directories and users. Run this with the command mstream /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 is currently adding support for the subsonic API. Once that's done mStream will be accessible by a number of mobile apps

The Docs

All the details about mStream are available in the docs folder

Contributing

Like the project? Consider sending us some money on Patreon