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

https://github.com/letmutx/code-executor

Code executor in Rust using docker
https://github.com/letmutx/code-executor

async docker rust

Last synced: about 2 months ago
JSON representation

Code executor in Rust using docker

Awesome Lists containing this project

README

          

# code-executor

Code executor in Rust using docker

~~There are lot of bugs, I know. I will (hopefully) fix them someday~~. I did fix most and it is usable. Feel free to do whatever with it.

## Steps to run

You might have to pull images required, see Dockerfile

1. Install [rust](https://rustup.rs)
2. Install [docker](https://get.docker.com)
3. Do `cargo run`

You can use cURL. See sample json in `resources//*.json`

`$ curl -v 'https://localhost:3000/execute' --data @file`