Small API for parsing Corn as a service.
  • Rust 76.1%
  • Nix 19.5%
  • Dockerfile 4.4%
Find a file
2024-04-26 21:27:47 +01:00
.github/workflows ci: fix broken build 2024-04-26 21:27:47 +01:00
.idea chore(intellij): add git toolbox config 2023-08-31 22:09:56 +01:00
src feat: use pretty string outputs 2023-08-31 22:09:48 +01:00
.dockerignore chore: initial commit 2023-08-30 23:21:54 +01:00
.gitignore chore: initial commit 2023-08-30 23:21:54 +01:00
Cargo.lock build(deps): update to libcorn v0.9.1 2023-09-01 20:19:09 +01:00
Cargo.toml build(deps): update to libcorn v0.9.1 2023-09-01 20:19:09 +01:00
Dockerfile build(docker): cleanup install files 2024-04-26 20:41:00 +01:00
flake.lock build: add nix support 2024-04-26 21:26:11 +01:00
flake.nix build: add nix support 2024-04-26 21:26:11 +01:00
LICENSE chore: initial commit 2023-08-30 23:21:54 +01:00
README.md docs: fix link in readme 2023-08-30 23:35:19 +01:00

Corn API

Small API for parsing Corn as a service.

Send requests on /parse. The request body should be fully formed Corn. Request responses will be the parsed output.

You can optionally specify the Accept header as one of application/json, application/yaml or application/toml. This defaults to JSON.

Configure the host and port with HOST and PORT environment variables. These default to 127.0.0.1 and 5050.

Requests are rate-limited. Control this with the REQUESTS_PER_MINUTE env var. This defaults to 20.

A Dockerfile is included.