# Remote Control an AI Coding IDE From Telegram, Securely

Developer tools · Creator, sole engineer · shipped

Long AI coding runs finish while you are away from the machine. Checking on them means either leaving a remote desktop session open or forwarding a port to your home network - both worse than the problem.

Code: https://github.com/vasu-devs/GhostSync

## The detail

This exposes the IDE to a private bot over an automatically created secure tunnel, so there is no port forwarding and no inbound firewall rule. Send a folder path, fire prompts, and receive live screenshots of the IDE from anywhere.

For a remote-control tool the security design is the product: a strict user allowlist so a leaked bot token alone grants no control, request rate limiting, screenshots deleted immediately after sending so the chat history is not a recording of your screen, sanitised logs, and credentials stored locally and never uploaded.

Shipped as a single executable so it runs for people who do not have Python installed - the difference between a script and a tool.

Python, Cloudflare Tunnel, desktop automation, CustomTkinter, PyInstaller.

## What I did

- Built the tunnel bridge that requires no port forwarding or firewall changes
- Implemented desktop automation driving the IDE with window detection
- Designed the security model - user allowlist, rate limiting, ephemeral screenshots, sanitised logs
- Built the desktop GUI and packaged it as a single executable for non-developers

## Stack

Python, API Integration, Desktop Application, Automation, Cloudflare Tunnel, Desktop Automation, PyInstaller, Telegram API, CustomTkinter

Case study: https://www.siddhvasudev.com/projects/remote-control-an-ai-coding-ide
