Hello Anki lovers!
Some time ago I needed to export Anki .apkg collections directly via a browser script but all the libraries I found were unmaintained and quite old, e.g. lacking TypeScript support or no possibility to import as a module. So I’ve decided to ship a fresh one that will address my needs.
Now I’m happy to share it with the world:
https://github.com/nadamai/apkg-browser-builder
I plan to actively maintain it so if there are any needs or issues to address I am open to feedback.