whaiman/remote-compiler — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a lightweight Python tool called RGCC that lets someone compile C or C++ files on a stronger remote machine instead of their local device.

I want one installable package that gives me two commands, one for the client and one for the server. The server should run a small build daemon, create a config file with a secure token, accept compile jobs, run approved compilers like gcc, g++, or clang, and send the results back. The client should read its own config with the server URL and token, collect the source file plus needed headers, encrypt the payload, upload it, then save the returned binary, logs, and build info into a local dist folder.

Support normal compile options like output name, C or C++ standard, extra flags, defines, compile only, dry run, target triples, sysroot, and a simple interactive mode that can save a build.json manifest. Include Docker support for the server, sensible Makefile commands, tests, and clear README examples. Use secure defaults where possible, but note that this is experimental.

Want more depth? Deep Reverse