Setting it up
The companion server runs your actions on a real schedule, off the phone: the same scripts, the same prelude and the same rules as the app. Results and notifications don’t depend on when iOS lets the app run. The apps pair with it, move items to it, and receive their notifications as push notifications, even when force-quit. Notifications also go to the log and an optional webhook.
It is plain Node 24 with no dependencies. Scripts run in worker threads, and data lives in
SQLite (node:sqlite). The app works fully without it; it’s for items where timing matters.
With Docker
Section titled “With Docker”On the server, from the repository’s server/ folder:
cp .env.example .envopenssl rand -base64 32 # paste as RUNDOWN_SECRET_KEY in .envdocker compose up -d --builddocker compose logs -f rundown # {"level":"info","msg":"server started",…}The API listens on 127.0.0.1:8080. To reach it from your phone, put HTTPS in front:
- Caddy (included): point a domain at the server, set
RUNDOWN_DOMAINin.env, and rundocker compose --profile https up -d. Caddy gets certificates from Let’s Encrypt (seeCaddyfile). - Your own reverse proxy: forward to
127.0.0.1:8080.
Back up the rundown-data volume (/data/rundown.sqlite). Keep the key: stored secrets can’t
be decrypted without the same RUNDOWN_SECRET_KEY.
Updating
Section titled “Updating”git pulldocker compose up -d --build --remove-orphans--remove-orphans also removes containers of services that were renamed; earlier versions called
the service summary. The data stays in the rundown-data volume.
Without Docker
Section titled “Without Docker”cd serverRUNDOWN_SECRET_KEY=$(openssl rand -base64 32) RUNDOWN_DATA_DIR=./data npm startThis runs from the repository, where it finds the prelude on its own. Elsewhere, point
RUNDOWN_PRELUDE at a copy of Packages/RundownKit/Sources/ActionRuntime/Resources/prelude.js.
Pairing a device
Section titled “Pairing a device”Set RUNDOWN_PUBLIC_URL (or RUNDOWN_DOMAIN with the Caddy profile) to the address your devices
use. Then:
docker compose exec rundown node src/cli.ts pairprints a QR code. Scan it with the iPhone’s Camera: Rundown opens its Server screen with the
address and code filled in, and pairs when you tap Connect. Without a public address, pair
prints only the code; enter the address and code in Settings › Server.
Codes work once, within 10 minutes. The apps only talk to https:// servers (plain http:// only
on the same machine, for the Simulator), because they send item secrets.
Your other devices don’t need a code: with iCloud sync, a new device finds the server through iCloud and pairs as itself.
The Server screen
Section titled “The Server screen”Settings › Server shows the connection, whether push is on, the server’s items, and Disconnect — which offers to move your server items back to this device first, or to leave them running on the server for your other devices.
Moving items
Section titled “Moving items”In an item’s details, Move to Server uploads its action, settings, secrets, state and store. The server continues from there without a spurious notification, and the device stops scheduling it. Move to This iPhone (or This Mac) pauses the server copy, brings the state and store back and deletes it on the server.
To send new items to the server from the start, set Settings › New Items › Run On to Server.
While an item runs on the server, the server is in charge of it: edits, pause, mute, notification switches and Update Now go to the server first. Its card is refreshed when the app comes to the foreground, on pull to refresh, after background wakes and on a silent push. When the server can’t be reached, the card keeps its last known content with a Server unreachable strip.
- Push notifications — set up APNs so notifications reach your devices.
- Configuration — every environment variable.
- REST API — drive it with
curl.