Plan for JS API similar to AnkiDroid for Anki and AnkiMobile?

We have discussed here,

Now, instead of creating only for AnkiDroid or AnkiMobile, what is thought on creating for whole ecosystem. I have created this repo to support Anki also.
GitHub - krmanik/AnkiJS-API: Anki JavaScript API to get cards informations in reviewer window

And I think it will just exposing the methods for Anki and it will be available to whole ecosystem.

@dae what is your thought on this? I can create proof of concept for this before start working on it. (Before working on AnkiDroid JS Addons [JS Addons] list addons from addons directory by krmanik · Pull Request #10985 · ankidroid/Anki-Android · GitHub)

7 Likes

I don’t feel like I can give this the attention it deserves at the moment, so I’d prefer to keep this on the backburner for a bit longer I’m afraid.

I’d like for us to make a bit more progress on porting our screens to Svelte first, as that may also influence the API (for example, we may want to move the card area into an iframe to better isolate it, which may require message passing from the rest of the interface).

6 Likes

I understand this is low priority, wait for it.

2 Likes