Discreet messaging
A private two-person chat that hides behind an ordinary-looking web page.
- Status
- Working and in use.
- Stack
- Vanilla JavaScript
- Service worker
- Real-time database
- Web Push
- Serverless functions
The problem
Most private messaging protects what you say in transit. I was interested in a different question: what does someone see when they glance at your phone?
What I built
A real-time chat for two people that looks like something else entirely. It opens only with a hidden gesture, closes itself the moment you switch away or lock the phone, and behaves like the page it imitates for anyone who doesn’t know.
Details I’m proud of
- Notifications are written to read as something mundane on a lock screen, and they don’t repeat in a way that would look odd.
- Push delivery has two paths, an instant one and a scheduled backstop, so a message isn’t missed if the first attempt fails.
- The chat itself is full-featured: replies, reactions, typing and read indicators, photos and voice notes.
- The app updates itself, but never while you’re mid-message.
Stack
A single-file vanilla JavaScript app with a service worker, a real-time database, Web Push, and serverless functions for delivery.
What it is not
The privacy here is concealment, not cryptography. It is an exploration of interface-level discretion, and I’d pair it with end-to-end encryption before calling it secure.
Status
Working and in use.