Expand description
Anki .apkg import: reads an Anki shared deck and lays out a vultan-compatible
notes directory (one .md per card direction + a seeded .vultan.ron).
Scope (v1):
- Note types: Basic (1 template) and Basic (and reversed card) (2 templates). Cloze, image-occlusion, and custom multi-template models are skipped.
- Tags: the Anki deck name (last
::-separated segment, slugified) becomes the single vultan tag. Per-note Anki tags are dropped. - Review state: factor / interval / due are mapped 1:1 where possible (Anki ease 2500 → vultan factor 2500, etc.). Slight algorithmic drift is inevitable since the SRS schedules differ.
- Filenames:
anki-<note_id>-<ord>.md(ord 0 = front→back, ord 1 = reverse).
Structs§
Functions§
- export_
apkg - Export the supplied vultan cards into an .apkg at
output_path. All exported cards land in a single Anki deck nameddeck_label. Whenwith_stateis false (the default for shared decks), cards are emitted as new — recipients see them fresh. When true, factor/interval/due are preserved so the recipient picks up where the sender left off. - import_
apkg - render_
card_ markdown - slugify_
deck_ name - strip_
html