obsidian-spaced-repetition icon indicating copy to clipboard operation
obsidian-spaced-repetition copied to clipboard

[Feat] Export to Anki option

Open ShreyasKallingal opened this issue 3 years ago • 15 comments

This a fantastic plugin to begin with—I really appreciate your work!

Would it be possible to have an export option to an Anki-compatible APKG? Thinking about long-term viability, Anki is a lot more established when it comes to SRS, and along with that comes a suite of addons like image occlusion. The main draw to Obsidian for me is the data security and longevity associated with plain text files. I think adding an Anki export option would achieve this for the flashcards as well.

This feature request is a bit out there, and I guess it's more of a discussion about the potential of this plugin. I would love to hear what you think about it :)

ShreyasKallingal avatar Apr 20 '21 00:04 ShreyasKallingal

Hello, Yes, this is already on the roadmap. I hadn't yet created an issue so I'll use this one instead. Thanks for your input.

st3v3nmw avatar Apr 20 '21 05:04 st3v3nmw

There is already a very popular plugin that handles exactly this problem - Obsidian_to_Anki by Pseudonium

Seeing as most people will be using your plugin to get away from Anki, I wonder if adding this feature would be a waste of work time for little gain?

DaveyUS avatar Apr 21 '21 22:04 DaveyUS

There are actually two Obsidian plugins for Anki. I agree with @DaveyUS. Including Anki functionality in this plugin seems redundant.

domkm avatar Apr 21 '21 23:04 domkm

I guess you're right. My issue with those is that the ID gets added to a new line, so it breaks lists. And they seem to get sparse updates, so I just thought it would be nice to have an Anki option.

ShreyasKallingal avatar Apr 21 '21 23:04 ShreyasKallingal

@ShreyasKallingal I feel you on that. Have you tried contacting one of those devs to try to get a work around for that issue?

DaveyUS avatar Apr 22 '21 02:04 DaveyUS

Looks like I misunderstood something.

I was thinking that the export to Anki be a one-time thing (not syncing like what the other plugins do). For instance, if someone no longer wants to use this plugin they can export everything into an APKG they can import into Anki.

st3v3nmw avatar Apr 22 '21 05:04 st3v3nmw

Our point was simply that there are already two robust plugins that solve for the Obsidian to Anki workflow, so it might be redundant to add to your plugin which is designed to live solely inside of obsidian... however it's your plugin and we are grateful for any work you do on it!

DaveyUS avatar Apr 22 '21 17:04 DaveyUS

I also don't like syncing as well and the previous plugins are quite limited... I'm really looking forward to seeing that this plugin supports Anki soon. Thanks in advance!

jakeoung avatar May 11 '21 22:05 jakeoung

There is also an Anki plugin, Obsidianki. It imports files from Obsidian into Anki without the need to install a second spaced repetition plugin in Obsidian.

jsmm avatar May 29 '21 19:05 jsmm

There might still be some relevancy of this feature request, even when considering the other options. The main reason you would add the export to .anki feature in this plugin, rather than exporting with the other plugins:

A user wants to retain their progress on each card and have that transfer to Anki (i.e. I wouldn't want all my "easy" cards to now be new in the schedule).

The initial reaction is this Anki export feature would be a conflict of interest. However, I'd encourage you to consider the user who specifically stays away from plugins/apps that seem to lock them in.

God forbid you lost interest in this plugin someday, it's nice to know you can extract your cards and their progress via a .anki export.

MatthewJMullins avatar Jul 02 '21 10:07 MatthewJMullins

Any news on this feature? I'm looking forward..

jakeoung avatar Jul 20 '21 19:07 jakeoung

I feel like exporting to Anki really is out of scope of this plugin. I think that this plugin should really be focused on spaced repetion within Obsidian. Like mentioned, there are other plugins that do anki export and I think that probably support could get added to them instead to support the type of regexes that this plugin already does.

lamdor avatar Jul 21 '21 14:07 lamdor

Each plugin has its own syntax and my markdown note will be messy if I use two different plugins. I don't think it's a good idea to use different plugins together.

jakeoung avatar Jul 21 '21 14:07 jakeoung

I agree with @rubbish: I was thinking that the export to Anki be a one-time thing (not syncing like what the other plugins do). For instance, if someone no longer wants to use this plugin they can export everything into an APKG they can import into Anki.

st3v3nmw avatar Jul 27 '21 14:07 st3v3nmw

It could be useful. You wouldn't have to mix the extra syntax for two plugins which could get messy in notes. Maybe have one way syncing with Anki. Also control which cards get exported by using a tag. However, I agree that spaced repetition isn't the same as using flashcards in the traditional sense but may have some overlap?

andrewcrook avatar Dec 25 '21 12:12 andrewcrook

This feature has become necessary since obsidian to anki is no longer maintained, and seems to have a lot of issues opened with special cases.

oliviercarizzoni avatar Sep 27 '22 14:09 oliviercarizzoni