GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

No menu could be recovered. Follow the blue links in the page.

This view

  • Original page
  • New address

GeezerVison is showing lperezmo.github.io — Phone Relay

← Home

Runs on
Android 11 and newer
Reached through
A Cloudflare Tunnel the app runs itself
Sign-in
GitHub, with an allowlist
Status
In daily use. Source is private.

Phone Relay is added to claude.ai as a connector, so it works from the browser, the Claude app, or hands-free in voice mode, and it works on mobile data, not just at home. Things I say to it:

  • "Get directions to the airport and start the route."
  • "What did my last few texts say? Tell Sam I'm on my way."
  • "Start Spotify's DJ."

How a request reaches a phone

A phone has no public address, changes networks all day and sits behind whatever router it happens to be near. So the server never opens a port to the network at all. It listens only on the phone's own loopback address, and cloudflared, built into the app, dials out to Cloudflare and carries requests back down that tunnel.

The tunnel is opened from the phone outwards, so nothing on the phone accepts a connection from the network.

Keeping everyone else out

A connector like this is a remote login to a phone, so it is treated like one.

  • Sign-in goes through GitHub, and only the accounts on an allowlist get in. The list starts empty, so a fresh install lets nobody in.
  • The tunnel token and the OAuth secret are stored encrypted with an Android Keystore key.
  • Nothing is sent on my behalf without a yes. Claude reads a reply back first, and the phone can ask for a tap on Send as well.
  • Claude can write an automation but not approve it. A new one, or a real change to one, waits for my Approve on the phone.
  • There is no shell tool. Claude gets the same screen and buttons I do.

A server that has to survive being a phone

The hard part was not the tools, it was staying reachable. Phones sleep, switch from Wi-Fi to mobile data, and put rarely used apps to bed. The app checks its own public address every minute, sooner after a network change, and less often with the screen off. One failed check does not count: it takes two in a row, and failures while the phone is dozing are ignored, because the phone's own network is cut then. The tunnel reconnects by itself when the network changes, and the app's home screen lists every setup check with a button that fixes it.

Other apps can plug in

Phone Relay also fronts three sibling apps. Fridge Labelslets Claude preview and print labels, Where Is My Stuff answers "where did I last see this?" from the camera roll, and Tidy Files finds and opens files on the phone. Each one exposes its API only to Phone Relay, either by sharing its signing key or by trusting its release certificate, so nothing else on the phone can call it.

Read the full architecture page →

← All projects

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.