Repository navigation
Releases
v1.2.0
Better out of the box on Linux, and Tolaria vaults are found wherever Tolaria keeps them.
Try the live demo on nine fictional vaults, with nothing to install.
Changes
- Tolaria's vault list on every system. Tolaria keeps its list of vaults under the XDG config folder (
~/.config/com.tolaria.app) on Linux and macOS, and falls back to the system folder (Application Support on macOS,%APPDATA%on Windows). Brain Graph used to read only the old macOS location, so on Linux it never found Tolaria's vaults. It now checks every location and uses the most recently written list. - Agent hooks find Node.
install-hooksrecords the full path of the Node that runs it, so the hook also works from desktop apps and with version managers such as nvm. If that Node is removed later, the hook falls back tonodeon the PATH. - No crash without a browser opener. On a server, in WSL or on a minimal Linux without
xdg-open, Brain Graph prints the address instead of stopping. - Start at login on Linux. The README has a systemd user service recipe next to the macOS one.
Update the hook
Hooks installed with an earlier version keep working. To switch to the new command that records Node's path, run once:
npx github:mfoll/brain-graph#v1.2.0 install-hooksInstall
Needs Node.js 20.19 or newer.
npx github:mfoll/brain-graph#v1.2.0 ~/path/to/vaultv1.1.0
Link trails: when an agent goes from one note to a linked one, a dot runs along that link and the link glows for a few seconds, so you can follow its path through the vault.
Try the live demo and press Replay agent to see them.
Changes
- Link trails. Agents report only which notes they read, so the map infers the link: when a session reads a note, the most recent note the same session read in the last two minutes that links to it is where it came from. Trails follow every link kind, including links in the note text that the map hides by default.
- Sessions kept apart. The agent hook now passes the session ID Claude Code and Codex give it, so two sessions running at once draw separate trails.
- Replay agent in the static demo draws trails too, and the README animation shows them.
Update the hook
If you installed the agent hooks with v1.0.0, run this once so the hook sends the session ID. It replaces Brain Graph's own hook entry, keeps a backup of each settings file and leaves other hooks alone:
npx github:mfoll/brain-graph#v1.1.0 install-hooksInstall
Needs Node.js 20.19 or newer.
npx github:mfoll/brain-graph#v1.1.0 ~/path/to/vaultv1.0.0
First public release of Brain Graph: an interactive map of a Markdown vault whose notes have a type and link to each other through frontmatter, as in Tolaria and the Second Brain template. It reads the folder directly and never writes to it.
Try the live demo on nine fictional vaults, with nothing to install.
Highlights
- Notes coloured by the Project, Responsibility or Topic they roll up to through
belongs_to, with a level slider, labelled group regions and a sidebar of the hierarchy. - A note panel that renders Markdown; wikilinks move around the graph, and Open in Tolaria opens the note there.
- Live updates as notes are added, moved or deleted, with a saved layout per vault.
- Filters, saved views, search as a focus set, a skeleton view, links to missing notes shown as grey dots, and PNG export.
- Optional agent activity: notes pulse when Claude Code or Codex reads or writes them (
brain-graph install-hooks). graph:homesprints the inferred hierarchy with the same warnings as the template's hierarchy audit.
Install
Needs Node.js 20.19 or newer.
npx github:mfoll/brain-graph#v1.0.0 ~/path/to/vaultThen open http://localhost:5178. The first run builds the app, which takes about a minute.