A production-ready documentation site built with the open-source Thally runtime. Use this repository as a GitHub template or clone it directly, then replace the starter content with documentation for your product.
This is the canonical complete template consumed by Thally Cloud, the CLI, and
the MCP server. Runtime code is authored once in
thallylabs/thally, then generated into
this repository as a pinned, byte-identical snapshot. Do not manually repeat a
runtime fix in both repositories.
npm install
npm run devOpen http://localhost:3040. The next available port is used automatically when 3040 is occupied.
- Edit pages in
src/content/. - Organize navigation and features in
docs.json. - Set the product name, links, and versioned brand defaults in
src/data/site.ts. - Replace
openapi.yamlwith your API specification. - Add logos or favicons in
public/and reference them from your site settings.
starter-release.json records the immutable starter and runtime version used
to create the site. Keep it in the repository so thally starter update can
plan framework updates without overwriting your content or portable settings.
Maintainers update the generated runtime snapshot through the Sync Thally runtime workflow. CI rejects a changed pin without matching files, changed files without a matching pin, missing files, and stale runtime files.
Content icons are neutral by default. Set appearance.contentIcons to accent
in docs.json, or add iconColor="accent" to an individual card or tile.
Public page URLs ending in .md are disabled by default; enable them explicitly
with markdown.enabled when that distribution surface fits your access model.
npm test
npm run build
npm ci --ignore-scripts --prefix .github/thally-tooling
.github/thally-tooling/node_modules/.bin/thally check --ci .The site is a standard Next.js application. Deploy it through Thally Cloud or
any compatible Next.js host. Cloudflare Workers configuration is included in
open-next.config.ts and wrangler.jsonc.
Copy .env.example to .env.local only when you need optional services. Never
commit real credentials.