Is ther anyway to export existing anki cards to org-mode?

I have found some github projects that deals with creating cards with org-mode, but not the other way arround.

I eventually would like to convert notes (org files) to anki cards, but to be able to do that I first have to export my existing anki cards to org-mode.

Edit:

I could not find an existing solution, so I wrote a python script to import my notes from anki using AnkiConnect, convert the html to org using pypandoc and write the org file using OrgFormat.

Edit 2, fixing typos.

submitted by /u/LvVikings
[link] [comments]