louietan / anki-editor

Emacs minor mode for making Anki cards with Org
699 stars 87 forks source link

Question: Does the sync work in both directions? #82

Open arbox opened 3 years ago

arbox commented 3 years ago

@louietan ,

a have a general question on the synchronization of changes between Anki DB and my Org files.

I generally create new notes within a file and push them to Anki using =anki-editor-push-notes=. After that successfully pushed notes get an =ANKI_NOTE_ID=.

If I make corrections to such notes in my files I'm (mostly) able to repush them and see the changes within Anki.

Is the other way supported as well? I'm stuggling to get my modifications from Anki back into my files.

Thank you in advance!

meedstrom commented 2 years ago

No, it doesn't have functionality for this.

So the possible workflows are

  1. use anki-editor as a once-off way to create new notes, optionally keeping the Org subtree afterwards only for posterity.
  2. use anki-editor as the sole way to edit notes and decline editing them in Anki.

Bidirectional sync would be amazing, but I'm told sync is in general a fragile thing to program -- it's better if pushes only happen in one direction. I'd love if org-drill/org-fc/pamparam could work well on the phone. They already do work with a Bluetooth keyboard so I guess we just need a few "last mile" hacks... that will turn out to be not so last mile.