YACReader / yacreader

This repo contains the code of YACReader's desktop version.
https://www.yacreader.com
GNU General Public License v3.0
965 stars 95 forks source link

[Server] Is there a way to trigger update-library via an HTTP request? #272

Open thedeany opened 3 years ago

thedeany commented 3 years ago

I'm currently running YACReader and Mylar3 in separate Docker containers and I'm wanting to trigger a post-processing script in Mylar to run update-library in YACReader but coming up empty on how to do this by actually running the YACReaderLibraryServer update-library <library> command. So I figured I could do it via an HTTP request since the containers are within the same network. However, looking through the server code, I'm not seeing such a way.

Am I missing a way to go about this or is it not currently possible?

selmf commented 2 years ago

This indeed currently is not possible. I'm not familiar with Mylar3, but if I wanted to remotely trigger an update I'd probably look into running the command via ssh.