The Node.js version of Share Clipboard allows you to share the clipboard text across different platforms, including Mac OS X, Windows and Linux.
With the help of Share Clipboard apps, you can even share the clipboard text with iOS devices.
Share Clipboard acts as client as well as a server, you can copy text between different Share Clipboard instances.
- install the copy-paste module:
npm install copy-paste
- run the script in the terminal:
node share-clipboard.js
ornode share-clipboard.js <IP_ADDRESS>
(such asnode share-clipboard.js 192.168.1.100
, to connect to a Share Clipboard instance that is already running on 192.168.1.100) - if you haven't specified the IP address in the previous step, connect other Share Clipboard (or Share Clip) instances to this instance
- you can copy among the Share Clipboard instances now
Share Clipboard Server acts as a redirector, broadcasting the clipboard text from a Share Clipboard client to the other ones, the server clipboard is left untouched.
- run the script in the terminal:
node share-clipboard-server.js
- connect Share Clipboard (or Share Clip) clients to the server
- you can copy among the Share Clipboard clients now
Note: You should run this script on a computer that no Share Clipboard is running on, since they use the same port (7582).
Share Clipboard / Share Clip is also availble as native apps, check them out if you are interested.
Share Clipboard for iOS:
http://itunes.apple.com/app/share-clipboard/id519596127?mt=8
Share Clipboard Free for iOS (free):
https://itunes.apple.com/app/share-clipboard-free/id555952100?ls=1&mt=8
Share Clipboard for Mac OS X:
https://itunes.apple.com/app/share-clipboard/id619587463?ls=1&mt=12
Share Clip for Windows/Linux (free):
https://www.dropbox.com/sh/v1gczatn5sk2mqs/QH9p3xSoGC/ShareClip
Share Clipboard Homepage:
http://langui.net/share-clipboard/
Share Clipboard is released under the MIT license. See the LICENSE file.