v1.4.6
Swing Music is a beautiful, self-hosted music player for your local audio files. Like a cooler Spotify ... but bring your own music. Just run the app and enjoy your music library in a web browser.
Swing Music is available as pre-compiled binaries for Windows and Linux. Just download the latest release from the downloads page and launch it.
For Linux, you need to make the file executable first.
chmod a+x ./swingmusic
./swingmusicThe app should start at http://localhost:1970 by default. Open it in your browser to use Swing Music. You can change the default port by using the --port flags.
swingmusic --port 1980Options are flags that 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.
Pull the latest Docker image and run it:
docker pull ghcr.io/swing-opensource/swingmusic:latestdocker run --name swingmusic -p 1970:1970 \
-v /path/to/music:/music \
-v /path/to/config:/config \
--restart unless-stopped \
ghcr.io/swing-opensource/swingmusic:latestDon't forget to replace /path/to/music and /path/to/config with the appropriate values. In addition, specify the the /music directory as the root directory. Using the Home Directory option won't work.
Tip
For more info, see the Docker section on the docs.
Here's a sample Docker compose file:
services:
swingmusic:
image: swingmusic
container_name: swingmusic
volumes:
- /path/to/music:/music
- /path/to/config:/config
ports:
- "1970:1970"
restart: unless-stoppedThis software is provided to you with terms stated in the MIT License. Read the full text in the LICENSE file located at the root of this repository.
MIT License | Copyright (c) 2023 Mungai Njoroge