hiteshchoudhary/Codebox ? reverse-engineered prompt

Reverse engineered prompt

Build me a self hosted code execution service like Judge0 for the ChaiCode platform.

It should let users send code to an API, run it safely in an isolated environment, and get back the output, errors, and status. I need support for Python, JavaScript, C, C++, and Java, plus the ability to submit a batch of test cases and check results later by token. Make it fast, secure, and easy to run locally with Docker, then also ready for production on a server with HTTPS, Redis for the job queue, and basic metrics I can plug into Prometheus.

If possible, include automatic detection for the fastest execution option, like using microVMs when available and falling back to containers when not. Also make sure there are simple endpoints for health checks, language lists, statuses, executor info, and metrics. Look up current docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab