SimoneBuccolieri/CrossForge — reverse-engineered prompt
Reverse engineered prompt
Build me a small self hosted tool in Go that lets me stay on my Mac or Linux machine and run commands on a remote Windows machine over a direct peer to peer connection. I want a simple client and server, with no central service, just a daemon running on Windows and a local CLI that connects over TCP and sends commands to execute.
The important part is that the remote command output should stream back to my terminal in real time, with stdout and stderr handled separately, and the local client should exit with the exact same exit code as the process on Windows. If I cancel the client or the connection drops, the Windows side should immediately kill the running process so nothing gets orphaned.
Please keep it OS level and language agnostic so I can use it for things like builds, running apps, or debugging commands from a Mac, including Apple Silicon. An MVP is totally fine and it does not need production security yet. Use a sensible default port like 50051, and look up current docs online if you need to.
Want more depth? Deep Reverse