nashsu/llm_wiki
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。
📚 A self-building personal wiki powered by LLMs
LLM Wiki reads your documents, builds a structured wiki, and keeps it current.
LLM Wiki is a cross-platform desktop application that automatically turns your documents into an organized, interlinked knowledge base. Instead of traditional RAG (retrieve-and-answer from scratch every time), the LLM incrementally builds and maintains a persistent wiki from your sources. Knowledge is compiled once and kept current, not re-derived on every query. Based on Karpathy's LLM Wiki pattern, it extends the concept into a full desktop application.
✨ Highlights
- Two-Step Chain-of-Thought Ingest: LLM analyzes first, then generates wiki pages with source traceability and incremental cache
- Multimodal Image Ingestion: extract embedded images from PDFs, generate factual captions with a vision LLM, surface them in image-aware search results with lightbox preview and jump-to-source
- Optional MinerU PDF Parsing: use MinerU cloud parsing for complex PDFs with tables, formulas, and dense layouts; the built-in local parser remains the default
- 4-Signal Knowledge Graph: relevance model with direct links, source overlap, Adamic-Adar, and type affinity
- Louvain Community Detection: automatic knowledge cluster discovery with cohesion scoring
- Graph Insights: surprising connections and knowledge gaps with one-click Deep Research
- Vector Semantic Search: optional embedding-based retrieval via LanceDB, supports any OpenAI-compatible endpoint
- Persistent Ingest Queue: serial processing with crash recovery, cancel, retry, and progress visualization
- Folder Import: recursive folder import preserving directory structure, folder context as LLM classification hint
- Source Folder Auto-Watch: detects external changes in
raw/sources/and keeps ingest/delete cleanup in sync - Deep Research: LLM-optimized search topics, multi-query web search via Tavily, SerpApi, or SearXNG, auto-ingest results into wiki
- Async Review System: LLM flags items for human judgment, predefined actions, pre-generated search queries
- Chrome Web Clipper: one-click web page capture with auto-ingest into knowledge base
- Local HTTP API + MCP Server + AI Agent Skill: built-in
127.0.0.1:19828JSON API and bundled MCP server for hybrid search, file read, graph traversal, and source rescan
💡 Why it matters
LLM Wiki shifts from on-demand retrieval to persistent knowledge compilation. Rather than re-deriving answers per query, it continuously builds a structured wiki that stays synchronized with source documents. This reduces redundancy and improves consistency across interactions.
The application bridges personal knowledge management and automated reasoning. With features like knowledge graphs, community detection, and deep research, it supports both passive consumption and active curation. Its Obsidian compatibility and extensible API make it adaptable to existing workflows.
#LLMWiki #KnowledgeBase #PersonalAI #OpenSource #TiniX