Decks

by Xherdi Lika
5
4
3
2
1
Score: 52/100

Description

Category: Learning & Knowledge Management

The Decks plugin brings spaced repetition flashcards directly into your vault using the FSRS algorithm for optimized learning. Create cards in two ways: header-paragraph format where each heading becomes the front of a card or table format with question and answer columns. Tag your notes with #flashcards and the plugin automatically extracts and syncs them. Cards progress through learning states (new → learning → due) with intervals that adapt based on your performance. Rate each review as Again, Hard, Good or Easy to control scheduling. The plugin tracks detailed statistics including daily progress, retention rates and future workload forecasts.

Reviews

No reviews yet.

Stats

53
stars
5,168
downloads
0
forks
94
days
1
days
1
days
3
total PRs
0
open PRs
0
closed PRs
3
merged PRs
15
total issues
0
open issues
15
closed issues
0
commits

Latest Version

a day ago

Changelog

Changes

  • Refactored the Getting Started note to be more clear on how to use decks.

README file from

Github

Decks

Turn your Obsidian notes into flashcards. No special syntax. No separate deck to build.

Tag a file with #decks. Every header you wrote becomes the front of a card; every paragraph below becomes the back. Tables, image occlusion, and ==cloze== highlights work the same way. Scheduling is handled by FSRS — the modern spaced-repetition algorithm.

Demo

Discord · Release notes · Buy me a coffee

Why Decks

  • Your notes are already the deck. Tag a file, every header becomes a front, every paragraph becomes a back. Coming from Anki, there's nothing to author twice.
  • Four formats, no syntax to learn. Headers, two-column tables, image occlusion, and ==cloze== from highlights you already use.
  • FSRS-native scheduling. Three profiles (Standard / Intensive / Trained), per-tag retention targets, no SM-2 baggage.
  • Algorithm tuning. One-click optimizer trains the FSRS weights on your own review history — better scheduling for your forgetting curve, all client-side.
  • Real multi-device sync. Database merges across iCloud/Dropbox automatically — review on phone and desktop, no lost history.
  • Built for mobile. Touch-tuned review UI, safe-area aware, tested daily on phones.

60-second quick start

  1. Install Decks from Community Plugins, enable it.

  2. Open any note. Add #decks to its frontmatter or as an inline tag.

  3. Write a header, then a paragraph below it. Repeat for as many cards as you want:

    ---
    tags: [decks/spanish]
    ---
    
    # What does "Hola" mean?
    
    Hello.
    
    # How do you say "Thank you" in Spanish?
    
    Gracias.
    
  4. Click the brain icon in the ribbon to open the Decks panel. Click your file. Start reviewing.

The filename becomes the deck name. Cards sync automatically when you save the note.

Card formats

Decks supports four ways to write cards. Pick whichever matches how you already write notes.

---
tags: [decks/spanish]
---

# What does "Hola" mean in English?

Hello.

# How do you say "Thank you" in Spanish?

Gracias.

The filename becomes the deck name. Header level is configurable per profile.

## Concepts

| Question                | Answer                                            |
| ----------------------- | ------------------------------------------------- |
| What is photosynthesis? | The process plants use to convert sunlight        |
| Define gravity          | The force that attracts objects toward each other |
  • First column = front, second column = back. Header row is ignored.
  • Tables must sit directly under a header (no other paragraphs inside).
  • Add a third "Notes" column for hints/mnemonics shown via toggle (press N) during review.
## The Solar System

The ==Sun== is the star at the center of our solar system. The closest planet to the Sun is ==Mercury==, and the largest planet is ==Jupiter==.

Each highlight becomes one card. During review the active blank shows as [...]; tap to reveal. Cloze also works inside table cells. Two context modes per profile (hide or show other clozes). Enabled by default.

## Bones of the arm

![[arm_bones.png]]

1. ==Humerus==
2. ==Radius==
3. ==Ulna==

Each list item is one card. The image (with its numbered labels) shows on the front; the matching item is blanked on the back. Builds on cloze, so cloze must be enabled on the profile.

Title format — the filename becomes the front, the entire file becomes the back. Set "Title" as the header level in your profile.

Reverse cards — add reverse: true to a file's frontmatter to auto-generate a reversed copy of every card. Progress is tracked separately per direction.

Per-card tags — add #tag directly in headers (e.g., ## What is photosynthesis? #plants #high-school). Tags are stripped from the displayed front, shown as chips during review, and inherited by table rows and reverse cards. Build "filter decks" that pull every card with a given tag across your vault.

What you get

  • Browse mode and timed review sessions with daily limits.
  • Per-tag profiles (Standard / Intensive FSRS, retention target, daily quotas).
  • Custom decks built from filter rules — e.g., every card tagged #high-school.
  • Statistics: heatmap, retention, future-due forecast, intervals, hourly breakdown, answer-button stats.
  • Anki export, automatic backups, multi-device merge sync.
  • Keyboard shortcuts: Space to flip, 1–4 to rate.

Multi-device sync

Decks syncs alongside your vault — iCloud Drive, Obsidian Sync, Dropbox, Syncthing, anything that shares the vault folder works.

The plugin uses two files:

  • <plugin folder>/flashcards.db — the SQLite database holding every card's FSRS state and full review history. This is the cold-storage snapshot, persisted to disk every ~30 minutes when there's new activity (and on app background / unload).
  • <deviceId>.deckssynclog — one small append-only JSONL file per device, in your vault root. Every state change you make — rating a card, editing a profile, creating a custom deck, starting/ending a review session — is recorded here as a single short line. Other devices read these files on app focus and replay the entries against their own database.

The custom .deckssynclog extension keeps the file out of Obsidian's file explorer; you'll see it in Finder/Files but it never shows up as a note. iCloud and other file-sync providers ship these small text files dramatically faster than the binary database — typically seconds instead of minutes — which is why the cross-device "I just rated this on my Mac, now I see it on my iPhone" lag is usually around 15–30 seconds rather than 1–2 minutes.

The log self-truncates to the last 30 days on plugin load. Long-running cross-device state (months or years of review history) is preserved in the binary database, which still syncs through your file-sync provider on its own slower schedule.

If your sync provider creates conflict-copy files (e.g. iCloud's <deviceId> (Mac's conflicted copy 2026-05-13).deckssynclog), the plugin detects them, applies any unique entries, and renames the original aside as *.consumed-<timestamp> so it's not re-processed.

Personalized scheduling

FSRS ships with sensible defaults that work well out of the box. Once you've accumulated ~100 reviews, you can train the algorithm's 21 weights against your own review history and get card schedules tailored to your specific forgetting curve — the same kind of thing Anki desktop does, but client-side, no server, no telemetry.

Settings → Algorithm tuning → Optimize parameters. Training runs in seconds for typical decks; you'll see a before/after log-loss comparison, click Apply to use the trained weights or Discard to keep defaults. Re-train any time to refine the weights as you accumulate more reviews.

Trained weights are global but per-profile applied — pick Trained in any profile's FSRS profile dropdown to opt that profile in. Intensive profiles continue to use their sub-day defaults; existing card data is preserved through training.

The optimizer matches the open-spaced-repetition reference methodology: Adam optimizer over binary cross-entropy loss, cosine-annealed learning rate, parameter clipping against published FSRS-6 bounds. Step count scales with your review history (more reviews → more iterations).

The implementation has been validated against the published FSRS-6 spec (1396/1396 forward-pass cases match bit-exact) and benchmarked against 443M anonymized Anki reviews — calibration of shipped defaults agrees with empirical recall to within 0.8 percentage points. See docs/FSRS_OPTIMIZER.md for the full write-up: comparison with the reference benchmark, what to expect at different deck sizes, and known limitations.

Settings

Open Settings → Decks for daily limits, retention targets, search paths, session duration, and backup options. Per-tag overrides via the gear icon on any deck.

Profile settings (Manage profiles in the deck panel):

  • New cards per day, review cards per day (per deck)
  • Retention target (default 90%)
  • FSRS profile: Standard, Intensive, or Trained (Trained available after optimizing parameters)
  • Header level for parsing (or "Title" to use the filename)
  • Review order: oldest due first, or random
  • Cloze deletions: enabled by default
  • Cloze context: hidden or open

Review settings: session duration (1–60 min), next-day rollover hour (default 4 AM), keyboard shortcuts toggle.

Parsing settings: scan the entire vault, or restrict to a folder.

Other: background refresh interval, automatic backup count, debug logging.

Release notes & support

License

See LICENSE.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Simple note quiz
4 years ago by dorisxx
braincache
4 years ago by XSPGMike
braincache obsidian plugin
Aosr
4 years ago by linanwx
Aosr is Another Obsidian plugin for Spaced Repetition.
Note Synchronizer
4 years ago by Songchen Tan
Synchronizes Obsidian notes to Anki in a breeze 💨️
Repeat
4 years ago by Andre Perunicic
Review notes using periodic or spaced repetition.
Awesome Flashcard
4 years ago by AwesomeDog
Handy Anki integration for Obsidian.
Flashcard Learning
3 years ago by Gaétan Muck
Obsidian plugin. Uses flashcard system to learn things across own notes.
AI Mentor
3 years ago by clementpoiret
Auto Anki
3 years ago by ad2969
Using AI to automate card creation for Spaced Repetion in Anki
Flashcards LLM
3 years ago by Marco Pampaloni
Use Large Language Models (such as ChatGPT) to automatically generate flashcards from obsidian notes
Memorization
3 years ago by Joseph Cochran
Flashcard Generator
3 years ago by ChloeDia
Obsidian Plug-in to automatically create a set of questions/answers on your notes !
Exercises
3 years ago by AlexCCavaco
Create Interactive Exercises along side your Obsidian Notes
QB Reader Parser
3 years ago by Jacob Barta
QBReader parsing for quiz bowl answerlines
Vocabulary Cards
3 years ago by Eugene Myazin
An easy way to display vocabulary words as flashcards and as a list
AnkiSync+
3 years ago by RochaG0
Mochi Cards Pro
3 years ago by Hayden Carpenter
Create flashcards on Mochi.cards using the API provided by Mochi's Pro subscription in Obsidian.
Quiz Generator
2 years ago by Edward Cui
Generate interactive flashcards from your notes using models from OpenAI (ChatGPT), Google (Gemini), Ollama (local LLMs), and more. Or manually create your own to use with the quiz UI.
Augmented Canvas
2 years ago by Léopold Szabatura
Supercharge your Obsidian canvas experience with AI features.
The Queue
2 years ago by Kolja Sam Pluemer
An Obsidian.md plugin randomly exposing you to your cards. Supports habits, to-dos, spaced repetition flashcards, iterative reading and more.
Yanki
2 years ago by Eric Mika
An Obsidian plugin that syncs flashcards from a folder in your vault to Anki. Pure Markdown syntax. No fuss.
Better Recall
2 years ago by FlorianWoelki
A better spaced repetition and recall plugin for Obsidian inspired by Anki.
Learnie
2 years ago by tankh99
Learnie is an Obsidian plugin that helps to enhance your learning with active recall and spaced repetition.
Review
6 years ago by ryanjamurphy
Add the current note to a future daily note to remember to review it.
Flashcards
5 years ago by Alex Colucci
🎴 An Anki plugin for Obsidian.md
Export to Anki
5 years ago by Pseudonium
Script to add flashcards from text/markdown files to Anki
Mochi Cards Exporter
5 years ago by kalbetre
Mochi Cards Exporter Plugin for Obsidian
Spaced Repetition
5 years ago by Stephen Mwangi
Fight the forgetting curve by reviewing flashcards & entire notes on Obsidian
Incremental Writing
5 years ago by Jamesb | Experimental Learning
An incremental writing plugin for Obsidian where you add notes and blocks to prioritized queues and review them incrementally over time, spaced repetition style.
Recall
5 years ago by Martin Jirlow
A spaced repetition system for Obsidian!
Anki Sync
5 years ago by debanjandhar12
Obsidian plugin to make flashcards and sync them to Anki
Vocabulary View
5 years ago by nnshi-s
Spaced everything
2 years ago by Zach Mueller
Obsidian plugin to apply spaced repetition to incrementally develop your notes.
Blue Star
2 years ago by Wang Guoshi
A plugin for Obsidian that generates Anki flashcards in various ways.
Simple Quiz
a year ago by Ivan Kalmar
Creating simple quizzes.
AI-AnkiSync
a year ago by goev
Easy Test
a year ago by Forrest
Memodack
a year ago by Pavlo Kobyliatskyi
Your second language memory tool
Spaced Repetition AI
a year ago by Belinda Mo, Athena Leong
AI + Spaced Repetition Plugin for Obsidian
Student Repo
a year ago by Feirong.zfr
学生知识库助手(Student Repository Helper)是一个面向学生或学生家长的Obsidian 插件,这款插件旨在解决学生在学习阶段面临的资料管理难题,将学习过程中产生的各类重要资料,如试卷、笔记、关键文档、绘画手工作品等,进行系统性的数字化整合与管理,并利用 AI 助手定期进行学习分析总结。随着时间的推移,它将助力你逐步搭建起一座专属你自己的知识宝库,这座宝库将伴随你一生,成为你知识成长与积累的见证。
HiNote
a year ago by Kai
Add comments to highlighted notes, use AI for thinking, and flashcards for memory.
Anki Integration
a year ago by Noah Boos AKA Rift
Create flashcards from your notes with a seamless interface, structuring them with metadata and syncing effortlessly via AnkiConnect.
Minimal Quiz
a year ago by Lutu-gl
Obsidian-Minimal-Quiz: The simplest quiz plugin for Obsidian. Define questions directly in your Markdown files. No extra setup required. Just write, quiz, and learn!
Zhongwen Reader
a year ago by natipt
This is a Chinese hover dictionary and vocabulary-building plugin for ObsidianMD.
Come Through
a year ago by mntno
An Obsidian plugin for creating and reviewing flashcards.
OpenWords
a year ago by insile
用于英语学习中背单词与单词管理的 Obsidian 插件
Simple Anki Sync
10 months ago by Lukas Mayr
Random Wikipedia Article
10 months ago by SpencerF718
An Obsidian plugin to generate a note of a random Wikipedia article.
Dictionary Lexicon
3 months ago by Alvin
Look up words and improve vocabulary by using flash card style cards.
Anki Helper
3 months ago by Dusk