Bridge · Setup
Setup walkthrough
From a blank machine to a paired iPhone in about ten minutes. No Go toolchain, no Docker — just a pre-built binary, a config wizard, and a quick QR scan. Pick your platform and follow the steps.
Before you start
You'll need:
- A computer that stays on while you listen — Mac, Linux box, Raspberry Pi 4+ (arm64), or Windows 10/11 PC. A modern NAS that runs containers also works (see the Docker guide — one command, no init step).
- Your music library on a disk that machine can read — a folder of
.flac,.dsf,.alac,.m4a,.mp3, and friends. Tags can be missing; the bridge enriches what it can. - The 1-bit iOS app installed on your iPhone or iPad (iOS 26.1 or newer).
- About 10 minutes the first time. Future updates take seconds.
- Optional — only for audio analysis, Smart Mixes, and upscaling: the sox audio tool built with FLAC support (
brew install soxon macOS,apt install sox libsox-fmt-allon Debian/Ubuntu), plusffmpeg/ffprobefor AAC / m4a sources. The bridge runs fine without them and simply leaves those opt-in features off; install them only if you plan to turn the features on. (Running in Docker? The image already bundles both — nothing to install.)
-
Download for your platform
Grab the archive matching your OS and CPU from the download page and unpack it in a folder it can stay in: the archive has no folder of its own, and the service
bridge initinstalls runs the program from where it is. On Linux, one line can do this step and step 3 for you (below the cards).macOS
tar -xzf 1-bit-bridge_*_macos_arm64.tar.gzApple Silicon →
arm64. Intel Mac →amd64. Signed and notarized; Gatekeeper is happy on first run.Linux / Raspberry Pi
tar -xzf 1-bit-bridge_*_linux_arm64.tar.gzPi 4 / Pi 5 →
arm64. x86_64 server →amd64. Static binary — no glibc gymnastics.Windows
Expand-Archive -Path 1-bit-bridge_*_windows_amd64.zip -DestinationPath bridge cd bridgeSmartScreen will warn "unrecognized app" on first run — click More info → Run anyway. Authenticode signing is in progress.
On Linux, in one line. On moOde, Raspberry Pi OS, Volumio, Debian, Ubuntu or another Linux with systemd, 64-bit (amd64 or arm64), run this as the user the bridge should run as, not as root:
curl -fsSL https://1-bit.app/install.sh | shThe script is stamped with its release. It downloads that release, checks the archive against the release's
checksums.txt, installs the program as~/.local/bin/bridgeand runsbridge init(step 3), which offers your music folders, writes the settings and installs the bridge as your user's systemd service. It asks forsudoonce, and says why first: to turn on lingering, so the bridge keeps running after you log out and starts at boot. On a box with a DAC whose group your user isn't in, it says so and prints the commands for the bridge's own player; it runs neither. It finishes with how to pair your phone: the admin console through an SSH tunnel whose local port is the same as the admin console's (7789 by default, as inssh -L 7789:127.0.0.1:7789 you@the-box, thenhttp://127.0.0.1:7789/on your computer), orbridge pairin the terminal. On Volumio, a factory reset or a system update can remove the bridge, which lives outside/data: run the installer again afterwards and pair your phone again. Your music is never touched. A bridge already installed as your user's service the waybridge initsets it up, from an archive or by this script, is upgraded; any other layout (a system service, a~/.local/bin/bridgeno service of yours runs, settings with no service, or a service whose program or environment a drop-in changes) is refused with nothing changed, and told what to run instead.To update, run the same line again: it upgrades the bridge through
bridge update, which checks your paired devices first and keeps the previous program for a rollback. Options go aftersh -s --:--library PATHnames the music folder (needed when there is no terminal to ask),--version X.Y.Zinstalls that release on a new install,--uninstallprints the commands that remove the bridge and changes nothing, and--helplists the rest. To read the script before you run it, save it withcurl -fsSL https://1-bit.app/install.sh -o install.shand runsh install.sh. -
Run a preflight check (optional)
bridge doctorprints a punch list of what's wrong with your environment before you commit to a config. It's safe — it makes no changes../bridge doctorYou're aiming for all green. The most common red is port already in use on
:7788or:7789— close whatever owns those ports, or pick different ones in the next step with--listen-addressand--admin-address. -
Run
bridge initThe init wizard walks you through the minimum you need to start serving music: a library path and a library name (shows up on your iPhone). The bridge listens on
:7788for the app and127.0.0.1:7789for the admin console;--listen-addressand--admin-addresschoose others. Defaults are sane — pressing return is usually fine../bridge initIt will ask for:
- Library path — the top-level folder containing your music. Use an absolute path. Multiple roots can be added later from the admin console.
- Library name — what your phone shows in the Sources list. "Home library" is fine.
- Service install — on macOS and Linux it installs one without asking; on Windows it asks how the bridge should start. On macOS that's a LaunchAgent, which starts the bridge when you log in. On Linux it's your user's systemd service; it starts at boot and keeps running after you log out only with lingering on, which the one-line installer tries to turn on (it warns if it can't) and
bridge initdoesn't — turn it on yourself withsudo loginctl enable-linger $USER. On Windows the default is a Startup-folder launcher that starts the bridge when you log in; for one that starts at boot and survives logout, choose the Windows Service instead (.\bridge.exe init --service, from an elevated PowerShell).
If you'd rather not install a service yet, run
./bridge init --no-service --yes --library /path/to/musicand start the bridge manually with./bridge serve. Quit-on-close, keep-it-simple — recommended for first-time exploration. -
Open the admin console
Once
bridge initreports success, open http://127.0.0.1:7789/ in any browser on the same machine. If you chose a different admin port with--admin-address, replace7789in that URL with your chosen port.The admin console is loopback-only — it answers exclusively on
127.0.0.1, never on your LAN or Tailscale IP. There's no login because anyone with a shell on this machine already has access to the data the console manages. From here you can:- Browse — your library as a player: albums, artists, playlists and search, with each album's variants beside it.
- Add music — once uploads are enabled, add files or whole folders to a library root from the browser.
- Stats — the scanner and its Scan now button, library composition, enrichment, and paired devices at a glance.
- Roots — add or remove root folders, and manage the trash and the transcoded cache.
- Devices — pair iPhones, approve pending pair requests, rotate or revoke tokens.
- Listening history — your opt-in listening history, pooled across devices, with export.
- Settings — metadata, audio (upscale / analysis), access (Tailscale, DLNA, public mode), auto-update & quiet hours, backups.
-
Wait for the first scan
The bridge starts scanning your library the moment it's pointed at a folder. The Scanner panel on the console's Stats page shows live progress: scanning · N tracks so far.
What "first scan" looks like for typical libraries:
Approximate first-scan and re-scan durations by library size Library size Approx. first scan Subsequent re-scans 2,000 tracks 30 seconds under 5 seconds 10,000 tracks 2 minutes 10–20 seconds 50,000 tracks 5–15 minutes 30–60 seconds Times depend on disk speed and how much enrichment (MusicBrainz lookups, artwork downloads) the bridge has to do. The first scan is the slow one because every track gets enriched; later scans only enrich what's new.
You can pair your iPhone before the scan finishes. The app will stream what's already indexed and pick up the rest as it lands.
-
Pair your iPhone — Method A: tap-to-pair (recommended)
This is the easiest path. Both devices must be on the same Wi-Fi.
- Open the 1-bit app.
- Tap + in the Sources list, then Add 1-bit Bridge… → Discover on network.
- Your bridge appears in a list — tap Join. The app shows a 6-digit verification code.
- Switch to the admin console — Devices in the sidebar shows a pending count. Open it.
- Under Pending join requests, confirm the 6-digit code matches what's on your phone and click Approve. The device keeps the name it sent.
- Your phone's Sources list now shows the bridge as a paired source. Tap into it.
The verification code prevents an attacker on your network from MITM'ing the pair — only the device that actually holds the matching code is talking to your bridge.
-
Pair your iPhone — Method B: QR / manual entry
If you'd rather pair from the admin side first (e.g. you're configuring a phone for someone else), use the legacy flow.
- In the admin console, open the Devices tab and click Pair manually (advanced).
- Give it a name and click Generate token. The console shows a QR code encoding an
onebit://pair?...URL, which 1-bit reads from version 2.2 (a bridge before 0.2.3 writesbridge://pair?...). - On the iPhone: 1-bit → + → Add 1-bit Bridge… → Scan QR Code. Point the camera at the QR.
- Or paste the URL, token, and TLS fingerprint manually via Add 1-bit Bridge… → Enter Manually, which works with any version of the app.
Either method ends with the bridge appearing as a paired source in 1-bit. Every subsequent request from the iPhone is bearer-token-authenticated and TLS-fingerprint-pinned.
-
Test playback
From the iPhone's Sources list, tap into the bridge. Browse to an album. Tap a track. You should hear it within a second or two.
Open the Now Playing screen: with a DAC 1-bit has a profile for, the format label on the artwork should end in BIT-EXACT for FLAC / ALAC / DSF playback — tap it for the full signal path. If the mini player's signal badge turns orange with a warning sign (resampling), iOS hit a sample-rate ceiling on the route — usually means an AirPlay or BT speaker is in the path.
-
Optional: enable remote access via Tailscale
If you want to listen to your library from outside your home network, the cleanest answer is Tailscale — a free, peer-to-peer VPN. The bridge has built-in support for it.
Two integration modes are available:
tsnetmode (recommended for new installs). The bridge embeds a tailnet node directly in its own process. No system Tailscale install needed; HTTPS certs renew automatically. Authenticate once with./bridge tsnet auth.climode. If you already have Tailscale running on the host (typical desktop setup), this delegates to the systemtailscalebinary.
See Features → Tailscale integration for the full rundown — when to choose which mode, the macOS sandboxed-CLI gotcha, and how to verify Magic-DNS works end-to-end.
Alternative: public-internet deployment
If you'd rather expose the bridge directly on the public internet — a small VPS for friends and family, a fixed public hostname rather than a tailnet identity, or any setup where Tailscale isn't an option — substitute step 3 above with the public-mode initialiser:
./bridge init --public Steps 1, 2, 5, 6, 7, and 8 above are unchanged. The public profile differs from the loopback default in three ways:
- Admin console password. The init wizard generates a 16-character random password and prints it once. Copy it somewhere safe; rotate later with
./bridge admin reset-password. - Let's Encrypt cert. If you set
autocert.enabled: truewith a public domain pointed at the host, the bridge fetches a real TLS cert automatically. No reverse proxy needed. - Reachable admin console + TLS-port shift. The admin listener binds a routable interface (not
127.0.0.1) so you can manage the bridge from another machine, and the iOS-facing TLS listener defaults to:443instead of the loopback default:7788— Let's Encrypt's TLS-ALPN-01 challenge only validates on TCP/443.
Lock down what you expose: open only the bridge's TLS port (:443 with this profile, unless you overrode it with --listen-address) and, if you need remote admin, the admin port (default :7789) — keep the admin port firewalled to the operator's IP via your VPS firewall / ufw / cloud security group.
Something not working?
Check the troubleshooting page for common symptoms — bridge not appearing in Discover, "Server unreachable" errors, slow scans, certificate-rotation flow. If your problem isn't listed, open an issue on GitHub.
Next steps
Once you have playback working:
- Browse the full feature set — admin-approval pairing, upscale variants, the web player, Tailscale modes, auto-updates, backups.
- Use the bridge as a player — on a Linux box with a USB DAC, the bridge plays your library itself, and 1-bit casts to it.
- Read the wire protocol if you want to write your own client.
- Read the privacy policy — what's stored, what's sent out, what's deliberately not logged.