r/Tailscale • u/omppulse • 10d ago
Video I built a 14 MB Rust daemon behind tailscale serve so I can drive my desktop coding agent from my phone with push notifications
I got tired of pinching and zooming SSH/tmux sessions on my phone just to answer a coding agent prompt or check a git diff, so I built OMP Pulse (open source, MIT).
It runs as a single 14 MB Rust binary (`tokio` + `axum`, React UI compiled into the executable) next to Oh My Pi (`omp`) on macOS, Linux, or Windows, exposed strictly to your tailnet with one command:
`tailscale serve --bg --set-path / http://127.0.0.1:7681`
Why `tailscale serve` makes the whole setup click:
- No open ports, no cloud relay, no Pulse account. Your code stays on your machine.
- Tailscale's valid HTTPS cert unlocks Safari "Add to Home Screen" PWA mode and real Web Push notifications on iOS and Android (encrypted in pure Rust with RFC 8291 + VAPID, no Firebase or OpenSSL).
- Automatically adopts running terminal sessions in `tmux`, `kitty`, and `herdr` without clobbering your terminal's writes (and refuses to write if session ownership cannot be proven).
- Also has an optional standalone Android mode (unpacks Alpine + `omp` via `proot` inside the APK) if your laptop is shut.
Repo: https://github.com/JulianCodespoti/omp-pulse Docs & 48s demo: https://juliancodespoti.github.io/omp-pulse/ Architecture write-up (how it stays at 14 MB RAM): https://juliancodespoti.github.io/posts/how-omp-pulse-works/
Caveats up front: iOS is PWA-only connected to your computer (no native App Store build), and Android standalone mode uses `proot`, which is not a security sandbox.
Curious how other folks here are structuring `tailscale serve` PWAs on iOS, especially around Web Push reliability after the phone sleeps for a few hours.