All posts

2026-05-01

Welcome to Mobile Relay

How the web app, desktop relay, and tunnel fit together.

Same domain, three surfaces

Mobile Relay ships as one Next.js deployment:

  • Marketing pages — landing, pricing, download, and MDX blog for SEO.
  • Account — Supabase Auth plus a dashboard for subscription and tunnel hostname status.
  • PWA/app/* routes with Agent, Diff, and Preview tabs talking to your desktop relay through Cloudflare Tunnel.

Why it matters

Keeping auth on the same origin avoids brittle cross-site token handoffs. Your phone installs the PWA, signs in once, and reads tunnel hostname updates over Supabase Realtime while the desktop maintains cloudflared.