Settings

Theme

Itwillsync – Sync any terminal-based coding agent to your phone over LAN

github.com

2 points by shrijayan a month ago · 1 comment

Reader

shrijayanOP a month 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

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection