Is it theoretically possible to use AnkiConnect with TiddlyWiki?

146 views
Skip to first unread message

kat

unread,
Jul 4, 2019, 6:23:40 PM7/4/19
to TiddlyWiki
I have been thinking about how I could combine my use of Anki (a flashcard program) with TiddlyWiki. Since I am currently using them both to 'capture knowledge' this seems to make sense to me.

There is an Anki plugin called AnkiConnect that can link Anki to other apps via a RESTful API.

Anki cards are similar to Tiddlers (I think...) in that they are essentially just database entries. It would be cool if I could create my flashcards within TiddlyWiki then sync them to Anki via AnkiConnect. That way the flashcards could be linked to other notes in more complex/flexible ways than Anki currently allows.

I don't know enough about TiddlyWiki to have a go at this yet, so I am just asking if it is theoretically possible? I feel that it is worth knowing because it may change the way that I structure my Wiki/Anki decks in the meantime.

Mat

unread,
Jul 4, 2019, 7:11:18 PM7/4/19
to TiddlyWiki
Do some searches. This has come up before. I don't know if it has been fully solved but search for anki, quiz cards etc.

<:-)

Jed Carty

unread,
Jul 5, 2019, 4:04:39 AM7/5/19
to TiddlyWiki
I haven't looked at anki specifically but I made a language flash card system for French that may be a reasonable place to start.

https://ooktech.com/jed/ExampleWikis/Flashcards/

bimlas

unread,
Jul 6, 2019, 6:40:54 PM7/6/19
to TiddlyWiki

kat

unread,
Jul 7, 2019, 1:08:59 PM7/7/19
to TiddlyWiki
Thank you for all your responses.

Although I am interested in these examples I think my question is really better phrased as the following:

Can TiddlyWiki (potentially) connect to a REST API?

I ask because TiddlyWiki is obviously a fairly unusual program, so I wasn't sure if there was some reason that this would not be possible. I accept that this is likely a very noobish question - I currently know next to nothing about TiddlyWiki or RESTful interfaces.

Again I am not really looking for solutions at the moment, just a sense of what may be possible for me to mess around with down the line.

Jed Carty

unread,
Jul 7, 2019, 1:23:38 PM7/7/19
to TiddlyWiki
Yes, tiddlywiki can connect to a REST api. It requires a javascript plugin but it is possible. The plugin would have to do two parts, one is make the GET or POST requests and then it would have to interpret the response in a usable way.

The TWederBob plugin  does this specifically for the api exposed by Bob servers, but it could be used as a template for connecting to other things.

If the api isn't too complex and you know a bit of javascript modifying that to fit he AnkiConnect api could be straight forward. I am not sure if it is or not but perhaps we will be lucky.

bimlas

unread,
Jul 7, 2019, 1:28:18 PM7/7/19
to TiddlyWiki
What you can do in Javascript, you can do it in TiddlyWiki as well (mostly) - it depends only on your programming knowledge. For example, in https://tiddlywiki.com/prerelease/, GitHub saver also uses REST API.

kat

unread,
Jul 7, 2019, 4:20:47 PM7/7/19
to TiddlyWiki
Thank you that's good to know!
Reply all
Reply to author
Forward
0 new messages