🎧☁️ Modern Music Server and Streamer compatible with Subsonic/Airsonic
Go to file
Deluan 56273dd4d9 SQL/Orm MediaFileRepository complete 2020-01-13 10:44:16 -05:00
.github/workflows Moved from Travis to GitHub actions 2020-01-04 21:23:24 -05:00
api Refactor: NewResponse is more explicit 2020-01-11 17:18:20 -05:00
bin Removed unused scripts (moved to Makefile) 2016-10-10 21:03:21 -04:00
conf Make persistence provider pluggable at runtime 2020-01-11 15:27:32 -05:00
domain Make QueryOptions optional in PlaylistRepository.GetStarred 2020-01-11 21:38:02 -05:00
engine Expose mediafile.AbsolutePath to remove dependency of the persistence layer in the API layer 2020-01-11 15:27:32 -05:00
itunesbridge Playlists support (99%) complete! 2016-03-24 13:28:20 -04:00
log Add trace level to log 2020-01-10 13:11:24 -05:00
persistence SQL/Orm MediaFileRepository complete 2020-01-13 10:44:16 -05:00
scanner More logging in the Importer 2020-01-11 15:27:32 -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 2020-01-11 22:32:32 -05:00
app.go Remove unnecessary type casting 2020-01-11 16:56:08 -05:00
go.mod SQL/Orm ArtistRepository complete 2020-01-13 10:44:16 -05:00
go.sum SQL/Orm ArtistRepository complete 2020-01-13 10:44:16 -05:00
main.go Make persistence provider pluggable at runtime 2020-01-11 15:27:32 -05:00
mime_types.go Removed (almost) all remaining init() 2020-01-09 22:44:45 -05:00
wire_gen.go SQL/Orm MediaFileRepository complete 2020-01-13 10:44:16 -05:00
wire_injectors.go SQL/Orm MediaFileRepository complete 2020-01-13 10:44:16 -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

While it is already functional (see Installation below), it is still in its early stages.

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