- This is a Chrome extension that I was commissioned to do that adds a button to dictionary entries on jisho.org to export terms and related info to an Anki deck.
- Requires AnkiConnect to be installed as an add-on in Anki.
- Requires the provided Anki template deck.
- Download the contents of this repository and open the template deck in Anki.
- Create a new folder anywhere on your PC, name it whatever you want, and add the
src
directory from the .zip as well as themanifest.json
file. - If not enabled already, navigate over to
chrome://extensions
and then toggle developer mode on the right hand side, enabling it. - On the left side of the page, click the button indicating "load an unpacked extension", and then locate the folder you just created and select it.
- Head on over to jisho.org, search for a word, export the word to a deck, and it should work! Just make sure Anki is running and that you have AnkiConnect installed!
If you are would like to load a release version:
- Make sure you have AnkiConnect installed as an add-on in Anki.
- Make sure you have the provided Anki template deck imported into Anki.
- Download the latest release from this repository.
- Extract the contents of the release folder to anywhere on your PC.
- If not enabled already, navigate over to
chrome://extensions
and then toggle developer mode on the right hand side, enabling it. - On the left side of the page, click the button indicating "load an unpacked extension", and then locate the release folder and select it.
- Head on over to jisho.org, search for a word, and you should now see a button on the left hand side of each entry to export it to Anki.
Please keep in mind that this will only add cards to Anki if the Anki application is up and running, as well as the webserver provided by AnkiConnect. :)
Note: Once this is available to download through Chrome as an extension, the previous steps will no longer apply.
-
Sometimes AnkiConnect prevents incoming requests due to some CORS issues. This happens rarely, but if you add
"*"
towebCorsOriginList
in AnkiConnect's config, then this issue does not persist. -
Background is reporting some errors which need to be handled, such as...
Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
No tab with id: ...
Unchecked runtime.lastError: Cannot access contents of url "https://github.com/Vezqi/Jisho-Anki-Exporter". Extension manifest must request permission to access this host.
- Nothing for the time being!
-
If you would like to collaborate on this project, feel free to create a pull request, or message me on Twitter if you have any questions!
-
If you would like to beautify the original deck's format, feel free to customize it and make sure it contains all of the same files and create a pull request.
- Feel free to create an issue or send me a DM on Twitter!