Smponi / Paper2Anki

MIT License
50 stars 7 forks source link

is there a way to update a deck that has already been exported to Anki? #1

Open fvviz opened 3 years ago

Smponi commented 2 years ago

Unfortunately there is no "direct" way. The only way I know: Create a new deck from your new cards -> import this new deck -> move the new imported cards to your old deck. Then you can delete the new deck and are done.

linusheck commented 2 years ago

I've looked into this a bit and this might be possible to do. If you give Anki a "GUID" field, enter a GUID, and set the guid() function to that field in genanki, you make a deck where Anki does notice which cards have changed and which ones haven't. The only challenge left is to extract a GUID for a page from the PDF - meaning that pages have some unique identifier that persists if you reorder or change them.

I implemented this in Goodnotes2Anki, a project that takes the GoodNotes Web sharing feature, the intention was to automatically sync the deck, sadly this is a real problem both on the GoodNotes and the Anki side. So this project is basically failed. But GoodNotes does have a GUID that is persistent on page reordering which is nice.

There should be some way to compute a GUID for PDF pages.

Practicalbutterfly5 commented 2 years ago

Can some sort of image match/ocr be implemented to detect duplicate/existing cards?