Gå til hovedinnhold

Get oriented in kapi

Runs anywhere

No project needed — these commands run ad-hoc in any directory.

Goal: find your way around the CLI — what kapi can read, what it can do to content, and where to look next. This is the first thing to run when you open a new terminal.

kapi runs entirely in your browser here — no install, no server. Step through the tour from the rail, or press Run all.

Loading the walkthrough…

Three commands orient you:

  • kapi --help lists the top-level commands.
  • kapi formats enumerates the format readers kapi can parse and write.
  • kapi tools lists the processing tools registry — the transforms you can run on extracted content.

The interactive embed and the recorded video both come from walkthroughs/kapi-overview.scene.yaml. Change the scene spec and regenerate; don't edit the generated output by hand.

See the format engine round-trip

The command listings above tell you what kapi can read and do; the explorer below shows it. Run a file through pseudo-translate and compare the source with the round-tripped output — only the leaf text changes, while the non-translatable skeleton (tags, keys, attributes) returns byte-for-byte. This is the same reader and writer the recipes drive, running in your browser via WebAssembly.

Loading the interactive lab…

Next