#snippets #language #networking #variety #programming-language #code-runner #code-execution

bin+lib hakoniwa-code-runner

Run code snippets in a variety of languages over network

3 releases

0.2.3 Aug 28, 2023
0.2.1 Sep 11, 2022
0.2.0 Sep 5, 2022

#737 in Development tools

Download history 1/week @ 2024-02-20 8/week @ 2024-02-27 1/week @ 2024-03-05 8/week @ 2024-03-12 10/week @ 2024-03-26 42/week @ 2024-04-02

61 downloads per month

MIT/Apache

38KB
715 lines

Hakoniwa Code Runner

Run code snippets in a variety of languages over network.

Installation

Cargo

  • Install libseccomp & protobuf-compiler.
  • Install rust toolchain.
  • Run cargo install hakoniwa-code-runner.

Usage

$ hakoniwa-code-runner start -c app.toml
2022-09-05T06:51:32.207731Z  INFO hcr::server: listening on 127.0.0.1:8080

More examples can be found in examples. E.g.

Development

After checking out the repo, run make devcontainer to build a container for development. Then, run make test to run the tests. Or run make start-server to start a hakoniwa-code-runner listening on 8080.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~24–39MB
~580K SLoC