Template page

/templates/owner/name shows what a forge started from that template gets, read-only from its repository: the README's first paragraph (escaped), then Files it will create (every path, sorted, the first 30 with "and N more"), First issue (the firstAsk its forge.json declares, or "None: you tell the crew what to build") and Crew seats (the starter seats a new forge fills, from src/spawn/starter_crew.ts). /templates/starter lists the files it bakes. /templates/blank and /templates/starter show the built-in templates' own words. A repository that does not exist, is not marked a template, or that the viewer cannot read answers the same 404. Settings → App templates links each row to its page.

In the terminal, p on a row of Templates (/templates screen) opens the same three parts: files, first issue, crew seats, j/k scroll. Blank has no page, so p does nothing on it.

Code: src/web/pages/template.ts, src/tui/screens/template_preview.ts, src/core/template_view.ts, src/core/readme_paragraph.ts. Tests: test/template-page.test.ts, test/template-preview.test.ts, test/template-preview-tui.test.ts.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs