Playground
Playground
Run the real dctx 1.3.1 on a bundled sample or on text files you paste. Each run gets a fresh directory and an empty environment, and is limited to 3 s, 2 s of CPU and 256 MiB; nothing is stored. Commands are checked against the CLI's own options and never reach a shell.
Without JavaScript the form opens the result as a page.
The playground service is not reachable. Everything else on this site works, and the runs below were recorded from dctx 1.3.1 when the site was built.
# results appear hereAPI
GET /api/v1/healthVersion, sample count and limitsGET /api/v1/samplesThe bundled sample projectsPOST /api/v1/runRun one dctx commandPOST /api/v1/run-formThe same as /run for an HTML form, answered with an HTML pageGET /api/v1/metrics.jsonCounters: runs, cache hits, timeouts, refusals by reason, median run timeGET /api/v1/openapi.jsonThis document
Recorded runs
Captured at build time on the kiosk sample; the playground returns the same bytes for the same command.
dctx map find greet
$ dctx map find greet# kiosk finds:src/util.rs#greet fn L2-4s:web/app.ts#renderGreeting fn L10-12
dctx map neighbors s:src/util.rs#greet --edge calls --dir in
$ dctx map neighbors 's:src/util.rs#greet' --edge calls --dir in# kiosk neighborscalls:in:s:src/main.rs#main fn src/main.rs L7
dctx map skeleton src/store.rs
$ dctx map skeleton src/store.rs# kiosk skeletonm:src/store.rs module L1-24 src/store.rss:src/store.rs#Order struct L4-8 pub struct Orders:src/store.rs#save fn L11-14 pub fn save(order: &Order)s:src/store.rs#encode fn L17-19 fn encode(order: &Order)s:src/store.rs#checksum fn L22-24 fn checksum(text: &str)
dctx map path s:src/main.rs#main s:src/store.rs#save
$ dctx map path 's:src/main.rs#main' 's:src/store.rs#save'# kiosk pathstart s:src/main.rs#main fn src/main.rscalls:out s:src/store.rs#save fn src/store.rs