Skip to content

actx decode

Decode a binary CTX-B (CTX Binary) file back into its original human-readable CTX syntax string.

Terminal window
actx decode [file]
actx decode context.ctxb
cat context.ctxb | actx decode
ArgumentRequiredDescription
fileNoPath to a .ctxb binary file. If omitted, reads from stdin.

CTX-B is the binary-encoded wire format of CTX statements, designed for compact storage and fast IPC transport. This command reverses the encoding, printing the raw CTX string to stdout.

If no file argument is provided, the command reads binary data from stdin, allowing it to be piped from other tools.

Terminal window
$ actx decode .context/objects/abc123.ctxb
+m "project_status" #planning "Phase 23 complete"