It's a small client-server script which allows to synchronise clipboard between two computers. It's very useful when you have a virtual machine like VirtualBox without installed guest additions (Mac OS X guest for example). It works on Linux, Mac OS X and Windows.
Installation (both client and server)
Install clipboard-share with npm:
npm install -g clipboard-share
Starting a server using one of the following ways:
clipboard-share # Using default settings, bind to 0.0.0.0:1077 clipboard-share 192.168.1.2 # Using default port 1077 clipboard-share 192.168.1.2:1077 # Full syntax
Starting a client using one of the following ways:
clipboard-share -c # Using default settings, connect to 10.0.2.2:1077 clipboard-share -c 192.168.1.2 # Using default port 1077 clipboard-share -c 192.168.1.2:1077 # Full syntax
Setting refresh interval in milliseconds (how often script will spy on clipboard changes), can be set in both client and server mode:
clipboard-share -c -i 100
Licensed under MIT.