Memex icon indicating copy to clipboard operation
Memex copied to clipboard

(Feature Request): Allow connection with Anki

Open ghost opened this issue 3 years ago • 1 comments

While reading online, it is often necessary to create notes to remember it later.

Anki is the most popular software for creating notes and using spaced based repetition. https://en.wikipedia.org/wiki/Anki_(software)

Would it be possible to allow a connection among Memex and Anki to creates notes quickly while browsing ?

PS. AnkiConnect is a tool that could serve the purpose of conecting Memex and Anki: https://github.com/FooSoft/anki-connect

ghost avatar Jul 03 '21 04:07 ghost

Hi @marreromarco . As another avid Anki user I'd love to see Memex work with AnkiConnect, though we (the Memex team) are fairly limited with our resources at the moment and are focused on other major features. So I don't see it happening anytime soon.

Though I personally have used Memex in its current state to create Anki notes from annotations I created on websites via the text export templates feature, with minimal effort. You just need to set up a custom template which creates a TSV from iterating over all the notes. Then you just need to export, which copies the generated TSV to your clipboard, and paste it into a file which can then be imported directly into Anki.

Here's my very simple text exporter template I've used to export annotations of foreign language web articles to my Anki sentence deck. Note that there are invisible tab characters between each of the four fields (audio fields omitted, so there's two tab characters after the {{{NoteText}}}) - unfortunately the text exporter templates don't yet support \t, etc.. You might want to use another character if your highlights/notes contain the tab character

vn-text	en-text	vn-audio	en-audio
{{#Notes}}
{{{NoteHighlight}}}	{{{NoteText}}}		
{{/Notes}}

There's a lot more info on how to use the text exporter templates here, including different variables that are made available which you might want to factor into your notes: https://www.notion.so/worldbrain/Text-Export-Templates-bb1794c15dea4e588a59b52d37ca0070

Or feel free to let me know if you need any more help getting it to work

poltak avatar Jul 05 '21 03:07 poltak