FOSSFEEDWhere activity matters more than stars. Discover Fire Pit Noted Submit a project
← All articles

LLM Wiki v2 Turns Your Documents Into a Self-Hosted AI Knowledge Base

LLM Wiki v2 is a self-hosted knowledge management tool that uses AI to organize documents into Markdown notes, answer questions with citations, and provide persistent memory for AI assistants.

There are plenty of tools that let you chat with your documents, but fewer that leave you with something useful when the AI isn't involved. LLM Wiki v2 takes a different approach by organizing your documents into a readable collection of Markdown files. Instead of relying entirely on a vector database, it builds a structured wiki that you can browse, edit, and maintain yourself.

A Wiki That Organizes Itself #

LLM Wiki v2 is an open-source, self-hosted knowledge management application that uses language models to turn documents into organized notes. Upload files through its web interface, and the application analyzes their contents, creates appropriate folders, and links related information together.

Behind the scenes, it uses a system called CROW (Classifier-Routed Organization of LLM Wikis). A smaller classifier handles decisions about where information belongs, while a language model writes and updates the notes. This separation is intended to reduce the number of expensive LLM calls as your collection grows.

When you ask a question, the application searches its organized knowledge base and produces an answer with citations pointing back to the relevant notes.

Core Features #

  • Automatic document organization: Converts PDF, Markdown, text, Word, PowerPoint, Excel, and OpenDocument files into structured notes.
  • AI-powered questions: Ask questions about your documents and receive answers with clickable citations.
  • Local LLM support: Works with Ollama, OpenRouter, OpenAI, Gemini, and compatible model servers.
  • Visual knowledge graph: Explore folders, notes, and relationships through an interactive visualization.
  • MCP integration: Provides persistent knowledge and memory for Claude Code, Codex, and other MCP clients.
  • Markdown storage: Keeps the wiki in ordinary files that can be edited, backed up, or version-controlled with Git.

Self-Hosting LLM Wiki v2 #

The application can run directly through Python 3.11 or newer, or inside Docker. For a Docker deployment, clone the repository, configure the included .env.example file, and start the stack with Docker Compose.

The web interface runs on port 8000 by default and provides document uploads, search, a folder browser, and model configuration. There's also a command-line interface and HTTP API for integrating it into existing workflows.

What interests me most is the decision to keep everything in readable Markdown. You aren't left with an opaque database that only the application understands. You can inspect generated notes, correct mistakes, and use the files elsewhere.

Things to Note #

Running Ollama doesn't automatically make the entire setup local. CROW's classifier uses a remote provider by default, although local alternatives are supported. Scanned PDFs require OCR beforehand, and older Office formats aren't supported.

The HTTP API has no built-in authentication, so avoid exposing the service directly to the internet without appropriate protection.

The project is licensed under AGPL-3.0-or-later, with additional licenses covering bundled components.

You can find the source code, documentation, and latest releases on GitHub.

Comments 0

Join the conversation.

Write a comment

No comments yet. Be the first to comment.

Leave a comment

Anonymous comments are reviewed before publication. Sign in to comment as a member.

Navigation