Hacker News new | ask | show | jobs
by _1tem 536 days ago
What I really want are automated emails interspersed during the workday with my overdue Anki cards. It should be one click straight from the email to answer the quiz card, and appropriately rescheduled to my inbox in case of a memory miss. Spaced repetition quizzing is essential to memorizing anything, and Anki is really the most popular app in the world for that purpose.

I already spend all my time in the inbox and find it hard to ignore an email. Inbox zero habits would kick in and ensure that I do at least some memorization every day. A single Anki card in my inbox is far less daunting than the entire deck staring at me when I open the app.

Unfortunately Anki doesn't have a proper API and isn't easy to reverse engineer. I tried to build something using a scraper that logs in to the Anki web app, but it turned out to be very janky, and couldn't identify overdue cards. Somebody with better desktop app/python skills could probably do it locally, but I gave up.

4 comments

> Unfortunately Anki doesn't have a proper API and isn't easy to reverse engineer

Tried any of the below?

AnkiConnect (HTTP API): https://git.foosoft.net/alex/anki-connect

Rust: https://github.com/ankitects/anki/tree/main/rslib via Protobuf: https://github.com/ankitects/anki/tree/main/proto/anki

Rough DB Schema (outdated, but sufficient): https://github.com/ankidroid/Anki-Android/wiki/Database-Stru...

AnkiConnect is decent but still relies on an actual Anki desktop application to be running.
What I do is put the Anki widget quite front-and-center on my phone. Whenever I absentmindedly unlock my phone, the red squircle containing a positive number activates my monkey brain and I want to get it to 0.
I agree that spaced repetition is essential and Anki is just the main player. I think the ideal product would combine: a flashcard app like anki, automated emails you can reply to, audio nudges and more ...
Using the anki connect addon you could do all this in under an hour fyi