Skip to content

Anki Integration

Prerequisite

  1. Install Anki:
  2. Install ankiconnect:

Configure Anki

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

Configure the template

The front template

image The back template

image

Configure Goldendict

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

Action

image

Result

Word and definition: image

Sentence, word, and definition: screenshot

Using URI schemes

The goldendict://word link can be used 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>