🎧☁️ Modern Music Server and Streamer compatible with Subsonic/Airsonic
Go to file
Deluan 31dfab90bd Simplify StreamController 2020-01-14 15:34:18 -05:00
.github/workflows Moved from Travis to GitHub actions 2020-01-04 21:23:24 -05:00
api Simplify StreamController 2020-01-14 15:34:18 -05:00
bin Removed unused scripts (moved to Makefile) 2016-10-10 21:03:21 -04:00
conf Allow LogLevel to be configurable. Also add filename and line number when LogLevel>=debug 2020-01-13 19:57:36 -05:00
domain Implement Artist search with SQL, removed old search/indexer code 2020-01-13 16:06:30 -05:00
engine Remove dependency on goleveldb 2020-01-13 16:40:51 -05:00
itunesbridge Playlists support (99%) complete! 2016-03-24 13:28:20 -04:00
log Allow LogLevel to be configurable. Also add filename and line number when LogLevel>=debug 2020-01-13 19:57:36 -05:00
persistence Allow LogLevel to be configurable. Also add filename and line number when LogLevel>=debug 2020-01-13 19:57:36 -05:00
scanner Implement Artist search with SQL, removed old search/indexer code 2020-01-13 16:06:30 -05:00
server Add a 410-Gone handler for endpoints that will not be implemented 2020-01-13 20:45:38 -05:00
static Implemented getAvatar 2016-03-21 20:31:28 -04:00
tests Make DisableAuthentication a Dev flag 2020-01-11 15:27:32 -05:00
utils Move mapping functions to db_ledis, where it is used 2020-01-11 15:27:32 -05:00
.gitignore More logging in the Importer 2020-01-11 15:27:32 -05:00
LICENSE Changing license 2017-04-01 09:21:55 -04:00
Makefile Added CORS middleware 2020-01-09 22:44:45 -05:00
README.md Update README.md 2020-01-13 17:31:12 -05:00
go.mod Remove dependency on goleveldb 2020-01-13 16:40:51 -05:00
go.sum Implement Artist search with SQL, removed old search/indexer code 2020-01-13 16:06:30 -05:00
main.go Add startup banner 2020-01-13 18:24:54 -05:00
wire_gen.go Move App to server package 2020-01-13 17:06:47 -05:00
wire_injectors.go Move App to server package 2020-01-13 17:06:47 -05:00

README.md

CloudSonic Server

Build Status Go Report Card

CloudSonic is a music collection server and streamer, allowing you to listen to your music collection from anywhere. It relies on the huge selection of available mobile and web apps compatible with Subsonic, Airsonic and Madsonic

It is already functional (see Installation below), but still in its early stages. Currently it can only import iTunes libraries, but soon it will also be able to scan any folder with music files.

Version 1.0 main goals are:

  • Be fully compatible with available Subsonic clients (actively being tested with DSub, Music Stash and Jamstash)
  • Import and use all metadata from iTunes, so that you can optionally keep using iTunes to manage your music
  • Implement smart/dynamic playlists (similar to iTunes)
  • Optimized ro run on cheap hardware (Raspberry Pi) and VPS

Supported Subsonic API version

I'm currently trying to implement all functionality from API v1.8.0, with some exceptions.

Check the (almost) up to date compatibility chart for what is working.

Installation

As this is a work in progress, there are no installers yet. To have the server running in your computer, follow the steps in the Development Environment section below, then run it with:

$ export SONIC_MUSICFOLDER="/path/to/your/iTunes Library.xml"
$ make run

The server should start listening for requests. The default configuration is:

  • Port: 4533
  • User: anyone
  • Password: wordpass

To override this or any other configuration, create a file named sonic.toml in the project folder. For all options see the configuration.go file

Development Environment

You will need to install Go 1.13

Then install dependencies:

$ make setup

Some useful commands:

# Start local server (with hot reload)
$ make run

# Run all tests
$ make test

Copying

CloudSonic - Copyright (C) 2017-2020 Deluan Cotts Quintao

The source code is licensed under GNU Affero GPL v3. License is available here