killergerbah / asbplayer

Browser-based media player and Chrome extension for subtitle sentence mining
MIT License
543 stars 69 forks source link

Ankidroid API implementation (without the use of anki-connect addon) #354

Open ONEsuzuki opened 10 months ago

ONEsuzuki commented 10 months ago

Is your feature request related to a problem? Please describe. I just want to have the Asbplayer installed on kiwi browser on android and be able to have it connected to ankidroid without the use of the Anki connect GitHub addon, using the native ankidroid API to connect to the app without the use of the Anki-connect addon installed.

Describe the solution you'd like Finding or using an "API connect key" or just using a link to the app similar to Anki connect, but connecting via the native Ankidroid API would be very cool.

Describe alternatives you've considered I know there is a way to install the Anki connect addon to android but it's hassle when it shouldn't be, also you have to be using a beta version of the app when I last checked, I don't know any other alternatives.

Additional context I would love to hear you're thoughts, especially as kiwi web browser when on Netflix can open the app for it, I see no reason as to why the extension couldn't work like this, of course I don't know what it would take code wise or if it's possible as a chrome extension. PS. Really like the recent changes and updates to the asbplayer, many thanks.

killergerbah commented 10 months ago

@ONEsuzuki Thanks for the suggestion, I would love to make asbplayer more accessible on mobile and I'm actually surprised that the latest version apparently usable on kiwi browser. As for the Ankidroid API, and other ways of directly talking with Ankidroid, those seem intended for use within Android apps and does not seem callable from asbplayer, from inside Kiwi browser. I believe an alternative would be to host an AnkiConnect compatible flashcard database remotely on the Internet, which can sync with Anki desktop via an addon. I would be curious to know what you think about that solution.

ONEsuzuki commented 10 months ago

"AnkiConnect compatible flashcard database remotely on the Internet" sounds insane. In a good way I mean if you can't connect locally it makes sense, I wonder if you could store them locally somewhere in an export then upload them to this database, though unlikely if you're using streaming media, I guess if you can find an easy way of integrating it to an Anki sever database then It would work.