Apps and Repos

Apps and Repos

Cabinet goes beyond markdown pages. You can embed full web applications, link external Git repositories, and create interactive tools that live right alongside your documentation.

Embedded apps

Any directory that contains an index.html file and no index.md is treated as an embedded app. Cabinet renders it in an iframe.

Standard embedded app

The app renders in the main content area with the sidebar and AI panel still visible. Good for dashboards and reference tools you want to glance at while working.

data/
  my-dashboard/
    index.html     ← the app (renders as iframe with sidebar)
    app.js
    style.css

Full-screen app (.app marker)

Add an empty .app marker file to the directory and the app gets maximum space: the sidebar and AI panel auto-collapse on open. A Back to KB button in the toolbar restores the normal layout.

data/
  my-tool/
    index.html     ← the app
    .app           ← marker: full-screen mode
    other-files/

Both types appear in the sidebar automatically — no build step, no deployment.

Linked repositories

A .repo.yaml file in any data directory links it to a Git repository. Agents use this to read and search source code in context when working on related documentation.

name: my-project
local: /path/to/local/repo
remote: https://github.com/org/repo.git
source: both
branch: main
description: What this repo contains (helps agents understand context)

Fields

FieldRequiredDescription
nameYesHuman-readable project name
localYesAbsolute path to local clone
remoteNoGitHub URL — used for links, issues, PR suggestions
sourceNolocal, remote, or both (default: both)
branchNoDefault branch (default: main)
descriptionNoFree-text description for agent context

When an agent works on a KB page that has a .repo.yaml in the same directory or any parent, it will:

  1. Read the .repo.yaml to find the linked repo
  2. Use the local path to read source code and understand architecture
  3. Use the remote URL when creating links or suggesting PRs

The sidebar shows these directories with an orange GitBranch icon.


Back to Getting Started.