Connect yomichan with jpdb via anki-connect protocol.
Also works with JL
At the moment this program has the following features, which can be turned on or off individually:
- open vocab that is added via yomichan in a jpdb-tab (does not require login)
- automatically add that vocab to a specified deck (does require session cookie, need to edit config)
- automatically unlock and/or add vocab to the front of the review queue (FORQ)
- optionally mine selected text as custom definition
Download a zip appropiate for your OS from releases, extract the executable inside and run it.
Set up Yomichan to look for a server at "localhost:3030".
"Check for card duplicates" should be off. (the setting is only visible when advanced settings are turned on in yomichan)
Click on "configure Anki card format" and set it up like this:
You may have to select a different model to refresh the list of fields if you don't see them all.
JPDB expects definitions to be plaintext, so it is recommended to use {selection-text} in stead of {glossary} for the definition field, to avoid HTML being generated by yomichan. This means you have to mouse select the text you want to include in the definition before creating a card.
jpdb_connect will create a configuration file in the directory the binary is stored.
Most of the options are commented out. They have comments describing them.
You can see the default config file here.
On normal systems cargo build
should be sufficient.