logerror/t2t — reverse-engineered prompt
Reverse engineered prompt
Build me a simple remote access tool called t2t that lets me manage remote machines from either a normal terminal or a browser based web terminal. I want one central server, a small agent that runs on each remote host and registers itself with that server, and a client that connects through the server to the host I choose. It should support multiple remote hosts, and also let more than one person connect to the same host at the same time.
Please make the flow easy, start the server, run the agent on a machine, have it print the host info and a code, then use that info in the client to open a terminal session. Also include a web terminal on localhost:9002 so I can connect from a browser. Keep connections secure, make it feel lightweight, and include a basic config plus simple build and run steps so I can try it quickly. If anything is unclear, check current docs online and make sensible choices.
Want more depth? Deep Reverse