explaingit

nashsu/llm_wiki

7,238TypeScriptAudience · generalComplexity · 3/5Setup · moderate

TLDR

A desktop app that reads your documents once and automatically builds a persistent, interlinked wiki from them using a language model, with Obsidian-compatible output, a built-in chat interface, and a Chrome extension for clipping web pages.

Mindmap

mindmap
  root((llm_wiki))
    What it does
      Builds wiki from docs
      Interlinked pages
      Persistent knowledge
    Features
      Deep research mode
      Chrome extension
      Obsidian compatible
    Use Cases
      Research notes
      Document archive
      Personal knowledge base
    Tech
      TypeScript
      LLM processing
      Vector search
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Drop a folder of research papers, notes, or PDFs into llm_wiki and get an automatically structured, interlinked wiki with source links.

USE CASE 2

Open the generated wiki folder directly in Obsidian to browse your personal knowledge base with a visual graph view.

USE CASE 3

Use the Chrome extension to clip web articles into your knowledge base without switching away from the browser.

USE CASE 4

Run the deep research mode to pull web search results into your wiki automatically and link them to existing entries.

Tech stack

TypeScript

Getting it running

Difficulty · moderate Time to first run · 30min

Requires an LLM API key to process documents into wiki pages.

No license information was mentioned in the explanation.

In plain English

LLM Wiki is a cross-platform desktop application that reads your documents and automatically builds a structured, interlinked knowledge base from them. Rather than the common approach where an AI searches your documents and answers questions from scratch each time, this tool works differently: it processes your documents once, generates organized wiki pages from them, and keeps those pages updated as you add more material. The result is a persistent personal knowledge base that grows and improves over time. The application is based on a methodology by Andrej Karpathy for building personal wikis with language models. Documents you add are stored as raw sources, and the LLM generates wiki pages in a two-step process: first analyzing the content to identify key entities, concepts, and connections to existing wiki entries, then writing the actual pages. Each page includes links back to the source documents it came from, and an incremental cache skips re-processing files whose content has not changed. The desktop interface uses a three-column layout: a file and knowledge tree on the left, a chat panel in the center, and a preview panel on the right. There are dedicated views for search, a knowledge graph, a lint checker, a review queue for items flagged for human judgment, and a deep research mode that runs web searches and pulls results back into the wiki automatically. The generated wiki files are compatible with Obsidian, a popular note-taking application that uses the same wiki-link syntax, so the folder can be opened directly in Obsidian without any conversion. Other features include extracting and captioning images from PDFs, optional vector-based semantic search, a Chrome extension for clipping web pages into the knowledge base, and automatic detection of new or changed files in your source folder.

Copy-paste prompts

Prompt 1
I have 50 research papers in a folder, how do I process them all in llm_wiki to produce a structured, interlinked wiki?
Prompt 2
How do I open the wiki files that llm_wiki generates directly in Obsidian so I can use Obsidian's graph view?
Prompt 3
Set up the Chrome extension for llm_wiki so I can clip web articles from my browser directly into my knowledge base.
Prompt 4
How does llm_wiki's incremental cache work, will it reprocess a file I have already added if I modify it slightly?
Open on GitHub → Explain another repo

← nashsu on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.