Itwillsync – Sync any terminal-based coding agent to your phone over LAN
2 points
1 hour ago
| 1 comment
| github.com
| HN
shrijayan
1 hour ago
[-]
I built a small open-source tool that syncs any terminal-based coding agent to your phone over your local network.

It wraps the agent process in a PTY and exposes it via WebSocket to a browser terminal (xterm.js).

Example:

npx itwillsync -- claude npx itwillsync -- aider npx itwillsync -- bash

Features:

No cloud relay

No account

64-char random session token

Multiple devices can connect

No idle timeout

Remote access works via Tailscale, WireGuard, or SSH tunnels.

Architecture:

Machine:

node-pty

HTTP + WebSocket server

Phone:

xterm.js browser client

Looking for feedback on:

security model

multi-session handling

agent-aware UI possibilities

Repo: https://github.com/shrijayan/itwillsync

reply