What does HackerNews think of genanki?

A Python 3 library for generating Anki decks

Language: Python

Many people consider the prep time to be valuable itself as it usually involves you gaining understanding. That said, I don't really buy that argument and the vast majority of my cards these days are auto-generated using https://github.com/kerrickstaley/genanki.
Since it looks like the export to Anki is still in progress, I can recommend using https://github.com/kerrickstaley/genanki -- it's been very stable over the 2 years I've been using it. I think it's a much better solution than csv or AnkiConnect, since it requires no actual work from the user except for opening an apkg.
1. Find a good deck online on either AnkiWeb (https://ankiweb.net/shared/decks/), Reddit, or via a web search. For example, https://www.reddit.com/r/ChineseLanguage/comments/7mjmjc/bes... is excellent for learning Simplified Chinese and Mandarin.

2. Set aside a dedicated block of time to drill every day, about 30 minutes to an hour is sufficient. Try to build it into your day, for example I drill Anki flashcards while commuting to work on the bus.

3. Just keep persisting at it and turn it into a habit. Create a trigger to remind yourself to perform the habit every day (eg: maybe a reminder post-it or poster on your wall), and reward yourself (maybe with a snack like some chocolates or juice) when you complete the 30 minutes of drilling to make you look forward to the next session.

4. Recognize that forgetting is natural, but there are ways to minimize the losses. I like the idea of paraphrasing key concepts into Evergreen Notes (https://notes.andymatuschak.org/Evergreen_notes) based on what I've read, and occasionally reviewing those.

5. Eventually create your own Anki decks, using tools mentioned in https://news.ycombinator.com/item?id=32397162 like https://github.com/kerrickstaley/genanki or https://github.com/ankicommunity/ankidown/

If you're comfortable with Python, https://github.com/kerrickstaley/genanki is amazing. You can pull your content from any source, use templates for the question and answer format, and even add media to each card (image, audio).
They get automatically added yeah -- right now it's a very straightforward thing I wrote via genanki [1] which is the real magic, but if I wanted them to go to different decks it'd be a pretty easy modification to do so based on whatever criteria (say, post tags or something).

[1]: https://github.com/kerrickstaley/genanki

This looks great! I too have long been frustrated by the laborious process of making high-quality notes. I've approached the problem a bit differently, choosing to integrate with APIs and auto-generate notes from that structured information. I've found that when done carefully, this approach can solve especially well for the 'disconnected knowledge' problem.

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

For those that are on the creation side, I've found genanki [1] to be a joy to work with. I have a service that auto-generates a bunch of cards from code and then spits out an `apkg`. I've made what I consider the funnest part of that open for registration [2]

[1] https://github.com/kerrickstaley/genanki

[2] https://www.reddit.com/r/Anki/comments/g0zgyc/spotify_anki_l...

Not needing Anki itself is pretty much a requirement for me, because that's the way which makes sense in my worldview. Tools work independently and feed into each other—not get slapped onto each other, which kinda smells like a whiff of bad OOP.

I began a feeble attempt at a lib for my own purposes, but I had to take Anki db structs a little at a time just to keep my frustration in check.

There are in fact some libs for writing Anki data: https://github.com/kerrickstaley/genanki and maybe https://github.com/patarapolw/AnkiTools — but genanki, while looking quite good for one-time generation, doesn't seem to be able to update notes.

Afaik Anki itself does include Python libs for creating and manipulating db records, which can be used in third-party scripts—however dunno if they work without the full app running, and on top of that I personally keep trying to use Lua, since it runs circles around Python in terms of speed.