Skip to content

Runnable examples

These examples are small projects you can operate, not isolated configuration fragments. They live under examples/ and use only a shell and Python 3. They do not contact external hosts, require credentials, or modify anything outside their own directory.

Start from the repository root after building or installing Kranz.

Which example should I choose?

If you want to learn…Use
How everything fits together in one projectMoonFlight
The keyboard and basic service lifecycleProcfile
How a real kranz.yaml is structuredNative YAML
Docker/SSH-style resources that survive KranzDetached lifecycle
Work that must succeed before a service startsPrerequisites
Whether your existing Process Compose file worksProcess Compose
Dependency fan-out, fan-in, health, and recoveryFull stack
Declared, detected, stale, and dynamic portsRuntime ports

Safe by construction

The lifecycle playground simulates external resources with ignored marker files. The other examples open documented localhost ports only. Each page includes its cleanup instructions.

Released under the MIT License.