Skip to content

Get started

Command line

The tailapps command: send to and listen on inboxes, and drive cards on your Mac.

The tailapps command has two jobs. On any machine (macOS, Linux or Windows) it signs in as a device of its own, so a server, a CI job or a script can send values to your cards and listen for theirs, end-to-end encrypted. On a Mac with TailApps running, it also drives your cards like an agent would.

Install and sign in

brew install tailapps/tap/tailapps
tailapps login

Builds for Linux and Windows are on the download page. tailapps login prints a short code and a link; open it in a browser where you’re signed in to TailApps, check the code is the one you started, and approve. The device then shows under Devices on the site, where you can remove it.

Send to a card

A card receives values in an inbox source. Send to it as <card-id>/<inbox>:

tailapps send ping/messages '{"text":"Backup finished"}'
tailapps send quick-shot/incoming --file shot.png --alert "New shot"
tailapps send ping/messages '{"text":"Only you"}' --to dev_…
  • --file sends a file with the value (at most 10 MB); the card’s on_receive gets it as $args.file.
  • --alert is the one line a receiving iPhone shows as a notification, even with TailApps closed. Alert text isn’t end-to-end encrypted, so keep secrets out of it.
  • --to sends to one device by its id; tailapps devices lists them.
  • The card must have Sync to My Devices turned on, on the devices that should receive.

Listen for values

tailapps listen ping/messages

It prints one JSON line per value that arrives ({ app_id, file, from, from_id, inbox, received, value }), ready to pipe into a script. --once prints what’s waiting and exits, and --save <folder> downloads files sent with a value.

Drive cards on your Mac

With TailApps running on the same Mac, these talk to it like an MCP client, with no more power than one: approvals and confirmations still appear on screen.

CommandDoes
tailapps listInstalled cards with their status.
tailapps info <card-id>The document, grants, what’s still to set up, and its inboxes.
tailapps state get <card-id> [path]Reads declared state.
tailapps state set <card-id> <path> <json>Writes declared state (not a source’s key).
tailapps run <card-id> <action> [--arg name=value…]Runs an action like a button press.
tailapps ask <show_ui.json>Shows a native question card and prints the answer, for scripts that need a decision.
tailapps logs [--app <card-id>] [--follow]The event log: every call, grant and action result.

Every command takes --json. Exit codes never change meaning: 0 done, 1 failed, 2 bad usage, 3 TailApps isn’t running, 4 the person said no, 5 not signed in.

Without signing in: push URLs

A service that can only make an HTTPS request (a webhook, a shop’s order handler) can post JSON to a card’s push URL instead. These come from outside your devices, so they’re HTTPS, not end-to-end encrypted. Push URLs