- Scriptbook runs CentrMark (
.cmk) playbooks on your machine and records output in sidecars — never by rewriting the document. Think Jupyter for scripts: narrative + ` -
step` cells, playable from a CLI (DevCentr GUI later).
- * Markup: CentrMark `
-
playbook` /
::: step(seespec/playbook-profile.adoc)-
Executor: this repo (library +
scriptbookCLI) -
Output:
<file.cmk>.runs/(spec/sidecar.adoc)
-
- SLP / `
-
tangle` is for source literate programming. Scriptbook is for run on my machine docs.
Requires DUB and a D compiler (DMD or LDC).
cd lib && dub build
cd ../cli && dub build
./bin/scriptbook versionOn Windows, binaries land under cli/bin/scriptbook.exe.
scriptbook run examples/smoke.cmk
scriptbook status examples/smoke.cmk
scriptbook history examples/smoke.cmk
scriptbook prohelp
scriptbook clean-runs examples/smoke.cmkFlags:
-
--yes/-y— allow steps withconfirm=true -
--dry-run— record scripts without executing
Commands:
-
history— human-readable table of the last sidecar run (was it run? what exited?) -
prohelp— how to find Scriptbook run records and OS audit tools (journalctl / Event Viewer / syslog)
Shell backends (shell= prop): auto (prefer nu, else bash/sh or pwsh), nu, sh, bash, pwsh.
Nushell helpers: nu/scriptbook.nu.
-
examples/smoke.cmk— CI smoke -
examples/gh-pages-https.cmk— Cloudflare ↔ GitHub Pages HTTPS algorithm (see alsodev-centr/general-knowledgehow-to +scripts/check-gh-pages-https.nu)
Download a binary from GitHub Releases, or build from source as above.
Centr Source License 1.0 — Branding (CSL-1.0-B). See LICENSE. Incorporation (linking/bundling in another product) is allowed; Scriptbook branding is reserved. Family overview: DevCentr Licensing.
Previously AGPL-3.0-or-later (through 0.1.1 history); relicensed 2026-08-03. Git history was not rewritten.