Remote
iPhone buttons that run commands on your Mac (deploy to Vercel, git pull, git status) in one project folder; the Mac replies to that phone. Turn on Sync to My Devices on both.
by MArk · Version 2 · Updated 1 week ago
- Price
- Free
- Works on
- Mac · iPhone (as a card)
- Permissions
- 5
What it does
-
Lives where you glance
Menu bar, TailApps Dock, Dashboard, a floating window, and a card on your iPhone.
-
Talks to your other devices
Turn on Sync to My Devices and its messages travel end-to-end encrypted.
-
Stays up to date
Updates when something is sent to its inbox jobs
-
Stays up to date
Updates when something is sent to its inbox results
-
Asks you to set up
Project folder
What it may do
TailApps shows this list before installing and asks you once. The card can do nothing else.
-
Run its script run.sh
script:run.sh
-
Receive events sent to its inbox jobs (from your hooks, webhooks or other devices)
inbox:jobs
-
Send to its copies on your other devices (when you turn on Sync to My Devices)
send:jobs
-
Receive events sent to its inbox results (from your hooks, webhooks or other devices)
inbox:results
-
Send to its copies on your other devices (when you turn on Sync to My Devices)
send:results
Scripts
Everything it runs is here to read before you install.
run.sh
#!/bin/sh
# Runs one of three fixed jobs in the project folder ($2) and prints { job, ok, output } as JSON.
# $1 names the job; it is never run as a command, and anything else is refused. Always exits 0, so the
# app can reply to the phone that asked even when the job fails.
job="$1"
dir="$2"
reply() { printf '%s' "$3" | tail -n 15 | jq -Rs --arg job "$1" --argjson ok "$2" '{job: $job, ok: $ok, output: .}'; }
if ! cd "$dir" 2>/dev/null; then
reply "$job" false "The project folder is missing. Pick it again in Settings."
exit 0
fi
case "$job" in
deploy) out=$(vercel deploy --prod --yes 2>&1) ;;
pull) out=$(git pull --ff-only 2>&1) ;;
status) out=$(git status --short --branch 2>&1) ;;
*) reply "$job" false "Unknown job"; exit 0 ;;
esac
if [ $? -eq 0 ]; then reply "$job" true "$out"; else reply "$job" false "$out"; fi
More in Across devices
See all →Counter
A shared tally: + and − on any of your devices. Turn on Sync to My Devices on each one and they stay in step.
Device Messenger
Type a message, choose how it arrives and which of your devices get it, then send. Each device shows who it came from. Turn on ⋯ › Sync to My Devices on each one.
Phone to Mac
Send a photo or a file from your iPhone to your Mac: it lands in a folder you choose and shows in the card.