hakoniwa-code-runner

Crates.iohakoniwa-code-runner
lib.rshakoniwa-code-runner
version0.2.3
sourcesrc
created_at2022-09-05 09:30:50.778096
updated_at2023-08-28 15:59:45.43228
descriptionRun code snippets in a variety of languages over network.
homepagehttps://github.com/souk4711/hakoniwa-code-runner
repositoryhttps://github.com/souk4711/hakoniwa-code-runner
max_upload_size
id658704
size136,798
(souk4711)

documentation

README

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.

Commit count: 122

cargo fmt