Good to know. Thanks for sharing gmulligan.
For what it is worth, I'm writing something similar and opting to go with a debian VM w/ X11. I'd prefer to go headless but I've not had much luck with finding an approach that way that works. With this approach I have access to the webclipper API.
The last thing I'm struggling with here is triggering a sync. I set the interval to 5 minutes, but it would be nice if I could trigger synchronization programatically to make it more automatic. Any ideas on how to do this? I don't see it documented in the data API. I see a SyncStartEvent in the plugin API, maybe that is callable? This feature didn't exist as of June 2020 and I'm not sure if that has changed since then.
I'd prefer not to use xclicker or something like that but that's where I'm leaning right now (either that or looking through the codebase to see if there's anything undocumented) Please let me know if anyone has some thoughts. Happy to share the usecase if anyone is interested also.