projects / porthole

Porthole in development

A self-hosted phone remote for Claude Code and Codex sessions. Your machine, your VPN, no cloud relay.

AGPL-3.0 · since 2026

GoFluttertmuxCloudflare Workerstoolingagentsself-hosted

$ git clone portholeproject pagedocsreleases

for practitioners

  • Attach to the coding-agent sessions you already run in tmux, from your pocket, over your own VPN.
  • Read transcripts as markdown, type prompts and slash commands into the real TUI, approve permission prompts.
  • Daemon listens only on private and VPN addresses, phones pin its certificate, pairing is a one-time QR.

about

Porthole is a small Go daemon on the computer and a Flutter app on the phone. The daemon tails the transcript files Claude Code and Codex already write, drives the sessions through tmux, and exposes one TLS WebSocket on the VPN. The app renders the conversation, shows which account is doing the work, and raises permission prompts as notifications you can answer.

Nothing is relayed through a vendor cloud. The only optional piece that leaves the network is an encrypted wake-up push for supporters, through a relay you can also run yourself. Read more on the Porthole page.

install

porthole · installsh
porthole doctor          # checks tmux, claude, codex, profiles
porthole install-hooks   # Claude Code hooks + Codex notify
porthole serve           # or the systemd / launchd unit
porthole pair            # scan the QR with the app