A self-hosted web interface for Tether, the Linux companion for iPhone. Run it on your home server and use your iPhone's messages, calls, notifications, contacts and file transfer from any browser.
Warning
tether-web is experimental and has not yet been fully validated with physical phones.
- Devices. Pair an iPhone over Bluetooth, connect Wi-Fi peers, send files and control AirPods.
- Messages. Search, read and reply to message threads, with per-thread drafts and contact suggestions.
- Notifications. See and dismiss iPhone notifications, with optional browser alerts.
- Calls. Dial, answer, decline and hang up calls, and switch audio between the host and the iPhone.
- Contacts. Search the phone's address book and start a message thread from a contact.
- Settings. Configure notification mirroring, call controls and message retention.
- Works on phones and desktops. The layout adapts to small screens.
docs/UI_PARITY.md tracks each view against the GTK app. future-features.md lists upstream Tether features that tether-web does not support yet.
tether-web is a small Go server that embeds a React app. It talks to tetherd, Tether's daemon, over a Unix socket. tetherd handles Bluetooth, Wi-Fi peers and your data, so tether-web needs no Bluetooth access of its own.
Browser ──HTTPS──> tether-web ──Unix socket──> tetherd ──> BlueZ ──> iPhone
- A Linux host with a working Bluetooth adapter, BlueZ and D-Bus. Wi-Fi peer discovery also needs Avahi.
- Tether 0.2.35 or newer.
- Docker Engine with Compose (amd64 or arm64), or Go 1.24 and Node.js 24 to build from source.
Complete Tether's Bluetooth host setup before pairing a phone.
The Compose example runs tetherd and tether-web as two non-root containers that share a private runtime directory. Both images are published for amd64 and arm64:
| Image | Contents |
|---|---|
ghcr.io/napisani/tether-web |
tether-web releases |
ghcr.io/napisani/tether-core |
An unofficial build of an unmodified upstream Tether release. Upstream publishes no image. |
Follow deploy/README.md to check the host, create the data directories and password file, and start both services. The short version, once deploy/.env is filled in:
compose() { docker compose --env-file deploy/.env -f deploy/docker-compose.yml "$@"; }
compose pull
compose up -dThen open http://127.0.0.1:5135/ and sign in with the username and password you configured.
If tetherd already runs on the host, run only the web container and mount the directory that holds its socket. The password file must be readable by UID 1000 and contain at least 16 random bytes.
docker run -d --name tether-web \
-p 127.0.0.1:5135:5135 \
-v "$XDG_RUNTIME_DIR/tether:/run/tether:rw" \
-v /path/to/tether-web-password:/run/secrets/tether-web-password:ro \
-e TETHER_SOCKET_PATH=/run/tether/tetherd.sock \
-e TETHER_WEB_LISTEN=0.0.0.0:5135 \
-e TETHER_WEB_ALLOWED_HOSTS=localhost \
-e TETHER_WEB_AUTH_USER=owner \
-e TETHER_WEB_AUTH_PASSWORD_FILE=/run/secrets/tether-web-password \
ghcr.io/napisani/tether-web:latestmake build
TETHER_SOCKET_PATH="$XDG_RUNTIME_DIR/tether/tetherd.sock" ./bin/tether-webThe server listens on 127.0.0.1:5135 by default. A loopback listener needs no password.
Run tether-web as a sidecar in the tetherd pod. Mount the same disk-backed runtime volume into both containers and run them as the same non-root UID. Give the volume at least 1 GiB, because the gateway stages up to two 256 MiB browser uploads beside the socket before handing them to tetherd. Do not mount Tether's /data or /downloads into the web container.
| Variable | Default | Purpose |
|---|---|---|
TETHER_SOCKET_PATH |
$XDG_RUNTIME_DIR/tether/tetherd.sock |
Path to the tetherd Unix socket |
TETHER_WEB_LISTEN |
127.0.0.1:5135 |
HTTP listen address |
TETHER_WEB_ALLOWED_HOSTS |
loopback names only | Comma-separated Host names to accept. Required for wildcard listeners such as 0.0.0.0. |
TETHER_WEB_AUTH_USER |
unset | HTTP Basic username. Required for non-loopback listeners. |
TETHER_WEB_AUTH_PASSWORD_FILE |
unset | File containing the HTTP Basic password (16 to 4096 bytes). Required for non-loopback listeners. |
TETHER_WEB_MCP_ENABLED |
false |
Enable the optional Streamable HTTP MCP endpoint at /mcp alongside the web UI. |
/healthz reports that the server is running and /readyz reports that it is connected to tetherd. Both are unauthenticated for container health checks.
Enable TETHER_WEB_MCP_ENABLED=true to serve Streamable HTTP at /mcp
alongside the web UI. MCP uses the same HTTP Basic credentials as the web UI;
configure them even for localhost. OAuth and stdio transport are not implemented.
Follow the MCP setup guide for server configuration, client authentication, verification, the tools, and how agents should treat uncertain outcomes. The tools cover messages, contacts, notifications, calls, Bluetooth and Wi-Fi devices, AirPods, file sending and host settings. Actions that delete history or change device trust ask the agent to confirm first, and Bluetooth pairing needs a person to verify the code on the phone.
Anyone who can sign in to tether-web can read your messages, notifications and live call data, and can send any command tetherd supports. Treat it like the phone itself.
- Keep the port bound to
127.0.0.1and put an HTTPS reverse proxy in front of it for remote access. Add the proxy's Host name toTETHER_WEB_ALLOWED_HOSTS. HTTP Basic credentials must never cross a network in plain HTTP. - tether-web refuses to start on a non-loopback address without a username and password file.
- Mount the password file as a read-only secret. Do not put the password in the image, the command line,
.envor Git. - There is one owner. Every signed-in browser has the same access.
- Bluetooth pairing always asks you to confirm the six-digit code. The browser never accepts one automatically.
tether-web and Tether core are versioned separately. Pin both image tags in deploy/.env, read the release notes, and back up Tether's /data directory before changing the core tag. Then:
compose pull
compose up -dSee the upgrade and backup notes for details.
| Pairing | Settings |
|---|---|
![]() |
![]() |
Bug reports and pull requests are welcome. future-features.md lists upstream features that still need a web implementation.
tether-web is a client of tetherd, not a second implementation of Tether. New features use the daemon's existing commands and events, and each view mirrors its counterpart in the Tether GTK app. Read docs/ARCHITECTURE.md before starting, and update docs/UI_PARITY.md when a view changes.
make build # Build the UI and the ./bin/tether-web server
make check # Lint, Go vet and race tests, UI tests, and a production build
make test-e2e # Playwright flows against a fake tetherd, desktop and mobile
make docker # Build a local container imageFor UI work with hot reload, run the server on its default port and start Vite in a second terminal. Vite proxies /api to 127.0.0.1:5135.
TETHER_SOCKET_PATH="$XDG_RUNTIME_DIR/tether/tetherd.sock" ./bin/tether-web
cd ui && npm run dev # Open http://localhost:5173/The end-to-end tests run the real Go server against a fake daemon, so you do not need a phone or Bluetooth adapter to work on most features. Maintainers publish releases by pushing a vX.Y.Z tag. See docs/RELEASING.md.
MIT. See LICENSE.
tether-web depends on Tether by Zack Bartel.


