News for hackers. Stuff that matters.
Re:I send myself automated emails to practice Dutch by myflash13 on Friday December 27, 2024 @09:22AM (#42522237)
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.

Re:I send myself automated emails to practice Dutch by david_allison on Friday December 27, 2024 @10:29AM (#42522887)
> 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...

Re:I send myself automated emails to practice Dutch by rsanek on Monday December 30, 2024 @08:58AM (#42549296)
AnkiConnect is decent but still relies on an actual Anki desktop application to be running.
Re:I send myself automated emails to practice Dutch by tr97 on Friday December 27, 2024 @10:39AM (#42523019)
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 ...
Re:I send myself automated emails to practice Dutch by JW_00000 on Friday December 27, 2024 @09:41AM (#42522405)
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.
Re:I send myself automated emails to practice Dutch by Ey7NFZ3P0nzAe on Friday December 27, 2024 @07:16PM (#42527352)
Using the anki connect addon you could do all this in under an hour fyi