My new Flashcard Deck file format *.ankix

I am currently developing a new file format *.ankix, because both *.apkg and *.anki2 are not good enough!

As for the file format, I will try to do more in SQLite, and less in Python.

I am looking for a Front-end supporting this format, but I am not really good not at front-end stuff… I use it mainly using Jupyter Notebook, though.

Currently learning Chinese: https://github.com/patarapolw/zhlib/blob/master/zhlib/export.py

2 Likes

Hi! Quick question as I’m currently away on Holiday:

I noticed the description says its not a zipfile, does that mean it doesnt support media files?

And do you have a sample .ankix file? We might be able to collaborate on an import function :slight_smile:

Glad to see you here! @patarapolw

1 Like

I embed media (images, audios, fonts) as blob, and it can be fully converted from *.apkg. On viewing in HTML, I convert them to base64.


1 Like

Hmm… I personally really dislike storing blobs in a (online) database as it can quickly take up huge amounts of space and database storage isnt particary cheap.

Is the media stored in a separate table so it would be easy to extract? ^^

Thanks for the sample files, will take a look when I have some spare time :slight_smile: