README · Install · Web app · More than one computer · Teams · Agents · Configuration · Security · Design
Open the daemon's address on your phone and enter the code. The daemon cannot know which address your phone uses (LAN, tailnet, tunnel), so it does not guess; once you set public_url , muxtower pair also shows a QR code you can scan.
For the app to install on the phone and send notifications, the daemon needs an HTTPS address: your own domain behind any reverse proxy or tunnel, or, quickest, Tailscale with one more command, muxtower expose tailscale , before muxtower pair .
Detach with the usual tmux keys ( Ctrl-b d ); the agent keeps running. Agents you already started in plain tmux are picked up automatically.
A trigger turns an outside event into work for an agent: delivered to a session as a task, a new session started for it, or a push. Add them in the app. They are kept on the hub; on a node, muxtower trigger passes the event on to it.
From a script on any of your machines (a watcher, a cron job):
It prints one line, such as deal-watch: delivered → buyer (3f2a…) , and exits 0 when the daemon took the event (delivered, started, notified, filtered, deduped, paused, rate_limited), 1 when its action failed, 2 for an unknown trigger or a daemon error. An event carries at most 64 KB.
From another program, with the trigger's secret (shown once, when it is made or rotated), at the hub's LAN address (it must listen there: host = "0.0.0.0" ):
Prefer the header: /fire/SECRET is there for senders that cannot set one, but the secret then shows in proxy logs. In v1, firing through the public hostname does not work; use the LAN address.
Reach it from your phone over HTTPS
The daemon listens on 127.0.0.1:8731 . Put HTTPS in front of it: the app needs a secure context to install on the screen and to receive notifications. Then tell the daemon its address, so pairing codes point there:
There are two ways to do it. Both are first-class: muxtower brings its own authentication either way, and works behind whatever you already run.
No domain, no open port; only devices on your tailnet can reach the daemon. With Tailscale signed in on this machine and on the phone:
It runs tailscale serve for you, which keeps serving across restarts. The first time, Tailscale may ask you to turn on HTTPS for the tailnet; on Linux it needs root or sudo tailscale set --operator=$USER once.
Your own domain, reachable from anywhere
Any device with a browser can then use it, with no VPN app. Use what you already have:
Caddy (certificates are automatic): muxtower.example.com { reverse_proxy 127.0.0.1:8731 }
Cloudflare Tunnel (no open port): a named tunnel with a public hostname pointing at . cloudflared tunnel --url gives a throwaway address to try it.
nginx, Traefik, a load balancer : any reverse proxy that passes WebSocket upgrades.
On the open internet, muxtower's own authentication is the lock (see Security ): every device has its own revocable token, pairing codes are single-use, expire in five minutes and are rate-limited, and only a wrong credential answers 401/403, so fail2ban or your WAF can ban whoever is guessing.
Add your own sign-in in front if you like (Cloudflare Access, an SSO proxy such as oauth2-proxy or Authelia, a password gate). The gate must let OPTIONS requests through unauthenticated. The simplest setup is to sign in to the gate once in each browser: its cookie then covers the app, the API and the WebSocket, and the daemon's own token travels in Authorization (which gates usually ignore). If the gate is off-site and nobody has signed in, the app says so and links to the daemon, instead of retrying; it never sends anything a gate would count as a password guess. Nodes reach a hub behind a gate that wants a header of its own through hub.headers , and pairing.mode = "shared" is for gates that must know every token.
Update with the tool you installed it with, then restart the daemon ( systemctl --user restart muxtower for the service above):
Being told a newer release. Once a day the hub asks PyPI's public JSON ( ) which releases exist, with a plain GET that sends nothing you; when PyPI has a newer one, it also reads the project's list of releases marked important ( ). Without internet it stays silent. When it is worth saying, a quiet line shows under the hub in the app's Daemons page ("0.1.229 is available · you have 0.1.201 · how to update"), with a small dot on the Daemons entry; never a notification. It is worth saying when the release you run came out at least 7 days ago, or at once when a newer release fixes a security or data-loss problem. How to update shows the command for the way this install was made (pipx, uv tool, pip or uv pip, read from the install itself; otherwise each of them) and links to the release history. × hides it on every device for 7 days, or until a newer important release. Turn it off with updates.check = false (Settings → Updates). A daemon run from a source checkout never asks.
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
