#clipboard #share #networking #machines #local #secure #text

app clipshare

Share clipboard between machines on your local network

3 releases

0.0.7 May 13, 2023
0.0.3 May 6, 2023
0.0.2 May 6, 2023

#9 in #machines

MIT license

19KB
398 lines

Clipshare

Do you ever have to work on multiple machines?

Do you ever used your Github™ Gists just to send some text between then?

Clipshare is here to save the day!

You can now secure share your clipboard between your machines (well, given they are on the same network).

How to use

On one machine:

$ clipshare
Run `clipshare 11337` on another machine of your network

And then on another machine on the same network

$ clipshare 113377
Connecting to clipboard 113377...
Clipboards connected

And voilá, the clipboards of both machines are now magically the same!

Instalation

Pre-Built Binary

Each release comes with pre-built binaries of several platforms. Grab it from Github Releases.

Cargo

If you are a Rust enthusiast, installing via Cargo is just:

$ cargo install clipshare

From source

Make sure you have Rust installed, then:

$ git clone https://github.com/reu/clipshare.git
$ cd clipshare
$ cargo build --release
$ cp ./target/release/clipshare /usr/local/bin/

Limitations

Yes

Really, it is quite limited, it can only share utf8 encoded text and images. Unfortunately you can´t share files for now.

Implementation

Nothing fancy here, we just broadcast the internal ip on the network and connect the processes using the informed port "clipboard code".

The data then is transfered between the machines via an encrypted TLS connection.

Dependencies

~17–32MB
~593K SLoC