Guide

Setting up the launchpad

For playing your library away from home. Not needed on your own Wi-Fi.

minstrel-launchpad is a small program that runs at home, next to your media server. Away from home, the Minstrel app connects to it, and it passes the app's requests to your media servers and nothing else. Only devices you paired get in; each has its own key, and you can remove any of them.

It connects to the app in one of two ways, or both:

1. Choose where it runs

Anything that stays on and sits on the same network as your media server: the NAS itself, a router, a Raspberry Pi, a home server or an always-on computer. It needs very little: one small program, about 15 MB of memory.

It must be able to see the media server's network directly. In Docker, use host networking; in a NAS jail or VM, give it its own address on the home network (bridged, not NAT).

Give the machine a fixed address on your home network (a DHCP reservation on the router, or a static address outside the DHCP range): your router's port forwarding points at it.

2. Install

Docker (most NAS boxes)

docker run -d --name launchpad --network host --restart unless-stopped \
  -v /srv/launchpad:/data imush/minstrel-launchpad:latest
docker logs launchpad          # shows the console's setup link

The image is built for amd64 and arm64 and carries ffmpeg, so compression works straight away. Pin a version — :0.3.2, or :0.3 to follow its patches — if you would rather choose when to update.

Host networking is required. The launchpad finds media servers with SSDP multicast, which does not cross a Docker bridge network; on a bridge you get an empty server list and no explanation.

Give /data a path you choose, as above. With an unnamed volume, recreating the container — which is what updating means in Docker — hands it a fresh empty one, and every paired device silently stops working.

Building it yourself works too — docker build -t minstrel-launchpad https://github.com/imush/minstrel-launchpad.git — and is the only way on an architecture the published image doesn't cover (armv6, armv7, mips, riscv64), or if you would rather not run a binary someone else compiled.

Synology, QNAP and other NAS boxes

On Synology: Container Manager (DSM 7.2 and later, on models that support it) → Project → Create, name it launchpad, choose Create docker-compose.yml and paste:

services:
  launchpad:
    image: imush/minstrel-launchpad:latest
    container_name: launchpad
    network_mode: host
    volumes:
      - /volume1/docker/launchpad:/data
    restart: unless-stopped

Then open the container's Log tab for the setup link. The j-series and other value models cannot run Container Manager at all; on those, a Raspberry Pi or any always-on computer on the same network does the job instead.

The same file works on any NAS that lets you paste one — QNAP's Container Station, Asustor, TerraMaster, UGREEN, OpenMediaVault, TrueNAS SCALE's custom app. Menus differ by vendor and version, but two things do not: host networking must be on, or no media servers are found, and the left-hand side of the volume must be a real share on your NAS. Only that path changes — /volume1/docker/… on Synology, /share/Container/… on QNAP, /mnt/user/appdata/… on unRAID.

unRAID users have an easier route coming: the same image as a Community Applications template, which fills all of this in for you.

Binaries

Built from source for now, as below. One static binary, no dependencies.

Linux (Raspberry Pi, home server)

With Go installed:

GOBIN=/tmp go install github.com/imush/minstrel-launchpad@latest
sudo install -m 755 /tmp/minstrel-launchpad /usr/local/bin/
sudo curl -o /etc/systemd/system/minstrel-launchpad.service \
  https://raw.githubusercontent.com/imush/minstrel-launchpad/main/contrib/linux/minstrel-launchpad.service
sudo systemctl enable --now minstrel-launchpad
journalctl -u minstrel-launchpad    # shows the console's setup link

To build for another machine (a Pi, a NAS), set GOOS and GOARCH, for example GOOS=linux GOARCH=arm64, and copy the program over.

FreeBSD, TrueNAS CORE jail, OPNsense, pfSense

On TrueNAS CORE, create a jail with VNET on, a fixed IPv4 address on your home network (bridged, as with your other jails), and auto-start. Build the program for FreeBSD on any computer with Go:

git clone https://github.com/imush/minstrel-launchpad && cd minstrel-launchpad
GOOS=freebsd GOARCH=amd64 CGO_ENABLED=0 go build -o minstrel-launchpad .

Copy minstrel-launchpad to /usr/local/bin/ and contrib/freebsd/launchpad to /usr/local/etc/rc.d/ in the jail, then inside it:

chmod 755 /usr/local/bin/minstrel-launchpad /usr/local/etc/rc.d/launchpad
pw useradd launchpad -d /nonexistent -s /usr/sbin/nologin
sysrc launchpad_enable=YES
service launchpad start
cat /var/log/launchpad.log          # shows the console's setup link

macOS or Windows

Fine on a computer that already runs your media server and stays on. Build it with Go as above and run minstrel-launchpad serve, at login or as a service.

ffmpeg, for compression

Optional, and only for listening away from home: with ffmpeg on the same machine, the app can ask for a lossless track as a smaller AAC copy when it's on mobile data. Without ffmpeg everything still works — the original is sent, which is what you want at home anyway.

sudo apt install ffmpeg      # Debian, Ubuntu, Raspberry Pi OS
pkg install ffmpeg           # FreeBSD, TrueNAS CORE jail
brew install ffmpeg          # macOS

It arrives with a long tail of dependencies; that is normal, and any build that reads FLAC and writes AAC will do. Restart the launchpad afterwards, then look at the console's Compression card: it names the ffmpeg it found and its version, or says why there is none.

If it says there is none although you installed one, the service's PATH is the usual reason — a service manager often hands down its own, leaving out /usr/local/bin. Either fix that or name the program:

minstrel-launchpad serve -ffmpeg /usr/local/bin/ffmpeg

LAUNCHPAD_FFMPEG does the same. None of this applies to Docker: ffmpeg has to be inside the image, where you cannot add it afterwards, so the published image ships with it.

3. Open the console

The launchpad's web console is at http://its address:7444, reachable from your home network only.

  1. Open the setup link from its log (it's valid for an hour; restarting the launchpad prints a new one).
  2. Choose a console password. It protects the console only, so guests on your Wi-Fi can't pair themselves; the app never asks for it.
  3. Give the home a Name, the way the app should show it, such as “Lake house”.
  4. Check Media servers: yours should be listed. If one is missing, add its description URL by hand.
The launchpad console: the home's name, the outside address, and the form for pairing a device
The console, on the home network only. Everything after the first start is done here.

4. Direct mode: reach home from outside

The app needs an address on the internet that always leads to your home. That's one of:

Then forward a port on your router: TCP, from an outside port of your choice to the launchpad's address, port 7443.

Finally, tell the launchpad: on the console under Outside access → Direct, enter the static IP or dynamic DNS name with the outside port, for example myhome.example.net:443, and save. Paired phones learn it the next time they connect at home; new invitations include it.

Over IPv6, with no port forwarding

Everything above is about IPv4, where your home shares one address and a router has to forward a port inward. IPv6 has no NAT: the launchpad has an address of its own that is already routable, and the router simply refuses traffic to it by default. So instead of forwarding a port you allow one through — a firewall rule, not a redirect.

This matters most where IPv4 offers nothing at all. Behind carrier-grade NAT there is no port to forward, but the IPv6 address is yours, and plenty of providers that share IPv4 still hand out a proper IPv6 prefix. If yours does, and doesn't filter inbound IPv6, your home can be reached directly and a relay stops being necessary.

Nothing to type on the console. The launchpad finds its own global IPv6 addresses and offers them to the app with the rest; the app tries them all and uses whichever answers first. If your provider changes your prefix, paired devices pick up the new address the next time they connect at home.

On the router, allow inbound TCP to port 7443. On pfSense or OPNsense: Firewall → Rules → WAN → Add, Address Family IPv6, Protocol TCP, Source any, Destination LAN subnets, port 7443. Choosing the subnet rather than the launchpad's exact address keeps the rule working after a prefix change, at the cost of allowing that port to any machine on your network that listens on it.

Three things have to line up, and any one can be missing: your provider has to route IPv6 to you, it must not filter inbound connections, and the network you are on when away — usually a mobile carrier — needs IPv6 too. Test it as below, with the address the console shows, in square brackets: https://[2600:db8::1]:7443/

Check it

With Wi-Fi off on your phone, open https://myhome.example.net:443/ in its browser. A certificate warning followed by “404 page not found” means it works: that's the launchpad, which shows nothing to strangers. (Testing from inside your home may fail even when all is well: many routers don't loop back to their own public address.)

When direct mode can't work

5. Pair your devices

On the console, under Pair a device, enter who it's for and choose how long the invitation is valid:

An invitation on the console: a QR code, a pairing file to download, and a one-time code
An invitation: scan it, send the file, or copy the link. It works once.
The app's Share Home screen: a scannable code valid ten minutes, or a link valid one or seven days
A paired phone can invite others itself, if you let it — same choices, from the app.

Each invitation works once. The console lists Paired devices with when each last connected and from where; Revoke removes one. In the app, the home appears under Homes; ⋮ → Rename names it just on that phone.

Satellite mode: no port to open

A minstrel-satellite is a small relay on the internet. Your launchpad connects out to it and keeps the line open, and your home gets a name under the satellite's domain. Away from home, the app tries your direct address first, if you have one, and goes through the satellite only when that doesn't answer quickly — so a home that can open a port barely uses the relay at all.

The connection stays encrypted end to end, between the app and your launchpad. The satellite holds no keys for it and can't read or change your music; it sees only which home the traffic is for, how much passes, and when.

Join a satellite

  1. Get an invitation link from the satellite's owner. It looks like minstrel-satellite://sat.example.org:443?c=…&fp=…, works once and is valid for a day.
  2. On the launchpad's console, open Outside access → Satellite, paste the link and Save.
  3. The status line should read Connected to sat.example.org, with the name the app will use for your home. From then on the launchpad reconnects by itself, after restarts and network outages.
  4. New invitations include the satellite. Devices paired earlier pick it up the next time they connect at home, so open the app once on your Wi-Fi.

Nothing to do on the router: the launchpad only makes an outgoing connection on port 443. Leave satellite on the same tab stops using it. A satellite may limit each home's speed and monthly data, because relayed traffic costs its owner; at CD quality, music needs about 1 Mbit/s, and choosing a compressed quality in the app's settings uses much less (it needs ffmpeg on the launchpad).

Check it

With Wi-Fi off on your phone, open the home in the app. Under Homes it should read Connected through the satellite (or Connected from outside, if your direct address answered first). If the console shows “refused this launchpad”, the invitation was used or expired: ask for a new one.

Run your own satellite

One satellite can serve a family or a group of friends. It needs a small always-on machine with a public address — a cheap cloud VM will do. There is a container image, and DNS and hosting have a few traps worth reading about first: running a satellite.

How it's kept safe

Troubleshooting

More detail, all options and the API are in the README. Questions: Discussions. A definite bug: GitHub issues. Anything private: support@minstrelplayer.org.