Get definitions from Apple Dictionary and convert to Logseq flashcards. More in a blogpost: https://smagin.fyi/posts/dict-to-flashcard/
Alfred workflow: https://github.com/s-mage/dict-to-flashcard/blob/main/card.alfredworkflow
demo.mov
- rg.
brew install ripgrep
- apple-peeler.
pip install apple-peeler
- Read README of apple-peeler, but basically
export DICT_BASE="/System/Library/AssetsV2/com_apple_MobileAsset_DictionaryServices_dictionaryOSX/"
apple-peeler --out apple-peeler-output # you will need this folder as part of path to xml config value
- Configure this workflow
Path to xml: apple-peeler-output/Croatian.xml -- replace with the actual dictionary you want to use
Output file: file inside the logseq graph. Protip: use icloud to sync graph between devices.
Enjoy. Or send patches. Or both.