You use VS Code for code and Obsidian for notes. Moonkale is one app that does both — and something neither does: it treats everything you open as one graph. This page is for you; it stays away from the internals (those are behind Overview when you want them).
The four ideas
1. Folders and databases are the same kind of thing. In VS Code you open a folder; in Obsidian you open a vault. In Moonkale you open sources: a folder, but also a SQLite/DuckDB file, a CSV directory, a graph database. Each shows up in the Sources panel with its own colour and icon, and each contributes to the same graph. You can have several open at once — two repositories, two vaults you are merging — and see them together.
2. The graph is the point, not a feature. Obsidian’s graph shows notes and links. Moonkale’s shows files and the functions, structs and modules inside them, and the wiki-links between notes, and the tables of a database — all connected. The Graph panel is a real renderer (GPU, 100 000 nodes), with a Local mode around the file you are in and a 3D mode with one plane per kind of thing. Click a node: it opens.
3. Your vault stays your vault. Notes are plain markdown with Obsidian’s [[wiki-links]], [[note#heading|alias]], front matter and $…$ / $$…$$ KaTeX. Open the same folder in Obsidian tomorrow; nothing was changed behind your back. What Moonkale adds lives in one hidden folder, .moonkale/, that you can delete.
4. Everything is an extension, and the agent is part of the app. The editors, the terminal, git, the graph — each is an extension you can switch off in the Extensions panel (the puzzle icon). The Agent panel is a chat with an LLM that can use your sources: list them, read files, query the graph and the databases, search — and, only with your click on Allow, edit files. It works with your own keys (Anthropic, OpenAI-compatible, Ollama) or with Claude Code on your subscription, no key — a Log in button in Settings runs its browser sign-in. You can save several agents and run several sessions at once; their history stays in the folder.
Coming from VS Code
| you are used to | in Moonkale |
|---|---|
Ctrl+Shift+P palette, Ctrl+P quick open | the same keys, same idea |
| the activity bar on the left | the same: Files, Search, Links, Git, History, Agent, Terminal, Graph; Settings, Extensions and People at the bottom |
| the editor | CodeMirror by default (language servers, completion, rename, references, diagnostics) — you point Moonkale at the same rust-analyzer, pyright, clangd… on your PATH; a second, Rust-built editor with tree-sitter colours for Lean, Nix and Typst too, one click away (Rust in the toolbar) |
| the integrated terminal | Ctrl+`; on a remote folder the shell runs on the remote machine |
| Source Control | the Git entry: stage, commit, diffs, and the history as a graph |
| Remote-SSH | File → Open Remote Folder…: your system ssh (keys, config aliases, passwords typed in the terminal tab), the folder, its terminal, git and language servers run on the other machine, the editor here |
| Settings JSON | Settings panel with user and workspace scopes (.moonkale/settings.json in the folder); each extension’s on/off switch and settings sit under the extension in the Extensions panel |
| extensions marketplace | none yet — built-in extensions, plus wasm modules you drop into a folder (Extension Catalogue) |
Differences you will notice: no debugger, no tasks, no multi-cursor in the Rust editor, and the language-server features exist in the CodeMirror editor only.
Coming from Obsidian
| you are used to | in Moonkale |
|---|---|
| the editor (live preview) | Rich mode (WYSIWYG, the default for .md) or Source mode (a code editor with [[ completion); the buttons are above the note | |
| [[links]], backlinks, unresolved links | the same links; Links in the activity bar shows backlinks; unresolved targets are dashed and a click creates the note |
| the graph view | the Graph panel — with the code and the databases in it too, not only notes |
| properties / front matter | a Properties bar above a rich note; the YAML is edited there, the source is untouched |
| MathJax | KaTeX, inline and block, with your .moonkale/katex.json macros |
| community plugins | extensions (fewer, mostly built in); Obsidian’s plugins keep working on the same vault in Obsidian |
| Sync / mobile | no sync of its own (use git, Syncthing, or Obsidian Sync on the same folder); an Android app exists and can connect to a Moonkale server running on your desktop |
Differences you will notice: no canvas, no daily notes, no templates plugin, fewer themes; tabs, Mermaid and TikZ in notes are on the list, not done (Markdown Diagrams and Math).
A first session (ten minutes)
- Install — Install. Start
moonkale. - File → Open Folder… — pick a repository or a vault. The Sources panel fills (and follows changes made on disk from then on); the status bar says
index: N files · links · symbolswhen the graph is ready. - Click Graph (bottom-left). Whole shows everything; Local shows two hops around the file you have open; 3D for the layered view. Scroll to zoom, drag to pan, click a node to open it.
- Open a
.mdnote: you are in Rich mode. Type[[— completion lists the notes. Type$\int_0^1$— it renders. The Properties bar holds the front matter. - Open a
.rs/.py/.jlfile: CodeMirror with the language server if you have one installed (the status bar says what it found). Try Rust in the toolbar for the other editor. - Agent (right): ask “what does this folder contain?” — the mock provider answers offline; in Settings → Agents add an agent: Claude Code (subscription; Log in opens the browser) or a provider with a key stored as a secret (never in settings). New starts a second session while the first works.
- Terminal (
Ctrl+`): a shell in the folder. Ctrl+click apath:linein its output to open the file. - Ctrl+Shift+F searches the folder — keyword search always; semantic search when an embedding model is configured.
What to expect
Moonkale is at version 0.1: usable daily by its author, rough at the edges. Things that are solid: opening folders and databases, the graph, the rich editor with wiki-links and KaTeX, CodeMirror with language servers, git, history, the agent, remote folders over SSH. Things that are not there: a debugger, a marketplace, sync, most of Obsidian’s plugin ecosystem, signed Windows/macOS builds. When something is wrong, say so — Feedback says where it goes (the issue forms label it for you), and the Problem Log is where every reported problem ends up with its fix.
Next: Install · Feedback (how to report anything) · the Extension Catalogue (what each extension does and where it runs) · Remote and Server Modes (working on another machine) · Overview (how it is built).
Code graph cache
For an existing folder, files remain the source of truth. The status bar shows Code graph: Sophia cache. If the cache is unavailable, it says Code graph: in-memory index (fallback: …) and gives the reason. Search stays on the in-memory index in both cases.
Settings → Code graph source offers Automatic and In-memory index; this
choice is saved with your other user or workspace settings. Run Check the
cache from Ctrl+Shift+P to compare it with the current files. It reports
same, or the differing keys and a rebuild; problems also go to the runtime
log. Deleting the derived cache loses no authored code.
Choose your input layout
Settings → Keybindings offers Moonkale, VS Code, Obsidian and Left hand +
mouse. Your own overrides stay above the chosen preset. F1 shows the current
bindings and mouse map; holding Ctrl/Cmd shows key tips on visible controls.
Ctrl below means Cmd on a Mac. These are defaults; F1 reflects your overrides.
| Action | Moonkale / VS Code | Obsidian |
|---|---|---|
| Go to File | Ctrl+P | Ctrl+O |
| Command palette | Ctrl+Shift+P | Ctrl+P |
| Open Folder | Ctrl+O | Ctrl+Alt+O |
| Save | Ctrl+S | Ctrl+S |
| Search workspace | Ctrl+Shift+F | Ctrl+Shift+F |
| Go to definition | F12 | F12 |
| Find references | Shift+F12 | Shift+F12 |
| Toggle comment | Ctrl+/ position | Ctrl+/ position |
| Toggle side bar | Ctrl+B | Ctrl+B |
| Toggle bottom panel | Ctrl+J | Ctrl+J |
Obsidian also gives Ctrl+E for Markdown Source/Rich. Punctuation follows the US physical key position: for example, the comment shortcut is Ctrl+- on a German keyboard. Labels follow your layout when the platform provides it; otherwise Settings explains the US-label fallback.
A five-button mouse gives back/forward through document and graph-camera visits. Middle-click opens files and supported graph/link/reference targets in a background tab, closes a tab, or pans a canvas. In Go to File, Alt+Enter opens in background; the Explorer context menu offers the same action. The left-hand preset keeps WASD/QE/F and Space near the mouse hand’s partner; its keys act only on the focused canvas or table. See Input Layouts.
To use extra gamer-mouse buttons, map them to F13–F24 in Piper or input-remapper on Linux, or the mouse vendor’s software on Windows/macOS. Focus the Test a key or button field in Settings to check the mapping, then assign that F-key to a command in the binding editor. The field observes only its own input. Existing defaults include F14 palette, F16 graph scope, F17 definition, F18 references, F19 Run/Generate and F22 split right. F-keys reserved for features not built yet, and F23/F24, remain free.