Architecture · Private by Default
Mini Connector & Relay
How the app reaches the Mac Mini without opening anything to the internet.
The Problem
The app needs live data from files and agents on the Mac Mini, but the phone should never hold secrets and nothing should be exposed to the public internet.
What It Does
A small relay service and a connector on the Mini. The connector reads the vault and local files and answers requests; the relay is the one door the app knocks on.
How We Built It
- App
- Tailscale (private HTTPS)
- Relay · Hono
- Mini connector
- Vault & files
- The relay is a TypeScript service built on Hono, run by launchd and tested with Vitest.
- The Mini connector is a separate TypeScript process that does the file work and talks to the relay.
- The recommended setup keeps the relay on loopback and puts Tailscale Serve in front for HTTPS reachable only from Jay's own devices.
- Routes nobody uses are marked and left in place, and removals happen in their own reviewed change.
Timeline
Relay runtime data kept out of git.
c299ad0Goals backend: connector reads and updates, relay serves it.
f9601caQuill messages: relay endpoints, connector writes to Quill's inbox.
4020204Unused Ask RONIN routes removed in their own change.
ebc0d10Daily quote routes added to relay and connector.
a789c9c
Tools Used
What's Next
- Wire the small Mini services (status, Needs You) into the app.
Front Desk Live Board →
What needs Jay, in one list, with check-offs that never touch the inbox.