ShiftStage

Edit files on your Mac from your iPhone

One wrong value in a config, a typo in the README, a flag an AI agent needs flipped. The fix is ten characters; the laptop is at home.

ShiftStage opens text files in the folders you share on your Mac and saves them back in place. It is an editor for small, precise changes — not an IDE: there is no completion, no build, no refactoring. For those, the terminal and your AI agents are one tab away.

Other ways, and when they are better

  • vim or nano over SSH. If you live in them and can reach the Mac, nothing is faster. The same editors also run in ShiftStage's terminal, which is a real PTY.
  • An editor in the browser served from the Mac. Gives you a full IDE, extensions and all — and a server to keep running and exposed.
  • A git client on the phone. Right when the change should go through a clone, a commit and a push anyway, and the Mac's working tree does not matter.
  • ShiftStage edits the file on the Mac itself — the one your dev server and your agent are using right now — with no clone and no sync.

Open

Code and configuration open ready to edit, with syntax highlighting by extension. Markdown, JSON, HTML and .txt open for reading — rendered Markdown, indented JSON, HTML as a page — and a button in the header switches to editing, so a stray tap does not pop up the keyboard. Find works in every view.

Encoding is kept. UTF-8 is tried first; anything else is detected by the system's own statistics, not by guessing from a list — CP1251 Russian text does not turn into ïðèâåò. A file opens for editing only in an encoding ShiftStage can write back, so a save never mangles what it read. UTF-16 is recognised by its byte order mark.

Files over 2 MiB are not opened in the editor — a phone editor and a gigabyte log do not mix. You can still preview or download them.

Save

  • Atomic. The new content is written to a temporary file on the same volume and swapped in. A half-written file cannot appear, not even after a power cut.
  • Nothing else changes. Permissions, owner and extended attributes are kept: a script stays executable, Finder tags stay put.
  • No silent overwrites. Every save carries the revision you opened. If the file changed on the Mac in the meantime — your agent touched it, you saved it in Xcode — the save is refused and you choose: re-read, compare, or save over it.
  • Drafts survive. Unsaved changes outlive a dropped connection and an app restart. When the connection comes back, the file is checked against the Mac rather than reloaded over your work.

Around the file

From a folder you can create a new text file (named as you type it — Makefile and .gitignore get no .txt appended), duplicate a file next to itself, rename (changing the extension asks first, the way Finder does), and delete — to the Mac's Trash by default, permanently only as a separate choice. A non-empty folder asks a second time.

Where writing is allowed

The Mac decides. Each shared folder has a Write switch in the agent, and subfolders can be made read-only or writable on their own. The phone shows a lock and offers no editing where a save would be refused. Every change is recorded in the access log on the Mac — the kind of operation and the path, never the contents.

Offline, a file you kept on the device opens for reading; editing waits for the Mac, because a change written blind to a file that may have moved on is how work gets lost.

Once the edit is in, review the diff and commit it from the same phone.

Set it up once

  1. Install the agent on the Mac. A signed, notarised app from our open Homebrew tap. It shares only the folders you name.
    brew install --cask shiftstage/shiftstage/shiftstage-agent
  2. Install the app on the iPhone from the App Store.
  3. Pair them. Scan the code on the Mac's screen and confirm the same symbols on both devices. No account. The first pairing needs both on the same network.

That is the whole setup: no VPN, no port forwarding, no SSH keys. On the same Wi-Fi the phone talks to the Mac directly; away from home the connection goes peer to peer, or through a relay that forwards only end-to-end encrypted bytes. The Mac has to be awake: a sleeping Mac answers nothing, and the app says so instead of timing out.

Related: access the files on your Mac and find the file first.

Get it

The Mac agent: download page — one Homebrew command or a notarised disk image. The iPhone app: App Store. Free forever for one Mac on your own network, no account; $7.99 a month or $69.99 a year to reach it from anywhere.

More guides: all guides.