iPhone home-screen widgets for Claude Code usage. Zero extra tokens. Your Mac, your Tailnet, your data.
One script, every size. Pick any family in Scriptable — the widget detects and renders. Add as many as you want.
All three are required. The first two are probably already on your devices.
Free tier is fine. iPhone and Mac need to be on the same tailnet so the phone can reach the Mac — no public ports, no cloud hop.
Download Tailscale · sign in on both devices with the same account.
Free App Store app. This is what runs the widget code.
It wires the Claude Code statusline hook that collects your usage, starts a tiny HTTP server bound to your Tailscale IP, and prints a QR code in the terminal.
curl -fsSL https://claude.egor.lol/install.sh | bash
Scan the QR from the iPhone camera → tap Install in Scriptable → tap Save. You're done.
Long-press home screen → + → Scriptable → pick Small / Medium / Large → select Claude Code. Same script powers every size; add more than one widget if you like.
rate_limits for subscribers).