Skip to content

Anki Integration

prerequisite

  1. install anki
  2. install ankiconnect

configure anki

1. create a new model, or use an existing model

For example, the model could have Front and Back fields.

Snipaste_2022-05-21_14-08-21

2. configure the template

the front template

image the back template

image

configure goldendict

1. through toolbar=>preference=>network

screenshot

  • Word - Vocabulary headword.
  • Text - Selected definition.
  • Sentence - Search string. You can leave it blank.

Example for adding Japanese sentences: screenshot

2. action

image

3. result

Word and definition: image

Sentence, word, and definition: screenshot

Using URI schemes

goldendict://word link can be use to query a word directly on GoldenDict-ng.

On your Anki card's template, you can add the code below to have a "1 click open in GoldenDict-ng" card.

<a href="goldendict://{{Front}}">{{Front}}</a>

Note that this feature doesn't available on macOS