Lemma — Flashcards, Active Recall & FSRS Spaced Repetition in Your Notes

Disclaimer


# Lemma — Flashcards, Active Recall & FSRS Spaced Repetition in Your Notes

Hi everyone! I would like to introduce Lemma, an open-source spaced repetition plugin designed to let you create and review flashcards directly within your Obsidian vault using the modern FSRS 4.5 algorithm.

Why Lemma?

Most spaced repetition setups in Obsidian either rely on the older SM-2 algorithm or require bridging notes out to external apps like Anki.

We built Lemma to bring a modern, native study experience directly into Markdown:

  1. FSRS 4.5 Scheduling: Powered by ts-fsrs, bringing memory stability and retrievability modeling into Obsidian without external add-ons or Python bridges.
  2. In-Place Image Occlusion: When reviewing diagrams or anatomy cards (![[front.png]]::![[back.png]]), Lemma swaps the answer in the exact same viewport position with tap/peek toggling (Space / P / F), eliminating the vertical jumping and scrolling common on mobile.
  3. Type-In Active Recall: Cards flagged with ?type let you test exact phrasing or definitions with character-level difference highlighting before rating.
  4. Mobile-First UX: Responsive touch controls with full-screen review, safe-area support, and swipe gestures (left = Again, down = Hard, right = Good, up = Easy).
  5. Multi-Device Sync: Built-in PouchDB/IndexedDB storage with optional live CouchDB sync for cross-device workflows.

Card Formats

Any note tagged with #flashcards becomes a deck. Lemma supports seven card and review styles:

  • Basic Block Cards:

    ---card--- ^card-001
    What is the powerhouse of the cell?
    ---
    Mitochondria
    
  • Single-Line Cards:

    Capital of Japan?::Tokyo ^cap-01
    
  • Bidirectional / Reversed:

    Mitochondria:::Powerhouse of the cell ^rev-01
    
  • Cloze Deletion:

    The ==c1::Ebbinghaus== forgetting curve shows memory decays over ==c2::time==. ^cloze-01
    
  • In-Place Image Occlusion:

    ![[diagram-masked.png]]::![[diagram-revealed.png]] ^diag-01
    
  • Type-In Active Recall:

    ?type What is the SI unit of current?::Ampere ^type-01
    
  • Whole-Note Review: Add #review in frontmatter or note body to schedule entire notes with FSRS.


Getting Started

  1. Open Settings → Community plugins → Browse.
  2. Search for Lemma and click Install, then Enable.
  3. Add #flashcards to any note, add your cards, and open the dashboard from the ribbon icon or Command Palette (Open dashboard).

Links & Feedback

  • GitHub Repository: https://github.com/Fundaments-Work/Lemma
  • Syntax Guide & Docs: https://github.com/Fundaments-Work/Lemma/blob/main/FLASHCARD_GUIDE.md
  • Issue Tracker: https://github.com/Fundaments-Work/Lemma/issues

All future updates, changelogs, and releases will be posted in this thread. Feedback, bug reports, and suggestions are welcome!