All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Loopsy: Control Terminal AI Agents Remotely from Your Phone via Cloudflare Relay

By

todience

1mo ago· 9 min readenCode

Summary

Loopsy is a self-hosted tool that lets you control terminal-based AI coding agents (like Claude Code, Cursor, Codex) from your phone. It works by running a daemon on your laptop that opens an outbound WebSocket to a Cloudflare Worker, which relays commands from your phone. No port forwarding, public IP, or VPN required. The relay uses HMAC-signed pair tokens, SHA-256 hashed secrets, and bearer tokens in WebSocket headers for security.

Key quotes

· 5 pulled
Your terminal, in your pocket.
Control Claude Code, Cursor, Codex, or any shell on your laptop from your phone.
The daemon opens an outbound WebSocket to a small Cloudflare Worker. Your phone connects to the same Worker. The Worker splices the two together.
No port forwarding, no public IP, no VPN.
The relay is yours: pair tokens are HMAC-signed, secrets are SHA-256 hashed at rest, and bearer tokens travel in Sec-WebSocket headers.
Snippet from the RSS feed
Contribute to leox255/loopsy development by creating an account on GitHub.

You might also wanna read