█

AI/TLDR

मुझे पिलाएं कॉफ़ी
मुझे एक कॉफ़ी पिलाएँ

LLM Wiki

Claude आपके दस्तावेज़, क्लिप और हाइलाइट्स से MCP के ज़रिए एक निजी wiki लिखता और संभालता है

Notes & Knowledge Basesओपन सोर्स
भाषा
Python
लाइसेंस
Apache-2.0
कवरेज
2 stories
$git clone https://github.com/lucasastorian/llmwiki.git
संक्षेप में

LLM Wiki क्या है?

LLM Wiki Claude आपके दस्तावेज़, क्लिप और हाइलाइट्स से MCP के ज़रिए एक निजी wiki लिखता और संभालता है. यह AI Productivity & Writing टूल्स की Notes & Knowledge Bases श्रेणी में आता है; ओपन सोर्स है, Python में लिखा गया है और Apache-2.0 लाइसेंस के तहत है। शुरू करने के लिए: इंस्टॉल करें.

सारांश

LLM Wiki, Andrej Karpathy के LLM Wiki आइडिया का ओपन सोर्स इम्प्लीमेंटेशन है। हर बार कच्चे दस्तावेज़ों के टुकड़ों से जवाब दोबारा निकालने के बजाय, language model आपके सोर्स एक बार पढ़ता है और उन्हें एक स्थायी, आपस में जुड़ी wiki में संकलित करता है, जिसे वह लगातार अपडेट रखता है। आप सामग्री इकट्ठा करते हैं: PDF, Word और PowerPoint फ़ाइलें, spreadsheets, Markdown नोट्स और वेब क्लिपिंग्स। फिर Claude (या Claude Code या Codex जैसा कोई भी MCP-compatible client) wiki पेज लिखता है, जिनमें footnote उद्धरण होते हैं जो उन्हीं सोर्स तक ले जाते हैं जिनसे वे बने।

The LLM Wiki web app showing a compiled wiki page titled The Precision-Exploration Conflict, with footnote citation markers, a generated two-by-two tradeoff diagram, a sidebar of Concepts, Entities and Sources, and an On this page table of contents
A compiled wiki page: prose with footnote citations back to the source papers, a generated diagram, and the concept, entity and source tree in the sidebar.LLM Wiki README ↗

प्रोजेक्ट में एक Next.js web app है, जिससे wiki और उसके मूल सोर्स ब्राउज़ किए जा सकते हैं। इसमें एक graph viewer भी है, जो दिखाता है कि concepts और entities आपस में कैसे जुड़े हैं। एक Chrome extension है, जिससे हाइलाइट्स और margin comments के साथ पेज और PDF क्लिप किए जा सकते हैं। और एक MCP server है, जो Claude को टूल्स का एक छोटा, सोच-समझकर चुना गया सेट देता है: guide, search, read, create, edit, append, delete, और एक deterministic lint pass, जो citations, dangling links, तथा orphan या stale पेज जाँचता है। पेजों में charts, SVG और Mermaid diagrams भी शामिल हो सकते हैं।

यह दो मोड में चलता है। Local मोड में आप अपनी डिस्क के किसी भी फ़ोल्डर को इंगित करते हैं: आपकी फ़ाइलें कभी मूव या बदली नहीं जातीं, और LLM Wiki केवल एक wiki/ फ़ोल्डर जोड़ता है, जिसमें सामान्य Markdown पेज होते हैं, साथ ही एक छिपा हुआ, दोबारा बनाया जा सकने वाला .llmwiki/ SQLite search index। Hosted मोड में वही operations Postgres और S3 पर चलते हैं, या तो self-hosted, या मुफ़्त llmwiki.app सर्विस पर। README में सुझाया गया workflow एक nightly Claude Routine है, जो पिछले रन के बाद जोड़ी गई हर चीज़ पढ़कर wiki में मिला देता है, ताकि knowledge base अपने आप अपडेट रहे।

यह क्या करता है

  • guide, search, read, create, edit, append, delete और lint टूल्स वाला MCP server, जिसे Claude.ai, Claude Cowork, Claude Code, Codex या किसी भी MCP client से इस्तेमाल किया जा सकता है
  • Chrome extension जो वेब पेज और PDF क्लिप करता है, हाइलाइट्स और comments के साथ, जिन्हें Claude MCP के ज़रिए पढ़ सकता है; यह hosted app या लोकल workspace, दोनों में से किसी एक को लक्ष्य बना सकता है
A web page with passages highlighted in yellow by the LLM Wiki Chrome extension, and an open comment box reading 'Implies that growth would have been flat or negative if not for Christmas' with Delete, Cancel and Save buttons
Highlights and margin comments made with the Chrome extension are saved with the clip, where Claude can read them over MCP.LLM Wiki repository screenshots ↗
  • PDF (वैकल्पिक Mistral OCR के साथ), LibreOffice के ज़रिए Word और PowerPoint, Excel को शीट-दर-शीट, साफ़ किया हुआ HTML, Markdown, text, CSV, JSON और images इनपुट के रूप में लेता है
  • wiki और उसके सोर्स पढ़ने के लिए Next.js web app, जिसमें नेटिव cross-links, concept graph viewer, charts, SVG और Mermaid diagrams हैं
  • Local मोड में filesystem ही source of truth रहता है: wiki/ में सामान्य Markdown पेज, .llmwiki/ में बना हुआ SQLite index, और एक watcher जो बाहर से हुए बदलावों को दोबारा index करता है
  • citation resolution, dangling links, orphan और stale पेज, और frontmatter consistency के लिए deterministic lint

शुरू करें

Local मोड के लिए Python 3.11+ और Node.js 20+ चाहिए। LibreOffice वैकल्पिक है (Word और PowerPoint से text निकालने के लिए), और इसी तरह बेहतर-गुणवत्ता वाले PDF OCR के लिए MISTRAL_API_KEY भी वैकल्पिक है। Hosted वर्शन को इसके बजाय llmwiki.app पर आज़माया जा सकता है।

इंस्टॉल करें

Repository clone करें और Python तथा web dependencies इंस्टॉल करें (macOS / Linux के लिए; README में Windows के लिए PowerShell समकक्ष कमांड भी दिए गए हैं)।

bashbash
git clone https://github.com/lucasastorian/llmwiki.git
cd llmwiki
python -m venv .venv && source .venv/bin/activate
pip install -r api/requirements.txt -r mcp/requirements.txt
cd web && npm install && cd ..

इसे अपनी फ़ाइलों वाले फ़ोल्डर की ओर इंगित करें

डिस्क पर कोई भी ऐसा फ़ोल्डर इस्तेमाल करें जिसमें आपके दस्तावेज़ हों, या कोई खाली फ़ोल्डर। इससे workspace initialise होता है, फ़ोल्डर index होता है, API और web app शुरू होते हैं, और localhost:3000 खुल जाता है। Local मोड केवल 127.0.0.1 पर सुनता है।

bashbash
./llmwiki open ~/research

MCP के ज़रिए Claude से कनेक्ट करें

Workspace के लिए MCP config प्रिंट करें और JSON को claude_desktop_config.json (Claude Desktop) या .claude/settings.json (Claude Code) में पेस्ट करें। एक workspace का मतलब है MCP server की एक entry। फिर Claude से guide पढ़ने, आपके सोर्स ingest करने और wiki बनाना शुरू करने को कहें।

bashbash
./llmwiki mcp-config ~/research

इसे खुद-ब-खुद अपडेट होने वाला बनाएं

Claude Routine (या Desktop scheduled task) को README के prompt जैसे prompt के साथ हर रात चलने के लिए सेट करें, ताकि नए अपलोड, क्लिप और हाइलाइट्स आपको याद रखे बिना wiki में जुड़ जाएँ।

टेक्स्टटेक्स्ट
Read the guide. Find everything added to the workspace since your last run — new sources, clips, and highlights. For each one, read it and update the wiki: write new pages where they're warranted, fold new material into existing pages, and fix any cross-references or citations it affects.
The LLM Wiki Chrome extension popup over a web page, with the site name, an editable Title field, a Knowledge Base dropdown set to Investing, a + New button and the message 'This page is already in LLM Wiki.'
The clipper popup: choose a title and a knowledge base, and the page lands in the same workspace Claude reads.LLM Wiki repository screenshots ↗

ब्राउज़र से क्लिप करें

LLM Wiki Chrome extension इंस्टॉल करें, उसका toggle Local पर करें ताकि वह चल रहे workspace से http://localhost:8000 पर बात करे, एक destination फ़ोल्डर चुनें (डिफ़ॉल्ट /webclipper/) और पेज, हाइलाइट्स तथा comments सेव करना शुरू करें। अगर index को कभी दोबारा बनाने की ज़रूरत पड़े, तो `./llmwiki reindex ~/research` आपकी सोर्स फ़ाइलों से उसे फिर से तैयार कर देता है।

कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।

कब इस्तेमाल करें

  • इसे तब इस्तेमाल करें जब आप बहुत पढ़ते हैं और चाहते हैं कि उन सोर्स की उद्धरण वाली निजी wiki बने, जो अपने आप अपडेट हो, बजाय बिना जुड़े नोट्स के ढेर के
  • इसे तब इस्तेमाल करें जब आप Claude या Codex को अपनी पढ़ाई, हाइलाइट्स और comments से बना context layer देना चाहते हैं
  • इसे तब इस्तेमाल करें जब कोई टीम संस्थागत जानकारी को सादे Markdown पेजों में रखना चाहती है, जिन्हें एजेंट साझा दस्तावेज़ों से अपडेट रखे
  • इसे तब इस्तेमाल करें जब आप Karpathy के LLM Wiki pattern को तैयार web UI, MCP server और browser clipper के साथ चाहते हैं, न कि prompts के बस एक फ़ोल्डर के साथ

How LLM Wiki compares

LLM Wiki alongside other open-source notes & knowledge bases tools AI/TLDR tracks, ranked by GitHub stars.

टूलस्टारयह क्या करता है
SiYuan★ 47.5kएक सेल्फ-होस्टेड, ब्लॉक-स्तर का नॉलेज बेस, जिसे आप क्वेरी कर सकते हैं, स्क्रिप्ट कर सकते हैं और किसी LLM से जोड़ सकते हैं
notebooklm-py★ 20.5kPython, CLI या agent से Google के Gemini Notebook को चलाएं
Smart Connections★ 5.6kस्थानीय embedding model के साथ Obsidian के अंदर सिमेंटिक सर्च और संबंधित नोट्स दिखाना
MineContext★ 5.6kएक लोकल-फ़र्स्ट डेस्कटॉप ऐप, जो आपकी स्क्रीन पर नज़र रखता है और ज़रूरी बातें फिर से सामने लाता है
OpenKnowledge★ 5kज्ञान आधार के लिए local-first markdown IDE, जिसे इंसान और एजेंट दोनों एडिट करते हैं
ReadAny★ 3kलोकल-फ़र्स्ट ई-बुक रीडर, जो आपकी लाइब्रेरी को ऑन-डिवाइस वेक्टर स्टोर में इंडेक्स करता है और फिर जिस किताब को आप पढ़ रहे हैं, उसके बारे में सवालों के जवाब देता है
LLM Wiki Compiler★ 2.3kकच्चे स्रोतों को ऐसे interlinked markdown wiki में बदलें जिसके हर उद्धरण को वापस स्रोत तक ट्रेस किया जा सके
LLM Wiki★ 1.8kClaude आपके दस्तावेज़, क्लिप और हाइलाइट्स से MCP के ज़रिए एक निजी wiki लिखता और संभालता है