A tool to automate the process of creating Anki flashcard from Apple Books highlighted words and got them translated.
- Clone the repo and run
npm install
- Install AnkiConnect to your Anki, and keep anki client running.
- Create a deck on your Anki name
ibooks_highlighted
. npm run start
- AnkiConnect: Expose HTTP API for Anki (https://github.com/FooSoft/anki-connect)
- ibooks-highlights: extract highlighted words from Apple Books Mac OS Client (https://github.com/solean/ibooks-highlights)
- dictionary.py: A python script to look up words in MacOS dictionary (https://github.com/alichtman/scripts/blob/master/dictionary.py)
- Beautify the output.