DEV Community

Cover image for I turned Karpathy's LLM Wiki into a native GNOME app (and it works offline)
Francesco Bianco
Francesco Bianco

Posted on

I turned Karpathy's LLM Wiki into a native GNOME app (and it works offline)

In April, Andrej Karpathy posted a short "idea file" called LLM Wiki. The pitch: stop making your model re-read raw documents on every question. Let it build and maintain a wiki from your sources instead, a persistent Markdown knowledge base that gets better every time you add something.

The internet went wild. Within a week there were thousands of repos implementing it, and two of them crossed 20,000 GitHub stars.

There was one thing missing for me: none of them felt at home on a Linux desktop. So we built gknowledge: Karpathy's LLM Wiki as a native GNOME app.

gknowledge

GitHub logo openapi / gknowledge

🐧 A native GNOME knowledge workstation that turns documents into evolving AI-assisted knowledge bases.

gknowledge

English · 简体中文 · Italiano

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 planned PRs welcome

gknowledge in action: drop in AI research papers, get a linked wiki, ask a question and get an answer with citations

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+ (falls back to a per-user install on other distributions):

curl -fsSL https://github.com/openapi/gknowledge/releases/latest/download/install.sh | bash
Enter fullscreen mode Exit fullscreen mode

Or download the package and install it with apt, which also pulls GTK 4, Libadwaita and PyGObject:

Download .deb

wget https://github.com/openapi/gknowledge/releases/latest/download/gknowledge_all.deb
sudo apt install ./gknowledge_all.deb
Enter fullscreen mode Exit fullscreen mode

Then open gknowledge from the app grid. To remove it: sudo apt remove gknowledge.

Other distributions, from source, and release builds
  • Fedora, Arch and others: install…

What it does, in 30 seconds

  1. Drop in your documents. Markdown, text, PDF, HTML. Papers, notes, specs, whatever you are trying to understand.
  2. gknowledge builds a linked wiki. Every source gets a summary page; the people, systems and ideas it talks about get their own pages; everything is cross-linked with [[wikilinks]] and every page records where it came from.
  3. Ask questions. Answers come from the wiki, with numbered citations you can click to open the page they came from.

A generated wiki page with clickable links

A cited answer

The whole knowledge base is a plain folder of Markdown files with YAML frontmatter. Open it in Obsidian, grep it, put it in git. No lock-in, no sync service.

Why another LLM wiki?

Because the existing ones are great, but they are web apps in a desktop costume. gknowledge makes different trade-offs:

  • 🐧 Native GTK 4 + Libadwaita. No Electron, no Tauri, no embedded browser. It follows the GNOME HIG, uses a Nautilus-style sidebar, and respects your light/dark theme and accent colour.
  • 🔌 Works with no model at all. A built-in offline engine ingests documents and answers with extracts. Plug in a model when you want real synthesis.
  • 🔑 Bring your own brain, without an API key. gknowledge supports OpenAI's new Sign in with ChatGPT for local, open-source apps: you log in with your own Plus or Pro plan, and usage is charged to your plan. Nobody resells tokens. Ollama, LM Studio and any OpenAI-compatible endpoint work too.
  • 🧹 No wiki spam. LLM wikis love to generate hundreds of one-line stub pages. gknowledge only creates a page when there is real content, merges duplicates ("Retrieval-Augmented Generation (RAG)" and "retrieval augmented generation" are the same page; "Kasparov" links to "Garry Kasparov"), and keeps minor names as mentions until a second source cites them. On our sample of six AI papers that took the wiki from 114 pages to 64, all of them with an actual description.
  • 🤖 Agents welcome. gknowledge ships an MCP server, so Claude Code, Codex or Cursor can search, read, ask and add sources to the same wiki you browse in the app:
claude mcp add gknowledge -- gknowledge-mcp ~/Knowledge/my-project
Enter fullscreen mode Exit fullscreen mode

How it compares

All of these are excellent open-source projects and worth your time. Here is where gknowledge sits (GitHub numbers as of October 2026):

gknowledge LLM Wiki (nashsu) Tolaria OpenKnowledge Reor Khoj
UI native GTK 4 Tauri Tauri Electron Electron web, Electron
Works with no model yes no AI optional agent-driven local model self-host
Markdown vault yes yes yes yes yes reads your files
MCP server yes yes yes yes no not checked
License MIT GPL-3.0 AGPL-3.0 GPL-3.0 AGPL-3.0 AGPL-3.0
Status new ~20.5k ⭐ ~20k ⭐ ~4.5k ⭐ archived ~37.7k ⭐

If you love LLM Wiki's knowledge graph or Tolaria's git-first editor, keep using them. If you live on GNOME or Ubuntu and want something that feels like Files or Text Editor, that is exactly the gap gknowledge is trying to fill.

Try it

On Ubuntu 24.04+ or Debian 13+:

curl -fsSL https://github.com/openapi/gknowledge/releases/latest/download/install.sh | bash
Enter fullscreen mode Exit fullscreen mode

Or grab the .deb from the latest release. On other distros the installer puts it in ~/.local.

Want to hack on it? git clone, then make start: it opens a demo project with six classic AI papers already ingested and restarts the app every time you save a file.

What's next

  • Lint: find contradictions, orphans and stale pages, like Karpathy describes.
  • A knowledge graph view.
  • Faster parallel ingestion and streaming answers.
  • Flatpak, a PPA and a Snap.

It is early (v0.2), MIT licensed and moving fast. Full disclosure: I'm one of the people building it, so I'd genuinely love to hear what would make you switch, and what feels wrong. Issues and PRs are very welcome.

If this is the kind of tool you want to exist on the Linux desktop, a ⭐ on GitHub really helps other GNOME users find it.

Top comments (0)