LLM Wiki is a cross-platform desktop application that turns your documents into an organized, interlinked knowledge base — automatically. Instead of traditional RAG (retrieve-and-answer from scratch every time), the LLM incrementally builds and maintains a persistent wiki from your sources。
TypeScript
export interface WikiProject {
/** Stable UUID, persisted inside the project at .llm-wiki/project.json.
* Survives the user moving or renaming the project folder. */
id: string
name: string
path: string
}
export interface FileNode {
name: string
path: string
is_dir: boolean
children?: FileNode[]
}
export interface WikiPage {
path: string
content: string
frontmatter: Record<string, unknown>
}