Skip to content

Porthole

Porthole lets you follow and control Claude Code and Codex sessions from a phone. A daemon runs on the machine where the agents run. The app connects to it over your LAN or VPN on TCP port 7433, reads the agents' own transcript files, and sends input into the session's tmux window. From the phone you can read a conversation including tool calls and thinking, type prompts and slash commands, open a terminal view of the tmux pane, answer Claude Code permission prompts, start a new session in a repository, and, with claude-swap installed, see which account is active and how much quota is left.

The daemon listens only on loopback, private and VPN addresses. Phones pair with a single-use QR code and pin the daemon's certificate. The details are on the security page.

How it fits together

Piece Where it runs What it does
Daemon (porthole) the computer that runs Claude Code or Codex: Linux, macOS, or Windows through WSL2 watches transcript files, drives tmux, brokers permission prompts, serves the app over TLS on port 7433
App Android or iOS lists sessions, renders conversations, sends input, answers permission prompts
Network between the two any private network the phone can reach the computer on: the same Wi-Fi, WireGuard, Tailscale, NetBird
Push relay (optional) a Cloudflare Worker, hosted by the project or by you wakes the phone while the app is closed; receives only ciphertext

Quick start

On the computer:

curl -fsSL https://raw.githubusercontent.com/ZerkerEOD/porthole/main/scripts/install.sh | sh
cd ~/code/my-project && porthole add     # optional; pairing works without it
porthole pair                            # prints a QR code

On the phone, install the app (see The app for the beta links), tap Scan pairing code and point it at the QR. The longer version:

  1. Install the daemon
  2. Pair a phone
  3. The app

Store and beta links for the app are on The app. Source code and daemon releases: https://github.com/ZerkerEOD/porthole.

Where to go next