Author a project visually
For the concept of the project model (the kapi.yaml recipe, the state dir,
discovery), see Projects and
Your first project; this recipe walks creating
and shaping one in Kapi Desktop.
Goal: stand up a project — its languages, content patterns, and flows — through
the app, ending with the same committable kapi.yaml recipe you'd get from
kapi init.
The interface has changed since this was recorded. The workflow it demonstrates still applies, but some screens and labels differ from the current release. The project home now leads with the convergence hero and its active-model badge.
This clip is reused from the Kapi Desktop tour "create and
manage a project" segment. It's close to on-message here (this recipe is the
desktop-oriented "first project"), but TODO: retarget it to land as a
start-to-finish "your first project in Kapi Desktop" — create → set languages →
add content collections → see matched files — and trim the broader tour framing.
Scene scripts:
web/walkthroughs/.
Steps
- Create the project. Choose a folder; the app writes a
kapi.yamlrecipe and the sibling.kapi/state dir — the same layoutkapi initproduces. - Declare languages. Pick the source language and the locales you translate into. These drive every flow's defaults.
- Group content into collections. Add glob patterns (docs, UI strings, contracts) as named collections. The project home shows the patterns alongside the real files they match and the format Kapi detected for each.
- Bind flows. Attach flows from the flow editor so the project runs them with its declared languages and defaults.
- Commit the recipe. The
kapi.yamlrecipe is portable YAML — commit it, and the project runs identically from the CLI and for teammates.
Why the desktop
Visual authoring keeps the project's shape in view — which globs match which files,
what format each is, which flows are bound — and validates as you go. The artifact
is an ordinary kapi.yaml recipe: nothing is desktop-only, so the project is fully
drivable from kapi on the command line and in CI.
Next
- Build a flow visually
- Hand off to translators — extract bilingual files from the project and merge them back.