An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# clipboard-share
[![Build Status](https://travis-ci.org/megahertz/clipboard-share.svg?branch=master)](https://travis-ci.org/megahertz/clipboard-share)
[![npm version](https://badge.fury.io/js/clipboard-share.svg)](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.