# AI Wiki Template
An open-source static-site template I built to turn any cross-linked markdown corpus (typically an [[LLM Wiki]] inside an [[Obsidian]] vault) into a deployable public site.
The build is vault-agnostic. Point it at an **entry note**, give it a folder of markdown files, optionally provide a frontmatter filter, and the build crawls outward from the entry note through `[[wikilinks]]` to discover the corpus. Notes that pass the filter get rendered. Everything else stays invisible.
## What it does
- One HTML page per note, with wikilinks resolved across the corpus
- Backlinks computed automatically ("Referenced by" panel)
- Knowledge graph view (canvas-rendered force graph, zoom-aware labels, focus mode)
- Client-side search (prebuilt Lunr index)
- Per-article TOC + reading time
- Swappable themes (e.g., `default`, `paper`, `terminal`, `moss`, `stark`), each with light + dark modes
- GitHub Pages + Cloudflare Pages deploy out of the box
## Determinism contract
A note is published iff:
- It's reachable via `[[wikilinks]]` from the entry note (or is the entry note itself), AND
- It passes the frontmatter filter (default: `{ "public_note": true }`).
The build is fully deterministic. Same inputs, same output. No LLM rewriting. Dataview comment blocks are stripped. Wikilinks to notes outside the discovered corpus render as visible-but-unlinked dashed text.
## Related
- [[Obsidian Starter Kit]]
- [[LLM Wiki]]
- [[Obsidian]]
- [[Personal Knowledge Management (PKM)]]
## References
- Source code: <https://github.com/dsebastien/ai-wiki-template>
- Documentation: <https://dsebastien.github.io/ai-wiki-template>