Reading Anki Source Code

I would like to read Anki’s source code so I can understand exactly how it decides which card to select next.

First, I searched through the anki github repo (GitHub - ankitects/anki: Anki for desktop computers) but couldn’t find any actual source code (python files?)… then I understood I needed to follow these instructions to build from source in Windows so I did and everything seemed proceed as instructed without any errors but I can’t see where the actual source code is.

I was envisaging some python files but I can’t find anything other than bazel.exe which runs but still no idea where the actual source code is.

Please could someone explain how I can find the actual source code? I don’t even need to be able to run it. I just want to read the functions to understand how it works.

1 Like

The scheduling code is here: anki/ at main · ankitects/anki · GitHub.
But I wasn’t exactly suggesting reading it in your other post. The manual and the FAQ dae linked are much more helpful.

1 Like