Personal phone notification relay
A self-hosted relay and web dashboard for watching my own phone's status and notifications from my laptop, with QR pairing and live WebSocket updates; the server and dashboard are built and the Android app is still to do.
The problem
My phone is often away from me while I work at the laptop, and I wanted to see its status and notifications without picking it up.
How I built it
I built a Node and Express server with a WebSocket relay, because the phone and laptop do not share a network. The phone pairs by scanning a QR code, the dashboard can be protected by a PIN, state lives in a small JSON store (meant for a persistent volume on Railway), and a mock-phone script stands in for the real device in end-to-end tests. The server is set up to deploy on Railway.
What got hard
- A phone and a laptop that are never on the same network.
A hosted relay passes messages between them, and pairing is done once with a QR code.
- A low-spec phone.
The plan keeps the Android companion under 5 MB and mirrors notifications rather than streaming the screen, to protect memory and battery on a 3 GB device.
The result
Phase 1 (server and dashboard) is built, with a mock phone script for end-to-end tests. The Android app is not built yet.
The ← and → keys turn the page too.