
gknowledge
io.github.openapi由 GitHub 帳號 openapi 發布v0.3.0更新於 Nov 2, 2026
Search, read and grow a Karpathy-style LLM wiki of linked Markdown pages, with cited answers.
概覽
針對本機 Markdown 知識 wiki 的 MCP 伺服器,讓助理能搜尋、閱讀、提問並擴充帶引用的互連頁面。
- 可以做什麼
- 依關鍵字或類型搜尋並列出 wiki 頁面
- 讀取頁面及其來源與反向連結
- 依據 wiki 提問並取得帶引用的回答,可選擇存回 wiki
- 匯入檔案並將其納入為新來源
- 查看近期活動,了解最近有哪些變更
- 適用情境
- 當你維護一個 gknowledge 的 Markdown 專案資料夾,並希望 Claude Code、Codex、Cursor 等代理直接在同一份 wiki 上工作、而非每次重讀原始文件時適用。適合對自有文件進行增量式、可追溯的知識累積。
- 執行需求
- 以本機 stdio 程序執行,透過 uvx 從 PyPI 套件 gknowledge-mcp 啟動,並需指定專案資料夾路徑。桌面應用主要面向 Linux/GNOME,README 提供 APT 與 Flatpak 安裝方式。離線引擎不需 API 金鑰,模型供應者為選用項目。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 gknowledge,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
gknowledge
English · 简体中文 · Italiano · Français · Português (BR) · Español
Karpathy's LLM Wiki as a native GNOME app.
Drop in your documents. Get a linked wiki that an LLM keeps up to date.
A native GNOME app. Offline by default, plain Markdown on disk, Obsidian-compatible.
Bring your own brain: a local model, any OpenAI-compatible endpoint, or your own ChatGPT plan.
[License: MIT] [GTK 4] [Libadwaita] [Ubuntu 24.04+]
[CI] [Stars] [Issues] [Last commit] [Latest release] [Python 3.10+] [Offline first] [No API key needed] [Obsidian compatible] [Karpathy LLM Wiki pattern] [Sign in with ChatGPT] [Ollama] [Flatpak] [PRs welcome]
Real output of the offline engine on six AI papers (data/demo/papers), no API key.
Regenerate with make demo-svg.
Install
One line, on Ubuntu 24.04+ and Debian 13+. It adds the signed gknowledge APT repository, so updates arrive with apt upgrade (other distributions get a per-user install):
Or add the APT repository yourself. apt also pulls GTK 4, Libadwaita and PyGObject:
On any distribution, with Flatpak (the GNOME runtime comes from Flathub):
Both repositories are described at openapi.github.io/gknowledge.
Then open gknowledge from the app grid. To remove it: sudo apt remove gknowledge (or flatpak uninstall io.github.openapi.Gknowledge).
Other distributions, from source, and release builds
- Fedora, Arch and others: install PyGObject, GTK 4 and Libadwaita with your package manager, then run the one-line installer above. It installs into
~/.localwithout root. - From source:
git clone https://github.com/openapi/gknowledge && cd gknowledge && make install. - Single files: every version's
.deband Flatpak bundle is on the Releases page, e.g.sudo apt install ./gknowledge_all.debafter downloading gknowledge_all.deb.
Why gknowledge
If you have used LLM Wiki, Tolaria, OpenKnowledge, Reor or Khoj, you already know the loop: ingest sources, let the model build and maintain a wiki, then ask questions against it. gknowledge does the same thing as a real GNOME application.
- Native, not a web view. GTK 4 and Libadwaita, built to follow the GNOME HIG. No Electron, no Tauri, no browser engine.
- Works with no account. A built-in heuristic engine ingests and answers offline. Add a model when you want better synthesis.
- Your data stays yours. Markdown with YAML frontmatter plus a readable SQLite index. Open the folder in Obsidian or any editor.
- Cited, reviewable, incremental. Every generated page records its sources, answers cite pages, and a review queue keeps you in control.
The workflow you already know
See ROADMAP.md for dates and TODO.md for the backlog.
Karpathy's LLM Wiki, native on GNOME
In April 2026 Andrej Karpathy described the LLM Wiki pattern: instead of re-reading raw documents on every question, an LLM builds and maintains a persistent wiki that compounds over time. gknowledge implements it as a desktop app.
What we kept
- Three layers: immutable
sources/, the generatedknowledge/wiki, and settings that tell the engine how to work. - The operations: ingest (read a source, update the pages it touches) and query (answer from the wiki, with citations). Lint is next.
index.mdas the catalogue andlog.mdas the append-only history.- Plain Markdown with
[[wikilinks]]and YAML frontmatter, so the folder opens in Obsidian. - The human curates, the model maintains.
What we changed and added
- A native app instead of an idea file. GTK 4 and Libadwaita, with sources, wiki, assistant and review in one window.
- Works with no model at all. An offline engine ingests and answers; a model makes it better.
- Bring your own brain. Your ChatGPT plan through Sign in with ChatGPT, Ollama, or any OpenAI-compatible endpoint.
- Two-step ingest with provenance. Analysis first, then pages; every page records its sources.
- No empty pages, no duplicates. Pages are created only with real content, names are merged across sources ("Kasparov" and "Garry Kasparov"), minor names stay as mentions until a second source cites them.
- A review queue for what the model is unsure about.
- An MCP server, so Claude Code, Codex or Cursor can search, read and grow the same wiki.
Use your wiki from Claude Code, Codex or Cursor
gknowledge ships an MCP server. Point any agent at a project folder:
For Cursor or other clients, add this to the MCP configuration:
Try it from source
make start also restarts the app whenever you edit the source, which makes it the fastest way to hack on gknowledge. Install it for daily use with make install.
Bring your own brain
Nothing is sent anywhere unless you pick a provider that is not offline.
How it compares
Details and history of each project are in DISTRIBUTING.md.
gknowledge is an alternative to…
gknowledge sits at the intersection of LLM-powered knowledge bases, local-first note tools, and document RAG systems. If you have used any of the tools below, you already understand the shape of the problem — gknowledge addresses it as a native GNOME/GTK application that is local-first, provider-agnostic, and usable fully offline (no API key required, thanks to a built-in heuristic extraction engine).
LLM wiki / auto-knowledge-base builders (the closest peers, several studied in NOTES.md):
- LLM Wiki (
nashsu/llm_wiki) — Tauri desktop app implementing Karpathy's incremental "LLM builds and maintains a wiki" pattern - Tolaria — files-first, git-first Markdown knowledge base with AI-assisted editing
- WeKnora (Tencent) — enterprise RAG + agents + auto-wiki framework
- OpenKnowledge (Inkeep) — WYSIWYG Markdown editor with agent/MCP integrations for LLM wikis
- Reor — local-first AI note-taking that auto-links related notes
- Khoj — self-hostable AI "second brain" over your documents
Not a peer: Google NotebookLM offers a similar cited-notebook experience but is closed-source and cloud-only.
Document RAG / "chat with your knowledge" engines:
Local-first / networked-thought note tools (which gknowledge complements with automated ingestion and provenance):
- Obsidian (+ Smart Connections / Copilot plugins), Logseq, SiYuan, Trilium Notes, Zettlr, Foam, Dendron, Joplin, Notion, Tana, Capacities, Heptabase, RemNote
Document / reference managers with growing AI features:
How gknowledge differs
- Native to GNOME, not Electron/Tauri or web-first — GTK 4 + Libadwaita, HIG-aligned, Flatpak-friendly.
- Offline-first and provider-agnostic — a local heuristic engine ships in the box; OpenAI-compatible endpoints (OpenAI, Ollama, LM Studio, vLLM, OpenRouter, …) are optional, swappable, and configured per project.
- Inspectable, user-owned format — knowledge is plain Markdown with YAML frontmatter (Obsidian-compatible) plus a readable SQLite index; nothing is locked behind a sync service.
- Incremental, not stateless RAG — sources are ingested once into a persistent, cross-linked knowledge space with provenance, rather than re-retrieved from scratch on every question.
- Human-in-the-loop — generated content is clearly marked and a review queue keeps you in editorial control.
Project docs
ROADMAP.md— milestones and the features we are borrowing from peersTODO.md— actionable backlogDISTRIBUTING.md— positioning and distribution study of comparable projects (Italian)CONTRIBUTING.md— how to contributedocs/DESIGN.md— the original product and design documentCHANGELOG.md— what changed in each release
License
MIT. Contributions are welcome, see CONTRIBUTING.md.
Star history
[Star history]If gknowledge is useful to you, a star helps other GNOME users find it.
來源:README.md,提交 d946b2f
工具
0版本歷史
2- v0.3.0最新Oct 19, 2026
- v0.2.2Oct 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
