https://github.com/reu/clipshare
Share your clipboard between machines of your local network.
https://github.com/reu/clipshare
clipboard lan share
Last synced: 5 months ago
JSON representation
Share your clipboard between machines of your local network.
- Host: GitHub
- URL: https://github.com/reu/clipshare
- Owner: reu
- License: mit
- Created: 2023-05-05T23:07:38.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-17T13:03:52.000Z (about 1 year ago)
- Last Synced: 2025-04-30T20:14:29.100Z (5 months ago)
- Topics: clipboard, lan, share
- Language: Rust
- Homepage:
- Size: 74.2 KB
- Stars: 84
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```bash
$ clipshare
Run `clipshare 11337` on another machine of your network
```And then on another machine on the same network
```bash
$ clipshare 11337
Connecting to clipboard 11337...
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](https://github.com/reu/clipshare/releases).### Cargo
If you are a Rust enthusiast, installing via Cargo is just:
```bash
$ cargo install clipshare
```### From source
Make sure you have Rust installed, then:
```bash
$ 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.