Skip to content

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Vault Graph

An Obsidian plugin that maps your vault: it finds the topics your notes form, the notes that hold them together, and the places where they should connect but don't. Then it gives you one short list of things worth doing about it, each one click.

What you get

  • Vault HQ: your home screen. Capture in one box, star what matters today, and pick anything to see what your notes already know about it. A morning brief, threads of related work, people, a daily wrap-up that feeds your standup, a weekly review, and Ctrl K to find or do anything.
  • Vitals: what your tasks and notes add up to, in plain sentences, each with what to do about it and the change over a week.
  • Sweep: every open task from earlier days, with its subtasks. Finish, cancel, keep or move it to a project, one at a time or by day or heading. Subtasks left open under a finished task get their own group.
  • Today: one list of next steps, with today's three at the top. Link two notes that belong together, add a note to its topic's map, write a note other notes already link to, check that a note you rely on is still current, give a topic a map, link a note nothing points to. Each has its button and Undo. It's in the graph's Insights tab, its Today panel (the flag button, or G) and the sidebar.
  • Views: every way of looking at the vault, in one menu, grouped by what you want to know. See the vault draws it: 2D, 3D, a brain, a neon city, weather. Tasks asks how the work flows and whether a week is really different. Notes that need you finds what's stale, out of date or has no place. Topics and structure shows where your attention goes and how things connect. Play turns your notes into games. Many use real methods: survival curves, control charts, food webs, epidemic models.
  • Search: finds what you half remember: misspellings, "last week", a person's name, "near" a note.
  • Cosmos: every body offers notes at a distance (black hole 0; a binary's or planet's notes 1; a star's rings 1-3, up to three links away) and each note goes to the nearest. Ties go to black hole, then binary, planet, star, then target-path order, independent of placement order. Saved stars must target existing notes after vault reorganizations.

It never changes a note without asking, and every change it makes can be undone.

Install

The repository is obsidian-graph; the plugin is Vault Graph (folder jk-vault-graph).

With BRAT: Add beta plugin → JacksonKupris/obsidian-graph, then enable Vault Graph. BRAT keeps it updated from the releases.

By hand:

  1. Take a release's main.js, styles.css and manifest.json, or build them (npm run build, see below).
  2. Put them in <your vault>/.obsidian/plugins/jk-vault-graph/.
  3. In Obsidian: Settings → Community plugins → turn off Restricted mode if it's on, then enable Vault Graph.
  4. Open it with the ribbon's Open Vault Graph button (a fork icon), or the command Vault Graph: Open graph. Vault Graph: Open suggestions sidebar opens the sidebar for the note you're on.

That's all it needs. The plugin reads your notes through Obsidian's own index, works out the topics itself, and works on phones too.

Settings

Settings → Vault Graph → This vault shows the folders it uses (inbox, daily notes, people, archive, reports) and how many days until a note counts as stale, with where each value comes from: your Obsidian settings (the Daily notes folder, the folder new notes go in), the defaults, or the vault's rules file. Change one there and it's saved to the rules file.

Topic names lead with the system they're about ("AWS SES · Bounce Handling"), taken from the technology/ or project/ tag most of a topic's notes share. To name your own systems well, add them to the rules file's stack block: words for how a tag is spelled in a name ("odoo": "Odoo"), platforms for project tags that name a platform, and skip for tags too broad to name a topic.

Vault HQ reads your daily notes from where Obsidian's Daily notes or Periodic Notes settings put them, in their format, and has no standup step until you keep one.

Optional extras

  • Smart Connections: similar-note suggestions work without it, from the words notes share. If that plugin has indexed your vault, a desktop adds a few suggestions from its similar-meaning index, and pairs both methods found come first.
  • Git (desktop only): the Code ↔ docs view reads your repositories' history, file paths and dates only. Without git that view isn't offered.
  • Your own views: a ```vault-graph-scene block in any note becomes a view. The New view tile writes one for you.

Develop

How it's put together: ARCHITECTURE.md. Where it's going: ROADMAP.md. Release prerequisites, manual steps and recovery: RELEASING.md.

npm test                      # build + rules/code checks + every view and lens on the sample vault
npm test -- --changed         # only the tests that load what this branch changed (every test when a shared file changed)
npm test -- --only lens_load  # only the named tests, comma-separated (npm test -- --list shows the names)
npm run test:vault            # the same on a real vault (local.json's "vault", or --vault <dir>)
npm run build                 # dist/: main.js, styles.css, manifest.json, rules.js (sample rules)
npm run deploy                # test on the vault, install its check file there (--plugin: this build too, until the next release)
npm run release [-- minor]    # bump, test, tag and push from main; CI publishes the release, then it's installed in local.json's vault
npm run sync                  # this computer and GitHub the same, on any branch (before work, after each commit)
npm run queue                 # open pull requests and their checks, merged-not-released, branches with no pull request
npm run install-release       # install the latest release (or -- 0.6.15, -- --vault <dir>) into a vault

Setting up a computer, branches and pull requests, npm run sync: CONTRIBUTING.md. Releasing, failed runs and working offline: RELEASING.md.

npm run page -- --data <graph.json> [--rules <file>]   # the standalone graph page, in .out/
npm run sample -- --analyse   # regenerate fixtures/ with the plugin's own analysis
node scripts/cas9_model.js    # rebuild the Cas9 scene's model (src/view/14-cas9-model.js) from PDB 5F9R and 1BNA; --print: the numbers only

Slower checks, by hand: node tests/click_all.js [--mobile] (every control, about 5 minutes), node tests/layout_random.js, node tests/shots.js [--mobile], node tests/polish_loop.js [--full]. Each takes --vault too. They need Chrome.

HQ's Automations shortcut opens every scheduled job, including healthy jobs; Needs you keeps the jobs that need attention. The navigation regression uses real pointer clicks between Needs you, Projects and Automations on desktop and phone layouts. Sample-vault notes regenerate when the local calendar day changes, so cached journals cannot silently remove today's test tasks.

HQ has a persistent search across Home, Today, Needs you, Projects and their subviews. It searches open HQ items, every project (independent of the Projects filters), and vault notes using the shared fuzzy scorer and Recall engine; matches include source paths and context, project results open their details, and note results open the source note. The query and keyboard focus survive screen changes and live refreshes; Clear returns to the current screen without changing its project filters. Labeled Kind, System and Project status dropdowns remain on Projects, retaining kind/status counts and the default All kinds / All systems / In progress selection. System options come from project/ and system/ tags or system/project frontmatter; Compact list and Needs classification remain available. Details show parent/related links and each task's source heading and parent task. The automated phone-sized browser check is not a physical-phone acceptance.

Today prioritizes daily work over old approvals. Repeated task wording is grouped for review, not merged: every source retains its own actions. Daily shortcuts prefer the matching year/month journal path and warn about other copies; they do not delete or merge notes or fix the daily-note creator's configuration.

HQ's week strip opens a date's Journal / Standup chooser on desktop and mobile. Each action says Open or Create; Cancel writes nothing. Creation uses the selected date, including another month or year, under <daily folder>/YYYY/MM-Month/Journal/YYYY-MM-DD.md or Standups/Daily Standup YYYY-MM-DD.md. The dock's journal shortcut uses the same action for today. Existing notes are opened unchanged (canonical copies take priority); rapid clicks do not create numbered duplicates.

Journal creation uses the enabled Periodic Notes daily template, then Core Daily Notes' template, then <templates folder>/Daily Notes Template.md. Standups use <templates folder>/Daily Standup Template.md. Without a template, HQ creates a minimal dated journal or standup. A configured but missing template is an error. Core {{date}} / {{time}} placeholders work; templates containing Templater commands require Templater enabled. Templater renders into a guarded new target with tp.date.now() scoped to the selected date (explicit reference dates remain unchanged), so the existing standup template can carry forward the previous standup's sections. If rendering fails, HQ trashes only its own still-empty placeholder and leaves existing or concurrently written content alone. Retry after correcting the template or enabling Templater. Templates should render content, not move/rename the target or create other files.

Focused regression: node tests/test_hq_daily.js exercises shared creation and real desktop/phone week-strip clicks; it requires Chrome, like the other HQ browser tests.

Pending review-draft reports in the reports folder appear in Needs you as review-only evidence, separate from gardener application rows. Open for review reads the evidence; Mark reviewed records status: reviewed after confirmation without applying suggestions or completing source tasks. Older pending reports stay visible. An automation's optional review_report filename prefix links its latest review-only report (distinct from the gardener's report prefix). Automation cards distinguish a recorded run result from unknown schedule/enabled state and strip terminal color codes. Home labels graph analysis coverage and freshness rather than claiming a whole-vault note count.

local.json (not committed) says where your vault is on this machine:

{ "vault": "C:/Users/you/Documents/Vault" }

Optional: "rules", the vault's rules file relative to the vault (default _scripts/vault_graph_rules.json).

HQ filter dropdowns use theme colors, a visible chevron, 14px text and a minimum 44px touch height. Search placeholders use the theme's muted text color; forced-colors mode retains the native select arrow.

Requirements for development: Node 22 or later.

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages