Sandboxed code execution environment for multiple programming languages like Java, C++, and Python.
✅ Sandboxed Execution:
Run code in a controlled environment using Docker to ensure safety and isolation. 🐳
✅ Multi-Language Support:
Supports Java, C++, and Python for versatile coding needs. 🚀
✅ REST API Integration:
Seamless execution through REST API endpoints. 🌐
✅ Time-Limit Enforcement:
Prevent infinite loops and misuse with strict execution time limits. ⏱️
✅ Detailed Output Reporting:
Get comprehensive feedback including:
- Program Output 📝
- Error Logs
⚠️ - Runtime Exceptions 💥
-
Submit Code:
Use the REST API to send code, the language -
Sandbox Execution:
The code is executed in a Docker container, isolated from the host system. -
Get Results:
Receive the program output, errors, or runtime exceptions in the response.
- Description: Execute code in the specified language.
- Request Body:
{
"language": "java | cpp | python",
"code": "Your code here",
}
- Response:
{
"message": "success",
"data": {
"exitCode": "0 or 1",
"output": "program output here",
}
}
- All code is executed in isolated Docker containers.
- Time limits prevent long or infinite execution loops.
- Support for more languages (e.g., JavaScript) 🔄
- Authentication for API access 🔒
Contributions are welcome! Feel free to fork the repo and submit a pull request. 🙌