Build flashcards from notes
Use “Build flashcards from notes” in Recued. Reads the vault notes you name in notepaths, turns their material into question/answer pairs, and writes them as a CSV deck ready to import into a spaced-repetition app. Returns the pairs as a table and the deck as copyable CSV.
How it works
Inspect the data fetches, transforms, gates, and output this recipe runs.
Process (31 steps)
path_count
count
Count items in setting note paths
paths_present
compare
Check if path count is greater than
vault_unset
compare
Check if setting vault slug is empty
can_read
all
Check if all conditions are true
reads
?
skip: step.can_read not_equal true
read_rows
default
Apply default
decoded
map
Extract body_b64 from each item
texts
pluck
Extract text from each item
corpus
join
Join items with "
---
"
corpus_present
compare
Check if corpus has data
protect
pii-protect
Apply pii-protect
extract
?
skip: step.corpus_present not_equal true
restored
pii-restore
Apply pii-restore
found
default
Apply default
cards_raw
default
Apply default
cards
slice
Take a subset of
card_count
count
Count items in cards
has_cards
compare
Check if card count is greater than
deck_csv
to_csv
Serialize rows as a CSV string
csv_present
compare
Check if deck csv has data
deck_stat
?
skip: step.vault_unset equal true
deck_exists
compare
Check if deck stat exists equals
blocked_by_existing
all
Check if all conditions are true
skip_write
any
Check if any of the conditions are true
deck_b64
encode_base64
Apply encode_base64
skip: step.skip_write equal true
write
?
skip: step.skip_write equal true
written
not
Apply not
final_stat
?
skip: step.vault_unset equal true
final_size
default
Apply default
cards_table
to_table
Format results as a data table
card
to_summary
Format results as a summary card
Settings
Configurable at install. Defaults shown — change them anytime in Recued.
deck path
setting
=
Flashcards/deck.csv
max cards
setting
=
30
overwrite
setting
=
false
note paths
setting
=
vault slug
setting
=