Alex Yatskov

Results 58 comments of Alex Yatskov

As is, this is a big security risk. Someone can just execute arbitrary Python code as system user by sending a request to Anki that uses this proposed action.

Probably a step to explicitly allow this action in the config would be required. It would also have to be made very obvious to the user that their computer can...

I've temporarily rolled back to the previous version, until we can figure this out. It looks like a lot more folks are using older versions than I thought. @oakkitten as...

Yeah that sounds good, I'll upload with proper version gating this weekend.

That's interesting. Just for sanity sake, trying it on Linux here: ``` [alex@flatline ~]$ for i in `seq 10`; do time curl localhost:8765; done AnkiConnect v.6 real 0m0.039s user 0m0.012s...

Just tested this on 2.1.13 and it appears to work fine for me. Can you try running the unit test and see if that fails for you (check `test.sh`).

The note browser probably resets the note to the previous value on close.

Yeah, I think that should be fine. We'd probably want this new behavior behind an optional flag, just so that we don't change the behavior of existing tools that use...

If you want to add audio, you should be using the media APIs. They take base64-encoded data instead of file URLs.

AnkiConnect was built as something to be used alongside Anki, so the idea is that the user sets up their deck there, and then your application allows the user to...