💿 Installation
To get set up with AnkiBridge you will need to do the following:
- Install the Obsididan plugin via one of the three methods described in Plugin Installation below
- Install the AnkiConnect plugin in Anki and set it up as described in Installing AnkiConnect
Plugin installation
Method 1: Community Plugins (recommended)
Install this plugin via the Obsidian Community Plugin interface
You can activate this plugin within Obsidian by doing the following:
- Open Settings > Third-party plugin
- Make sure Safe mode is off
- Click Browse community plugins
- Search for "AnkiBridge"
- Click Install
- Once installed, close the community plugins window and activate the newly installed plugin
Method 2: BRAT
If you have Obsidian BRAT plugin installed you can install AnkiBridge by doing the following:
- Open
Command Palette
- Select the
Obsidian42 - BRAT: Add a beta plugin for testing
command - Paste in
JeppeKlitgaard/ObsidianAnkiBridge
into the text field - Press
Add Plugin
- Activate the plugin now found under the
Settings → Community Plugins
menu
Method 3: Manual Installation
Alternatively you can do a manual installation:
- Download the latest
ObsidianAnkiBridge-X.Y.Z.zip
from GitHub releases. - Create a new folder named
ObsidianAnkiBridge
- Extract the files within the zip file into
ObsidianAnkiBridge
folder - Place the folder in your .obsidian/plugins directory
- Reload plugins (the easiest way is just restarting Obsidian)
- Activate the plugin as normal.
Installing AnkiConnect
- Install AnkiConnect in Anki
- Tools → Add-ons → Get Add-ons...
- Paste the code
2055492159
> OK
- Press the
Setup
button within the AnkiBridge settings in Obsidian- Press
YES
on the Anki pop-up
- Press
As an alternative to step 2 you can also paste the configuration below into the AnkiConnect configuration:
- Select the plugin → Config → Paste the configuration below
AnkiConnect Configuration
Other method is preferred
Using the other method described above is preferred, but this should work as well.
{
"apiKey": null,
"apiLogPath": null,
"webBindAddress": "127.0.0.1",
"webBindPort": 8765,
"webCorsOrigin": "http://localhost",
"webCorsOriginList": [
"http://localhost",
"app://obsidian.md"
]
}