Marginalia Recall

unlisted

by alann5245-crypto

4-strategy deep reading workflow: Focus Studio (60s gaze + physiological sigh), progressive marginalia condensation, Fog of War & Chapter Chain recall, and AnkiConnect sync.

Updated todayMIT
View on GitHub

Marginalia Recall for Obsidian

CI Release License: MIT

Turn passive reading into lasting understanding with a 4-strategy deep reading & active recall workflow built directly on plain-text Markdown callouts (> [!margin]) and native Anki sync—zero external runtime dependencies, 100% offline-first.


The 4-Strategy Deep Reading Loop

Most readers forget 90% of a book within a week because working memory overflows while skimming line after line. Marginalia Recall turns every Markdown book, article, transcript, or physical book note into an active memory system:

  1. Prepare Attention — Focus Studio
    A 60-second SVG visual gaze timer paired with guided 3-phase physiological sighs (deep nasal inhale → short top-up nasal inhale → long mouth exhale) to calm the nervous system and prime focus before reading.
  2. Progressive Marginalia — Jeffrey Kaplan Method
    Summarize each paragraph in one sentence inside a standard > [!margin] callout (automatically floated into a dedicated right margin rail on wide reading panes). Starting at paragraph 3, the plugin prompts you to merge prior summaries (1..N-1) into one sentence before summarizing the current paragraph—then applies the same fractal rollup from Paragraph → File (Part) → Chapter → Book.
  3. Active Recall — Fog of War & Chapter Chain Gate
    • Fog of War: Blur the source text while keeping your [!margin] rail sharp. Explain ideas aloud from your margin clues, click or press Enter on any blurred block to verify, and track progress with the floating Fog Recall HUD.
    • Book Library & Chapter Chain Gate: Organizes multi-book vaults, split chapter files, standalone web/video transcripts, and physical paper books with live search, progress meters, and chapter accordions. Opening Chapter N prompts you to recall Chapters 1..N-1 first.
  4. Spaced Repetition — Direct AnkiConnect Sync
    Push [!margin] notes straight to your local Anki Desktop app with automatic hierarchical decks (Books::<Book Title>::Chapter <N>), obsidian://open deep links, and hidden %%anki:<id>%% tracking so edits update existing cards without duplicates.

Capture Modes (Desktop & Mobile)

Choose your preferred capture flow in Settings → Marginalia Recall → Capture mode:

  • Popup modal (Default) — Editorial card layout with full-width auto-growing inputs, live word counters, and Ctrl/Cmd + Enter submit.
  • Right sidebar (Margin Pad) — Keep your book text unobstructed on the left while capturing margin notes on the right; click any prior note to jump straight to its line.
  • Auto-detect device — Uses the Right Sidebar on Desktop and Popup on Mobile (Platform.isMobile).

Frontmatter Structure (Optional)

Organize multi-file books anywhere in your vault—no rigid folder structure required:

---
book: "[[Outliers]]"
chapter: 2
part: 1
summary: "Bill Gates combined math talent with rare 8th-grade access to computers, logging 10,000 hours before founding Microsoft."
---
  • Standalone notes (web clips, podcast/video transcripts): Omit book:—they appear automatically under Standalone / Web / Video.
  • Physical paper books: Create a note with book: and chapter: containing only > [!margin] Page ... callouts. The plugin detects it as a Paper book automatically.

Installation

Option 1: Install via BRAT (Recommended for Beta Testing)

  1. Install the BRAT community plugin in Obsidian.
  2. Open BRAT → Add Beta plugin and enter:
    alann5245-crypto/obsidian-marginalia-recall
    
  3. Enable Marginalia Recall in Settings → Community plugins.

Option 2: Manual Install from GitHub Releases

  1. Download main.js, manifest.json, and styles.css from the Latest Release.
  2. Place them in <Your Vault>/.obsidian/plugins/marginalia-recall/.
  3. Reload plugins and enable Marginalia Recall.

AnkiConnect Setup (Optional, for Strategy 4)

  1. In Anki Desktop, go to Tools → Add-ons → Get Add-ons...
  2. Enter code 2055492159 (AnkiConnect) and restart Anki.
  3. In Obsidian → Settings → Marginalia Recall → click Test connection.

Development

npm install
npm test        # Run core unit tests (Node 22 native strip-types)
npm run build   # Type-check and bundle main.js

Releasing a New Version

  1. Update version in manifest.json, package.json, and versions.json.
  2. Commit and push a semver tag without a v prefix (required by Obsidian):
    git tag 3.0.1 && git push origin 3.0.1
    
  3. GitHub Actions automatically runs tests, builds main.js, and publishes the GitHub Release with main.js, manifest.json, and styles.css.

License

MIT — see LICENSE.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.