Skip to content

Rex terminal mobile client for iOS and Android

ColliePWA puts your Rex sessions on your phone. Your computer serves it directly, with no account, no relay service, and no app store. Rex keeps sessions running. Your phone displays them as you left them.

Rex itself is in beta. ColliePWA was tested on the Linux Rex server, version 0.0.1795019727. The Terminals page lists what works on Rex.

The ColliePWA mark beside the Rex app icon.

ColliePWA is an unofficial, open-source project, not made or endorsed by Superlogical.

Install it in six steps.

  1. On the computer

    Install Collie

    Run this on the computer that runs the Rex server. It needs no sudo: it downloads a built binary, checks its checksum and puts collie in ~/.local/bin. If that folder is not on your PATH, it prints the line to add.

    $ curl -fsSL https://colliepwa.dev/install.sh | sh
  2. On the computer

    Start the Rex server

    Collie never starts a Rex server itself. To have it come back after a reboot, run rex server install once: on Linux it sets up a systemd socket that starts the server when Collie connects.

    $ rex server start
  3. On the computer

    Start Collie on Rex

    Collie never picks Rex on its own, so name it once. Collie saves the choice in its config, starts at login from now on, and prints the address your phone opens.

    $ COLLIE_MUX=rex collie start

    It prints something like this:

    ✓ Collie is running
      local     http://127.0.0.1:8787
      tailnet   https://myhost.tail1234.ts.net
  4. On the computer

    Open it on your phone

    This prints a QR code of that same tailnet address. Scan it with the phone's camera, with Tailscale switched on.

    $ collie qr
  5. On the phone

    Add it to your home screen

    It then opens full screen, like an app. The phone below shows each step: tap Next, or Play.

    On your phone, ColliePWA lives on the home screen. This is how you put it there:

    Open the page in Safari and tap ⋯ next to the address. If Share sits on the bar, tap it instead.

    Then open ColliePWA from the new icon. The icon keeps its own storage, apart from the browser, so you pair inside it and not in the browser tab.

  6. On the computer

    Pair the phone

    Run this on the computer. It prints an 8-character code, valid for 10 minutes. In ColliePWA, open Settings, Devices and machines, Paired devices, and enter the code. Until then, the app shows Pair this device and no panes.

    $ collie pair

After the install

Your Rex sessions now show up, and the panes that wait for you sit on top. If the phone shows nothing, run collie doctor on the computer. It names what is missing.

Optional

For Chat and History in a Claude Code pane. Run it on the computer:

$ collie hooks install claude

iOS

Rex on iPhone and iPad: ColliePWA as a home screen app.

  • Open your ColliePWA address in Safari. Tap ⋯ next to the address bar, tap Share, scroll down and tap Add to Home Screen, leave Open as Web App on, then tap Add. With the Top or Bottom tab layout, or on older iOS versions, Share sits on the bar itself. On iOS 16.4 or newer, Chrome, Edge and Firefox also show Add to Home Screen in their share menus.
  • The home screen app uses its own storage, separate from Safari. Pair it again inside the app.
  • Push notifications require iOS or iPadOS 16.4 or newer, an HTTPS address and the home screen icon. Enable them under Settings, Notifications, inside the app. See voice and push.
  • We test ColliePWA in a WebKit build. We have not checked every step on an iPhone yet.

Android

Rex on Android: ColliePWA as a home screen app.

  • Open your ColliePWA address in Chrome. Go to Settings and tap Install on the top card. If that card does not appear, open Chrome's menu, tap Add to home screen, then tap Install. Firefox and Samsung Internet provide Add to Home screen in their main menus.
  • Push notifications work in a standard browser tab over HTTPS. Installing adds the home icon and full-screen mode. See voice and push.
  • We test on-device speech recognition in Chrome on Android.

ColliePWA

What you get on your phone.

  • Every Rex session, window and block in one list. A session is a space, a window is a tab, and a terminal block is a pane. Rex says which panes hold an agent, and the ones that need you sit on top.
  • Rex names Claude Code, Codex, pi, Grok and omp from the status each agent reports. Codex needs a trusted folder. Only a Claude Code pane gets Chat and History, after collie hooks install claude.
  • Read the pane screen and reply. Answer the permission and question cards, and send keys from the Keys tray. Rex refuses a few keys, such as a chord with Cmd.
  • Open, rename and close tabs, close a pane, and open a new space, from the phone.
  • Get a push notification when an agent asks a question or finishes. Push needs an HTTPS address. See voice and push.
  • Nothing goes through a cloud service. ColliePWA listens on loopback only. Your phone reaches it through a private front door such as Tailscale, after you pair it.

Rex · iOS

ColliePWA or the Rex iOS app?

Superlogical's Rex docs say its iOS app is available to testers who enroll in the beta. ColliePWA is a separate project, not made by Superlogical. It runs in the phone's browser and shows a list of your agents with touch controls.

Some things work differently on Rex. Show in terminal is not offered, and a pane cannot be renamed. A pane shows as focused only while a Rex app is attached to its session.

ColliePWA is a web app, not a native app. It needs your computer to stay on, and your phone needs a path to it. The comparison pages set it beside other ways to reach your agents.