there should be relatively easy to implement X11-based copy/paste using [node-x11](https://github.com/sidorares/node-x11) . This one also may be helpful: https://github.com/Benvie/node-clipboard (it uses node-ffi )