35 1
Sign in to rate

AnkiConnect

0.03MB. Updated 2018-07-30. Supports both Anki 2.0.x and 2.1.x.

Description

The AnkiConnect plugin for Anki provides a RESTful interface for creating flash cards from external applications. When installed, AnkiConnect will run a minimal Ajax server on port 8765 when Anki is running; connecting clients, such as the Yomichan Browser Extension can make use of the exposed API extend Anki functionality. This plugin is compatible with the Anki 2.1.x (alpha) releases! Please see the AnkiConnect homepage for more information. If you are upgrading, please be sure to remove existing copies of this plugin in your addons directory.

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

To download this add-on, please copy and paste the following code into the desktop program:

2055492159

If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

Other Anki 2.0.x Add-Ons Other Anki 2.1.x Add-Ons Ask a Question

Reviews

on 1533817724
Very useful to automate add cards!
on 1530994716
Very useful
on 1529215806
just very good
on 1526428800
Works perfectly!
on 1525651200
The only "approved" way to interact with the app after https://anki.tenderapp.com/discussions/ankiweb/1886-issue-with-saving-cards-via-rest-api
on 1525392000
Can't imagine building a vocabulary deck without AnkiConnect (+ Yomichan).
on 1524355200
great
on 1523491200
Great documentation, great add-on, thanks!
on 1521849600
This extension made it possible for me to make an emacs-based ui for anki! Thanks!
on 1520467200
Thanks!
on 1519344000
Thankyou let me save a lot of time as this add-on
on 1518480000
Very helpful. Thank you very much!
on 1514505600
Thank you for the effort, saves a lot of time for adding new notes!
on 1513728000
explain what it does! It does not appear in my anki
on 1512000000
I have some ideal to use this API,
your add-on really save me a lots of time,
Thank you for contribute it.
on 1509753600
I'm sure this addon is awesome but

If you could speak in plain english what this add-on does, it would be quite helpful...
on 1505433600
Exception when requesting from AnkiConnect

I'm using last Anki 2.1 beta 15 and cot exception when trying default request:
curl localhost:8765 -X POST -d '{"action": "deckNames", "version": 5}'
Caught exception:
File "C:/Users/VC/AppData/Roaming/Anki2\addons21\2055492159\__init__.py", line 889, in advance
self.server.advance()
File "C:/Users/VC/AppData/Roaming/Anki2\addons21\2055492159\__init__.py", line 235, in advance
self.advanceClients()
File "C:/Users/VC/AppData/Roaming/Anki2\addons21\2055492159\__init__.py", line 250, in advanceClients
self.clients = list(filter(lambda c: c.advance(), self.clients))
File "C:/Users/VC/AppData/Roaming/Anki2\addons21\2055492159\__init__.py", line 250, in <lambda>
self.clients = list(filter(lambda c: c.advance(), self.clients))
File "C:/Users/VC/AppData/Roaming/Anki2\addons21\2055492159\__init__.py", line 159, in advance
self.writeBuff += self.handler(req)
File "C:/Users/VC/AppData/Roaming/Anki2\addons21\2055492159\__init__.py", line 285, in handlerWrapper
resp += body
<class 'TypeError'>: can't concat bytes to str
on 1496102400
Incredibly helpful addition by a very responsive dev

on 1489795200
This is the add-on that's been keeping a bunch of Anki-related Google/Firefox ex

Not sure it the author would see it or not, but thank you for your work!
As a code-dummy,I don't know whether this is a beautifully written py. file or not, but sure to say that without it, a couple of Anki extension would be at great trouble.