There's a number of clipboard management and inspection tools such as xclip and you can bind keys to do arbitrary commands with a bunch of tools.
There's a wide variety of ways to send stuff over the network as well.
The architecture is pretty obvious
Copy on remote, clipboard manager emits over network, local server picks up text, puts in clipboard.
This is like a few hours at most