Skip to content

Get definitions from Apple Dictionary and convert to Logseq flashcards.

Notifications You must be signed in to change notification settings

s-mage/dict-to-flashcard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published