Re:Show HN: I made Ankify that converts notes to Anki cards
by zengargoyle on Saturday May 07, 2022 @05:16PM
(#31298681)
I used to mess around with Anki many years ago while studying Japanese. The approach I took was to figure out the database structure, then write a bit of code to expand the information on cards. Just alter the database directly. Mostly for things like adding dictionary words to existing kanji decks. Looks like it would be a nice addition to genanki to be able to read/modify/save existing an existing apkg.
Re:Show HN: I made Ankify that converts notes to Anki cards
by rsanek on Saturday May 07, 2022 @05:34PM
(#31298821)
Yeah I evolve cards over time as well, it's interesting how even after 7 years of using SRS I still sometimes generate cards that end up being hard to review once I actually start using them. The way that I solve for the modify over time is to simply re-generate the whole set of cards -- on import, Anki will automatically update the older cards (if the generation time is greater than the last modified time within the Anki DB).
Re:Show HN: I made Ankify that converts notes to Anki cards
by kangruixiang on Saturday May 07, 2022 @10:12PM
(#31300588)
That's why I like my note taking first approach to making cards. If I just focus on making high quality notes, then the cards are automatically updated over time.
Re:Show HN: I made Ankify that converts notes to Anki cards
by kangruixiang on Saturday May 07, 2022 @04:58PM
(#31298507)
I've looked into Anki generating packages before. The problem I run into is that you have to specify the ID for the deck that might be different for different people. Especially if they want to import into existing deck. Then you'll have to figure out how to pull the deck information out of the database first and then import cards into it.
The current Ankify already adds ID for the cards so it'll update the contents on each conversion. The only problem is if you delete a card, you'll have to manually do that in Anki.
I see your project uses import-from-csv to get cards into Anki -- you can make this significantly more user-friendly by utilizing the genanki Python package [0]. It spits out an apkg for you that you can just double-click on and import. The other side benefit is that you can keep a stable ID of the same cards over time, which means that if you want to eg update the structure or styling of already-exported notes, it is very easy to do so.
[0] https://github.com/kerrickstaley/genanki