smoothbrain-ai / smoothbrain-anki

SmoothBrain is an Anki plugin that fetches Readwise highlights and makes flashcards using OpenAI GPT.
37 stars 6 forks source link

Upload to AnkiWeb for easy installation #9

Open alexbowe opened 1 year ago

alexbowe commented 1 year ago

Upload to AnkiWeb so people can install it from within Anki's UI. See docs.

It'd be nice to automate this if possible, but another ticket can be made for that if it is non-trivial.

alexbowe commented 1 year ago

@abdnh Do you know if there is a way to automate uploading to AnkiWeb (e.g. as a GitHub action on the master branch?)

abdnh commented 1 year ago

It can be probably automated with little effort by investigating the data sent by the form in upload page: https://ankiweb.net/shared/upload But note that AnkiWeb has no public API and their terms and conditions doesn't allow programmatic access outside approved clients. There is still a semi-automated method using web automation, e.g. https://github.com/AnKing-Memberships/anking_addon_template/blob/master/.github/workflows/upload_to_ankiweb.py (I'd probably start using this method in my add-ons)