SwingMusic
Swing Music is a beautiful, self-hosted music player and streaming server for your local audio files. Like a cooler Spotify ... but bring your own music.
Swing Music is a blazingly fast and beautiful, self-hosted music streaming server. Like a cooler Spotify ... but bring your own music.
Features
- Daily Mixes - curated everyday based on your listening activity
- Metadata normalization - a clean and consistent library
- Album versioning - normalized albums and association with version labels (eg. Deluxe, Remaster, etc)
- Related artist and albums
- Folder view - Browse your music library by folders
- Beautiful browser based UI
- Silence detection - Combine cross-fade with silence detection to create a seamless listening experience
- Collections - Group albums and artists based on your preferences
- Statistics - Get insights into your listening activity
- Last.fm scrobbling
- Multi-user support
- Cross-platform - Windows, Linux, MacOS (coming soon), arm64, x86
Installation
On Linux or MacOS run the command below to install Swing Music:
curl -fsSL https://setup.swingmx.com | bash
To run Swing Music on Windows, download the portable build from the downloads page and run it.
The app should start at http://localhost:1970 by default. Open the URL in your browser to configure and use Swing Music.
[!TIP] To stream your music from your Android device, download the Android mobile client.
Using Docker Compose
Here's a sample Docker compose file:
services:
swingmusic:
image: ghcr.io/swingmx/swingmusic:latest
container_name: swingmusic
volumes:
- /path/to/music:/music
- /path/to/config:/config
ports:
- "1970:1970"
restart: unless-stopped
Using Docker CLI
docker pull ghcr.io/swingmx/swingmusic:latest
Then run:
docker run --name swingmusic -p 1970:1970 -v /path/to/music:/music -v /path/to/config:/config --restart unless-stopped ghcr.io/swingmx/swingmusic:latest
Replace /path/to/music and /path/to/config with the appropriate values. In addition, specify the /music directory as the root directory inside Swing Music.
[!TIP] For more info, see the Docker section on the docs.
Options
Options flags can be passed when starting the app in the terminal to tweak runtime settings or perform tasks. You can use the -h flag to see all supported options.
[!TIP] You can read more about options in the docs.
Contributing and Development
Swing Music is looking for contributors. If you're interested, please join us at the Swing Music Community group on Telegram. For more information, take a look at https://github.com/swing-opensource/swingmusic/issues/186.
License
This software is provided to you with terms stated in the AGPLv3 License or any later version. Read the full text in the LICENSE file located at the root of this repository.
Contributors
Shout out to the following code contributors who have helped maintain and improve Swing Music:
