If the clipboard content (only text) matches a regex (or glob, maybe support both?), run a configurable command on the server with args that can be specified from the regex (e.g. via capture groups).
One example could be a match for a YouTube link, which will be sent to a video archival server by executing a custom curl command.
This should require changes only on the server. Maybe also adjust the Dockerfile to install tools like curl into the container
If the clipboard content (only text) matches a regex (or glob, maybe support both?), run a configurable command on the server with args that can be specified from the regex (e.g. via capture groups). One example could be a match for a YouTube link, which will be sent to a video archival server by executing a custom curl command. This should require changes only on the server. Maybe also adjust the Dockerfile to install tools like curl into the container