xarantolus / mysti

Self-hosted clipboard sync and remote command runner for Linux and Windows
MIT License
2 stars 0 forks source link

Custom actions on clipboard content match #2

Closed xarantolus closed 10 months ago

xarantolus commented 10 months ago

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

xarantolus commented 10 months ago

Implemented in 55b3e31146b5e7dbe1fbd1c9d1e8fc7cf908bcb3