rising3월 14일· 2 sources
How I Built clsh: Phone-First Terminal Access to Your Mac
clsh 개발기: 스마트폰에서 Mac 터미널에 접속하기
Why it matters
The author built clsh, an open-source tool providing real terminal access to a Mac from a phone, primarily to monitor long-running AI coding agent sessions like Claude Code. It uses node-pty for true PTY sessions with WebSocket connections, a 3-tier tunnel system (ngrok, SSH via localhost.run, local WiFi), JWT authentication, and optional tmux wrapping for session persistence.
2
Sources
+0
24h
—
Growth
182d
Active
agent-teamclaude codeclshngroknode-ptypane layoutptytmuxtmux-ideyaml