Stamp a stable ID
Add a small card block to any Markdown file. Its ID follows the idea across wording, deck, and filename changes.
Local integrity layer for Markdown + Anki
Stable card IDs, a dry-run diff, backup-first sync, and explicit archive or rename handling—so an edit never quietly becomes a new learner.
01 / A deliberate crossing
Knowledge Note Bridge treats scheduling data as irreplaceable. It separates inspection from mutation and turns ambiguity into a blocked plan—not a guess.
Add a small card block to any Markdown file. Its ID follows the idea across wording, deck, and filename changes.
See exact adds, in-place updates, renames, archives, and safety blocks in human or JSON output before Anki changes.
sync --yes asks Anki to create a collection backup, applies the plan, and writes the full before-state report.
02 / Local diff lab
This parser runs entirely in your browser. Change the answer, rename the ID with renamed-from, or set archived: true, then compare.
03 / One quiet binary
Rust, MIT-licensed, and scriptable. No daemon, cloud account, runtime analytics, or interactive prompt in CI.
cargo install --git https://github.com/B-Divyesh/sf-knowledge-note-bridgeknb check notes/knb plan notes/ --jsonknb sync notes/ --yes04 / Safety boundaries
A card that disappears from Markdown is not “obviously deleted.” It is an unresolved integrity decision, so the sync stops before backup or writes.
Front, back, deck, and tags change on the existing Anki note. Scheduling, ease, lapses, and the review log remain attached.
An explicit archive suspends the existing cards and adds a visible tag. It never deletes; your backup and report remain the escape hatch.
If an AnkiConnect write fails, the report records what already applied, every old value, and the backup to restore.
Steward edition
The full CLI, backups, reports, JSON export, and every safety behavior remain free. Steward unlocks browser conveniences for repeat workflows.
Sociobot/Dodo is the merchant of record. Refunds are handled there and revoke the license automatically. See privacy and terms.
Paste the license token from your receipt. It stays on this device and is checked at most once per day.
No license stored. The free CLI is ready to use.