Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/ssxdev/remote-compiler
- Owner: ssxdev
- Created: 2022-11-14T06:30:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-26T12:52:30.000Z (almost 2 years ago)
- Last Synced: 2024-10-11T12:23:56.337Z (28 days ago)
- Topics: compiler, container, dockercompose
- Language: JavaScript
- Homepage:
- Size: 12.4 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.