https://github.com/megahertz/clipboard-share
Share clipboard between two computers
https://github.com/megahertz/clipboard-share
Last synced: 10 months ago
JSON representation
Share clipboard between two computers
- Host: GitHub
- URL: https://github.com/megahertz/clipboard-share
- Owner: megahertz
- License: mit
- Created: 2016-08-03T12:32:15.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-02T07:31:28.000Z (over 9 years ago)
- Last Synced: 2024-11-20T04:49:01.996Z (over 1 year ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# clipboard-share
[](https://travis-ci.org/megahertz/clipboard-share)
[](https://badge.fury.io/js/clipboard-share)
## Description
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)
1. Install [Node.js](http://nodejs.org)
* on OSX use [homebrew](http://brew.sh) `brew install node`
* on Windows use [chocolatey](https://chocolatey.org/) `choco install nodejs`
* on Debian based linux use `apt-get install nodejs npm`
2. Install clipboard-share with [npm](https://npmjs.org/package/clipboard-share):
npm install -g clipboard-share
## Usage
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
## License
Licensed under MIT.