remote-code-execution-engine icon indicating copy to clipboard operation
remote-code-execution-engine copied to clipboard

Remote Code Execution Engine (Click for blog)

This API runs your code for you in a secure environment.The user can limit the memory and execution time.Currently this api supports 4 languages. Visit my blog - for a detailed walkthrough.

  • C
  • C++
  • Python3
  • Java

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • docker
  • docker-compose

Installation

  1. Clone the repo
git clone https://github.com/budukhyash/remote-code-execution-engine
  1. Run in the cloned directory
docker-compose up --build
  1. This will start 4 services (publisher,worker,reddis-server and a rabbitMQ instance). The server will be listening on port 7000.

Documentation

  • Api Docs - with examples using various languages.

Built With

Acknowledgments

  • https://www.youtube.com/user/GISIGeometry
  • https://blog.remoteinterview.io/how-we-used-docker-to-compile-and-run-untrusted-code-2fafbffe2ad5