Back to services

Supysonic

Python implementation of the Subsonic server API.

View alternatives to Supysonic
Suggest edit
Open source
Self-hostable
AGPL-3.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Introduction

Supysonic is an implementation of the Subsonic server API written in Python. It is not a complete clone of Subsonic; its focus is on providing a Subsonic-compatible server interface. As a result, any client that supports the Subsonic API (mobile, desktop, or web player) can connect to Supysonic to browse and stream the music library on your own server. The project is hosted on GitHub (spl0k/supysonic).

Key Features

  • Subsonic API compatibility: Works with a wide range of existing clients in the Subsonic ecosystem, so you aren't tied to a single dedicated app.
  • Library scanning: Scans local directories and reads the tag information of audio files (artist, album, track, etc.) to build an index of your media library.
  • Streaming and downloading: Play or download tracks remotely through a client.
  • Transcoding: Can use external transcoding tools to convert audio formats and bitrates on demand, which is useful when bandwidth is limited.
  • Playlists and favorites: Supports common Subsonic API features such as playlists and starred favorites.
  • Multi-user management: Comes with a simple web admin interface and command-line tools for managing users, folders, and scan tasks.
  • Listening history sync: Can submit (scrobble) your play history to services such as Last.fm.

Target Users and Use Cases

  • Individuals who want to build their own music cloud and move away from commercial streaming platforms.
  • Developers and tinkerers who want a lightweight Python solution whose source code is easy to read and modify.
  • Users who want to run a home music server on a Raspberry Pi, a NAS, or a small VPS.

Core Strengths

  • Lightweight: Built on Python with modest resource usage, making it suitable for low-power devices.
  • Rich client ecosystem: Compatible with the Subsonic API, so you can use many existing clients directly, such as DSub, Sonixd, and Substreamer.
  • Open source: The source code is public, so you can deploy it freely and build on it.

Installation and Deployment

A typical deployment looks like this (refer to the repository README and documentation for the exact steps):

  1. Prepare a Python 3 environment, then get the source code from GitHub or install it via pip.
  2. Write a configuration file to set up the database connection (SQLite is a common choice, but MySQL, PostgreSQL, and others also work) and other parameters.
  3. Use the bundled command-line tools to create an administrator user, add music folders, and then run a scan.
  4. Run it as a WSGI application, optionally with an application server such as Gunicorn or uWSGI, and put a reverse proxy like Nginx in front of it.
  5. Enter the server address and your account details in a Subsonic-compatible client to connect and start listening.

Technical Requirements

  • Python 3 runtime
  • A supported database (such as SQLite)
  • Optional: external tools for transcoding (such as FFmpeg)

Things to Note

  • Supysonic focuses on the server-side API and does not include a full-featured web player of its own, so day-to-day listening relies mainly on third-party Subsonic clients.
  • If you need a similar solution with more features, take a look at other Subsonic API-compatible servers such as Navidrome, Airsonic-Advanced, and Gonic.