tednaleid1k downloadsKeyboard-first mind mapping. Open .limn files as interactive mind map views.
limn /lim/ verb -- to outline in clear sharp detail : delineate
A keyboard-first, offline-capable mind map progressive web app built with TypeScript, React, and SVG.
Try it: tednaleid.github.io/limn
https://github.com/user-attachments/assets/a909e45e-f35a-42d7-a943-c5e88f1b71cc
bun install
just serve # starts Vite dev server at http://localhost:5173
packages/core/ # Framework-agnostic TS library (no React, no browser APIs)
packages/web/ # React web app (rendering, input handling, persistence)
packages/obsidian/ # Obsidian plugin (opens .limn files and marked Markdown notes as mind maps)
All commands are available via just:
just # list all available commands
just install # install dependencies
just serve # start Vite dev server
just test # run all unit tests
just test-watch # run tests in watch mode
just test-file drag # run a specific test file (by name)
just lint # run ESLint
just coverage # run tests with coverage report
just check # run tests (with coverage) + lint + typecheck (CI check)
just build # build the Obsidian plugin (primary artifact)
just build-web # build the web PWA (used by the Pages deploy)
just typecheck # TypeScript type checking
You can also use bun run directly:
bun run test # vitest
bun run dev # vite dev server
bun run lint # eslint
bun run build # build the Obsidian plugin
bun run build:web # build the web PWA
; for EasyMotion jumpdata.json + assets/)All data is stored locally in the browser using IndexedDB. Nothing is sent to a server.
#local-doc=<uuid>)#data=... URL decompresses the inline document, assigns it a fresh UUID, and saves it locally#local-doc=<uuid> URL will stay in sync via BroadcastChannelCmd+S / Cmd+O to save/open .limn files for durable storage outside the browser.limn files are ZIP bundles containing data.json and an assets/ directory for images. The current format version is 1.
packages/core/src/serialization/schema.tspackages/core/src/serialization/fixtures/v1-complete.jsonpackages/core/src/serialization/migration.tsThe format uses integer versions. When a file is opened, the migration pipeline in migration.ts upgrades it from its stored version to the current version. Post-migration, the result is validated against the Zod schema.
Navigation:
| Key | Action |
|---|---|
| Arrows / hjkl | Navigate between nodes |
; |
EasyMotion: labels appear on all visible nodes, type a label to jump |
| Cmd+Enter | Open link in selected node |
| Escape | Deselect |
Node Operations:
| Key | Action |
|---|---|
| Tab | Create child node |
| Enter | Edit selected node (or create root if nothing selected) |
| Shift+Enter | Create sibling node |
| Backspace | Delete node |
| Space | Toggle collapse |
| c / Shift+c | Cycle branch color forward / backward |
Structure:
| Key | Action |
|---|---|
| Alt+Up/Down or Alt+k/j | Reorder among siblings |
| Alt+Left/Right or Alt+h/l | Indent / Outdent |
| Shift+Tab | Detach node to root |
Alt+; |
Reparent to target (EasyMotion labels appear, type to attach) |
Positioning:
| Key | Action |
|---|---|
| Ctrl+Arrows / Ctrl+hjkl | Nudge node (20px) |
| Ctrl+Alt+Left/Right / Ctrl+Alt+h/l | Resize node width or image (20px) |
| r | Reflow children to computed layout |
Text Editing:
| Key | Action |
|---|---|
| Enter | Exit edit, create sibling |
| Tab | Exit edit, create child |
| Shift+Enter | Insert newline |
| Escape | Exit edit mode |
Global:
| Key | Action |
|---|---|
| Cmd+Z / Cmd+Shift+Z | Undo / Redo |
| Cmd+C / Cmd+X / Cmd+V | Copy / Cut / Paste (see Copy and paste) |
| Cmd+S / Cmd+Shift+S | Save / Save As |
| Cmd+O | Open file |
| Cmd+Shift+E | Export SVG |
| Cmd+= / Cmd+- | Zoom in / out |
| Cmd+0 | Zoom to fit |
| Cmd+1 | Zoom to selected node |
| Shift+Arrows / Shift+hjkl | Pan canvas |
| Shift+Alt+Arrows / Shift+Alt+hjkl | Pan canvas (fine) |
| m | Open menu |
| ? | Show keyboard shortcuts |
| Ctrl+Shift+K | Toggle keystroke overlay (for demos) |
Mouse:
| Action | Effect |
|---|---|
| Click node | Select node |
| Double-click node | Enter edit mode |
| Double-click canvas | Create new root node |
| Cmd+Click link | Open link in new tab |
| Drag node | Move node (reparent when dropped on another node) |
Note: On macOS, Ctrl+Arrow keys are bound to Mission Control by default (switching desktops). To use Ctrl+Arrow nudge and resize bindings, disable these in System Settings > Keyboard > Keyboard Shortcuts > Mission Control, or use the hjkl equivalents instead.
Cmd+C copies the selected node and its descendants to the clipboard as a Markdown bullet list, so it pastes into any text editor. Cmd+X copies the same list and then deletes the node. Cmd+V turns a Markdown bullet list on the clipboard into nodes: they become the last children of the selected node, or roots when nothing is selected. Text with no bullets pastes as one node. Copy, cut, and text paste do nothing while a node is being edited.
Images go on the clipboard as ![[image.png|WxH]] embeds. A pasted embed comes back as an image only when the map already holds an image with the id the embed names; otherwise the node keeps its text and the image is dropped. Pasting an image from the system clipboard attaches it to the selected node, or to a new root when nothing is selected.
Limn is available as an Obsidian community plugin that opens .limn files as interactive mind map views. It can also show an ordinary Markdown note as a mind map.
If you want the latest unreleased build, install via BRAT instead:
tednaleid/limnBRAT will install the latest release and keep it updated automatically.
A Markdown note whose content is a bulleted list can be opened as a mind map. Each top-level bullet is a root, nested bullets are its children, and edits in the map are written back to the note as Markdown.
---
limn-plugin: true
---
- Release
- Write the notes
- Tag the build
limn-plugin: true in its frontmatter opens as a map when you click it. The commands "Create new mind map note" and "Add mind map marker to note" add the marker for you. The setting "Open notes with limn-plugin: true as" turns this off.[[wikilinks]] work as links in the map, and images are stored as ![[image.png]] embeds..limn file when you need those.- marks an open bullet and * a collapsed one. A bullet with several lines of text gets a trailing \ on every line but the last.\, an inline field on a continuation line of a bullet (a line such as due:: 2026-11-12 under the bullet's first line) gains a backslash at the end of its value, which can break queries that read it. Fields on the bullet's own line, in frontmatter, or outside the list are not affected.See OBSIDIAN-PLUGIN.md for local development setup, building, and architecture details.
Node text supports inline markdown formatting. Raw markdown is shown while editing; rendered formatting is shown in nav mode.
| Syntax | Result |
|---|---|
**bold** |
bold |
*italic* |
italic |
`code` |
code |
~~strikethrough~~ |
|
[text](url) |
clickable link (Cmd+Click or Cmd+Enter to follow) |