Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ssxdev/remote-compiler

This API provides complete computer access for coding projects in a secure environment. It supports execution with customizable memory limits and execution times. With built-in compilers, it handles code in 4 programming languages, compiling and providing immediate output.
https://github.com/ssxdev/remote-compiler

compiler container dockercompose

Last synced: 28 days ago
JSON representation

This API provides complete computer access for coding projects in a secure environment. It supports execution with customizable memory limits and execution times. With built-in compilers, it handles code in 4 programming languages, compiling and providing immediate output.

Awesome Lists containing this project

README

        

# Remote Compiler
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.

* 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
```sh
git clone https://github.com/SurendarSingh/Remote-Compiler
```
2. Run in the cloned directory
```sh
docker-compose up --build
```
3. This will start 4 services (publisher,worker,reddis-server and a rabbitMQ instance).
The server will be listening on port 80.

## Documentation
* [Api Docs](https://documenter.getpostman.com/view/11156949/Szt8fAgW?version=latest) - with examples using various languages.

## Built With

* [Express](https://expressjs.com/) - The web framework used
* [RabbitMQ](https://www.rabbitmq.com/) - Task queue
* [Redis](https://redis.io/) - Used for caching the results.
* [nodejs](https://nodejs.org/en/) - Used as the js runtime.