←back to thread

636 points domenicd | 1 comments | | HN request time: 0.251s | source
Show context
entropie ◴[] No.44020830[source]
Pretty OT: A few month ago I tried to marry my simple note system with anki. My goal was to be able to send simple front/backside cards to an api and it would get integrated and I can use it immediately. Ofc, when I edit cards via my notes-backend, the cards in anki should update too.

Long story short: not possible with anki. It took like an entire day for me to realize its just not possible without diving deep into ankis sqlitedb and having the client installed on my server to interact in a horrible way with decks. I wrote my own space repetition [1] backend in a week and never looked back to anki. Ill intergrate FSRS in my software.

1: https://github.com/entropie/ha2itat/tree/main/plugins/entrom...

replies(7): >>44020907 #>>44020976 #>>44021072 #>>44021095 #>>44021100 #>>44021107 #>>44021598 #
1. yellow_lead ◴[] No.44021072[source]
I looked into this before too. Ankiweb (the place where cards created on Anki sync to) does not provide a rest API. The service is free though. It makes sense they may not want automated clients.

There is an implementation of their sync server, which you can self host. And it has a REST API

https://github.com/dsnopek/anki-sync-server

I think I ran into a blocker with it not supporting something I needed last time I tried to use it though.