Bases Rollup Formulas · Obsidian plugin documentation

Bases Rollup Formulas documentation

Bases Rollup Formulas Obsidian plugin preview

Bases Rollup Formulas rolls up numeric properties and task completion percentages from child notes into parent project notes. Open the Cross-Note Rollup Inspector on any project note to calculate COUNT, SUM, AVG, MIN, MAX, and PERCENT_DONE across linked child notes, then write the computed value into YAML frontmatter in one click so Bases views can display and sort it.

Version 1.0.0. Requires Obsidian 1.13.4 or later. Works on desktop and mobile.

1 Installation

Use Obsidian 1.13.4 or later. For manual installation, copy main.js, manifest.json, and styles.css from the release into <vault>/.obsidian/plugins/bases-rollup-formulas/. Then enable Bases Rollup Formulas under Community plugins. Back up your vault before you change its plugin setup.

2 Getting started

  1. Add a parent YAML property to child task notes, for example parent: "[[Apollo]]" and hours: 12.
  2. Open the parent project note (Apollo.md).
  3. Run Open cross-note rollup inspector from the command palette.
  4. Choose the link mode, source property, target property, and aggregation, then click Write rollup to active note YAML.
  5. With Pro, run Batch sync rollups across vault to preview dry-run diffs across all matching project notes, apply them together, undo the batch in one click, or export Markdown and CSV summary tables.

3 Features

Inspect cross-note rollups and write YAML safely

Open any parent project note and run Open cross-note rollup inspector. The modal finds child notes linked through a YAML parent property (such as parent: "[[Apollo]]" or parent: "[[Projects/Apollo|Apollo]]"), folder membership, or both. It displays six live summary cards (COUNT, SUM, AVG, MIN, MAX, and PERCENT_DONE) and lists each linked child note with its property value and checkbox count.

The PERCENT_DONE formula counts Markdown checkboxes (- [ ], - [x], * [X], 1. [ ]) across linked child notes while skipping YAML frontmatter, fenced code blocks (backticks and tildes), and standalone four-space indented code blocks. Recursive traversal detects self-links and multi-hop cycles so circular references never loop or double-count notes. Click Write rollup to active note YAML (or run the Write rollup to active note YAML command) to update the parent note atomically with app.vault.process, preserving existing YAML comments, key order, and CRLF or LF line endings.

Configure defaults and explore Pro in Settings

Adjust the default link mode, parent YAML property name, source property, target YAML property, default aggregation, and recursive traversal in Settings. Free features run with zero network calls.

Sync rollups across the vault with dry-run diffs and undo (Pro)

Run Batch sync rollups across vault to compute multi-field rollup profiles (total_hours, budget_spent, tasks_done_pct, open_blockers) across every parent note matching a .base file filter, #tag filter, or folder prefix. Review exact before-and-after YAML diffs before applying, then undo the entire batch atomically in one click.

Export Markdown and CSV tables and try Pro demos (Pro)

Export single-project or vault-wide rollup results as a GitHub-flavored Markdown table or RFC-4180 CSV. Open Show what Pro adds from Settings or the command palette to test multi-field profiles, dry-run diffs, and table exports on sample data without touching your vault.

4 Commands

Open the command palette and type the plugin name to see these commands. You can give each one a hotkey in Settings, Hotkeys.

Command Command id
Open cross-note rollup inspector bases-rollup-formulas:open-rollup-inspector
Write rollup to active note YAML bases-rollup-formulas:write-active-rollup
Batch sync rollups across vault bases-rollup-formulas:batch-sync-rollups
Undo last batch rollup sync bases-rollup-formulas:undo-batch-rollup-sync
Export rollup summary as Markdown table bases-rollup-formulas:export-rollup-markdown
Save rollup summary as Markdown note bases-rollup-formulas:save-rollup-markdown-note
Export rollup summary as CSV bases-rollup-formulas:export-rollup-csv
Show what Pro adds bases-rollup-formulas:what-pro-adds

5 Settings

After a minor or major update, this plugin opens one What's new tab in the background. The tab and settings card suggest other NoteMods plugins and Zovo Chat and link to notemods.com for feedback (privacy). The tab sends no data. Turn the tab off in Settings.

Free settings control the default link mode, parent YAML property, default source and target properties, default aggregation, and recursive child traversal. Pro settings configure default batch tag and folder filters and custom multi-field rollup profiles.

6 Privacy, payment and network

The core features are free. Pro features need a GitHub Sponsors sponsorship of theluckystrike: $5 a month or more, or $15 once. A total payment of $15 meets the payment requirement for Pro without further payment. Sign-in and the checks below still apply. Your notes stay readable and editable with or without Pro.

One payment turns on Pro in every NoteMods plugin.

GitHub handles the payment. Sponsor at https://github.com/sponsors/theluckystrike/sponsorships?tier_id=666162&frequency=one-time&metadata_source=bases-rollup-formulas. You need no account for the free features. Pro needs the GitHub account that sponsors.

Until you select "Sign in with GitHub" in the settings, Bases Rollup Formulas makes no network requests. Sign in uses the GitHub device flow. Bases Rollup Formulas sends its public client ID and the scope read:user to https://github.com/login/device/code and shows you a code. While you enter the code at https://github.com/login/device, it asks https://github.com/login/oauth/access_token every few seconds to check the sign-in status. The scope permits profile reads only. GitHub needs this access to show the sponsorship tier. It grants no repository scope and no write access.

After sign in, Bases Rollup Formulas sends one query to https://api.github.com/graphql. It checks if the signed-in account sponsors theluckystrike. It asks for the tier and the total payment to theluckystrike. The plugin reuses a successful check for 7 days. Failed checks can retry after 6 hours. Select Refresh to request an earlier check. It sends no note content, file names or other vault data, and it has no telemetry.

After a successful check, Pro can work offline for up to 14 days. Sign out or a negative sponsorship answer turns Pro off. The plugin stores the GitHub token through the secret storage API of Obsidian. It does not put the token in its saved settings or its local sponsorship data. The local storage of this device keeps your GitHub login, the tier and the time of the last check. Sign out clears the token. You can also revoke the access in your GitHub settings, under Applications.

7 Questions and answers

Does the plugin change child notes?

No. The rollup engine only reads child notes. Writing rollups only updates the parent project note YAML via app.vault.process, and batch sync lets you preview every change and undo the entire batch in one click.

What was not tested?

Linux and Windows app runs, physical phones and tablets, touch input on a device, custom themes, large vault performance, and live paid GitHub accounts were not tested. Automated app tests use simulated sponsorship replies.

8 Support

Report a problem in this repository's issues with your Obsidian version, link mode, and a small example of parent and child frontmatter with private text removed. The author is theluckystrike. The code uses the MIT license.

Bases Rollup Formulas · Obsidian plugin documentation