Run the API Server
cfdl-server is a self-hostable HTTP API over the compiler and engine —
filesystem-free, embedded packs only.
Docker
git clone https://github.com/bizarc/cfdl
cd cfdl
docker build -f crates/cfdl-server/Dockerfile -t cfdl-server .
docker run -p 8080:8080 cfdl-serverAt launch the image is published as ghcr.io/bizarc/cfdl-server.
From source
cargo run --release -p cfdl-serverConfiguration
CFDL_SERVER_ADDR— bind address (default0.0.0.0:8080).- Built-in limits (see
crates/cfdl-server/src/limits.rs): 1 MiB request body, 10 s request timeout, Monte Carlo trials capped at 1000 (rejected, never truncated).
Verify
curl localhost:8080/healthz # {"status":"ok"}
open http://localhost:8080/docs # Swagger UINext: API endpoints and usage