BETA: currently works on Apple Silicon Macs (M1 or later) with Anki 25.09 or newer. On other computers it shows a message instead of indexing. Windows, Linux and Intel Mac support is planned.
Lecture Notes Finder shows you the lecture slides or pages that cover the card you're reviewing.
While reviewing, press n. A window lists the 5 best-matching pages from your lecture PDFs, each with a snippet of its text, and opens the selected page beside the list. Use the arrow keys to move between results, Enter to open the whole PDF in your PDF app, and Esc to close.
Before you reveal the answer it only searches the question side, so the results can't give the answer away.
SETUP
- Tools > Lecture Notes: Update index, then choose the folder that holds your lecture PDFs (subfolders included).
- Review and press n.
The index updates itself in the background whenever Anki starts. To change folder: Tools > Lecture Notes: Choose notes folder.
SETTINGS (Tools > Add-ons > Lecture Notes Finder > Config)
notes_folder: the folder of lecture PDFs
shortcut: the key to press while reviewing (default n)
TIPS AND LIMITATIONS
- Keep the folder to lecture notes; exercise sheets and past papers will appear in results too.
- PDFs need selectable text. Scanned or handwritten pages can't be searched.
- Cards whose front is only an image or only maths have nothing to search for.
- Word matching works best in English.
Everything runs on your computer. Nothing is uploaded.
Source code, instructions and bug reports: https://github.com/Murtaza-64/anki-lecture-notes
License: AGPL-3.0