MifasolMifasol is a self-hosted opinionated music server.


Mifasol is a free and open source project distributed under the permissive Apache 2.0 License.
This software doesn’t try to satisfy the needs of everyone.
Drop the dedicated mifasolsrv binary on your server and you are done.
You need:
make release
mifasolsrv run
Use Ctrl+C to gracefully stop it (and to avoid database corruption).
On first launch, mifasolsrv run will:
mifasol/mifasol as username/passwordIf you want to access your server with those external urls: https://mypersonaldomain.org:6630 and https://77.77.77.77:6630, you should configure mifasolsrv accordingly with:
mifasolsrv config -hostnames mypersonaldomain.org,77.77.77.77 -n 6630 -enable-ssl
Run
mifasolsrv --help
mifasolsrv <COMMAND> --help
for more information.
Configuration file, embedded database, song and cover files are all saved into mifasolsrv config folder:
$HOME/.config/mifasolsrv on linux%LocalAppData%\mifasolsrv on windows$HOME/Library/Application Support/mifasolsrv on macCopy mifasolsrv to /usr/bin
Create systemd service file
sudo touch /etc/systemd/system/mifasolsrv.service
sudo chmod 664 /etc/systemd/system/mifasolsrv.service
Edit /etc/systemd/system/mifasolsrv.service
[Unit]
Description=Mifasol server
[Service]
Type=simple
Restart=on-failure
ExecStart=/usr/bin/mifasolsrv run
User=myuser
Group=myuser
[Install]
WantedBy=multi-user.target
Enable & start mifasol server
sudo systemctl daemon-reload
sudo systemctl enable mifasolsrv.service
sudo systemctl start mifasolsrv.service
You just have to connect to your mifasol server: https://localhost:6620
Mifasol server embeds clients, so you just have to download the dedicated mifasolcli binary from your mifasol server: https://localhost:6620
You need golang >= 1.25.2 and
libasound2-dev on linuxmingw-w64 on windowsAudioToolbox.framework on macgo install ./cmd/mifasolcli
On first launch, mifasolcli try to connect to mifasol server using https://localhost:6620
(only accepting server self-signed certificate read on first connection) with mifasol/mifasol as username/password.
You can change default configuration with:
mifasolcli config -hostname <HOSTNAME> -n 6620 -u mifasol -p mifasol
NB: <HOSTNAME> should match with one of the hostnames configured on mifasol server.
mifasolcli import [Location of music folder to import]
mifasolcli will recursively loop through specified folder to import every flac and mp3 files to mifasol server.
Prepare local music folder (one-time):
mifasolcli filesync init [Location of folder to synchronize]
Launch synchronization:
mifasolcli filesync sync [Location of folder to synchronize]
Run console user interface to manage and listen mifasol server content:
mifasolcli ui
Press h to display available shortcuts to navigate through the interface.
Run
mifasolcli --help
mifasolcli <COMMAND> --help
mifasolcli <COMMAND> <SUBCOMMAND> --help
for more information.
207 commits
Go
91.2%
HTML
5.8%
CSS
2.2%
MifasolMifasol is a self-hosted opinionated music server.


Mifasol is a free and open source project distributed under the permissive Apache 2.0 License.
This software doesn’t try to satisfy the needs of everyone.
Drop the dedicated mifasolsrv binary on your server and you are done.
You need:
make release
mifasolsrv run
Use Ctrl+C to gracefully stop it (and to avoid database corruption).
On first launch, mifasolsrv run will:
mifasol/mifasol as username/passwordIf you want to access your server with those external urls: https://mypersonaldomain.org:6630 and https://77.77.77.77:6630, you should configure mifasolsrv accordingly with:
mifasolsrv config -hostnames mypersonaldomain.org,77.77.77.77 -n 6630 -enable-ssl
Run
mifasolsrv --help
mifasolsrv <COMMAND> --help
for more information.
Configuration file, embedded database, song and cover files are all saved into mifasolsrv config folder:
$HOME/.config/mifasolsrv on linux%LocalAppData%\mifasolsrv on windows$HOME/Library/Application Support/mifasolsrv on macCopy mifasolsrv to /usr/bin
Create systemd service file
sudo touch /etc/systemd/system/mifasolsrv.service
sudo chmod 664 /etc/systemd/system/mifasolsrv.service
Edit /etc/systemd/system/mifasolsrv.service
[Unit]
Description=Mifasol server
[Service]
Type=simple
Restart=on-failure
ExecStart=/usr/bin/mifasolsrv run
User=myuser
Group=myuser
[Install]
WantedBy=multi-user.target
Enable & start mifasol server
sudo systemctl daemon-reload
sudo systemctl enable mifasolsrv.service
sudo systemctl start mifasolsrv.service
You just have to connect to your mifasol server: https://localhost:6620
Mifasol server embeds clients, so you just have to download the dedicated mifasolcli binary from your mifasol server: https://localhost:6620
You need golang >= 1.25.2 and
libasound2-dev on linuxmingw-w64 on windowsAudioToolbox.framework on macgo install ./cmd/mifasolcli
On first launch, mifasolcli try to connect to mifasol server using https://localhost:6620
(only accepting server self-signed certificate read on first connection) with mifasol/mifasol as username/password.
You can change default configuration with:
mifasolcli config -hostname <HOSTNAME> -n 6620 -u mifasol -p mifasol
NB: <HOSTNAME> should match with one of the hostnames configured on mifasol server.
mifasolcli import [Location of music folder to import]
mifasolcli will recursively loop through specified folder to import every flac and mp3 files to mifasol server.
Prepare local music folder (one-time):
mifasolcli filesync init [Location of folder to synchronize]
Launch synchronization:
mifasolcli filesync sync [Location of folder to synchronize]
Run console user interface to manage and listen mifasol server content:
mifasolcli ui
Press h to display available shortcuts to navigate through the interface.
Run
mifasolcli --help
mifasolcli <COMMAND> --help
mifasolcli <COMMAND> <SUBCOMMAND> --help
for more information.
207 commits
Go
91.2%
HTML
5.8%
CSS
2.2%