1-bit

1-bit bridge

An open-source companion server. Reach your home library over HTTPS, with QR-code pairing and TLS fingerprint pinning — typically faster than SMB, and reachable from outside your home network.

What it is

1-bit bridge is a small Go server you run on a Mac, Windows PC, Linux box, or Raspberry Pi alongside your music library. It serves the iOS app over HTTPS instead of SMB — same files, same bit-exact audio, but a transport designed for the app rather than a decades-old file-sharing protocol.

It's free and open source under the MIT license. Source, releases, and the protocol spec all live at github.com/acoseac/1-bit-bridge.

Why use it instead of SMB

How it works

Pair an iPhone in three steps

  1. Run bridge init on your Mac / Windows / Linux / Pi. The installer registers the bridge as a launchd / startup / systemd service and opens the admin console.
  2. In the admin console at http://127.0.0.1:7789/, click Devices → Pair new device. The page generates a token and a QR code.
  3. On iPhone, open Sources → Add 1-bit Bridge → Scan Pairing QR Code. Tap Save; the iOS app probes the bridge, captures its TLS fingerprint, and pins it. Done.

Out-of-the-box defaults are sensible. If you want the full picture — token lifecycle, TLS rotation, opt-in auto-update with quiet hours, Windows Service install path, backup/restore, protocol spec — the canonical site is acoseac.github.io/1-bit-bridge.

Bit-exact, by design

The bridge never decodes, never resamples, never transcodes. It serves bytes the iOS app asks for — DSF, DFF, FLAC, ALAC, WAV, AIFF, MP3, AAC. The full DSD pre-cache that protects DoP marker alignment on the iOS side still applies; the bridge just gets the bytes there faster.

Open source, MIT

Everything — server, admin console, protocol spec, release builds — lives on GitHub under MIT. Issues, PRs, and security reports are welcome.

Get it

Run the bridge, pair your iPhone.