Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dict-to-flashcard

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

demo.mov

Prerequisites

Setup: extract XML from the dictionaries.

  1. 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
  1. 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.

About

Get definitions from Apple Dictionary and convert to Logseq flashcards.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages