Skip to content

stan-chen/share-anywhere

Repository files navigation

share-anywhere

Sharing the clipboard data between OSX and Linux

Use vue3 + element-plus + tauri

Features

  • Plain Text
  • Image
  • File

Installation

Prerequisites

rust 1.68 + npm v18.15 , See Tauri Prerequisites

Build

git clone git@github.com:stan-chen/share-anywhere.git
cd share-anywhere
## nvm use
# install nodejs dep
npm install --no-save
# install tauri cli
cargo install tauri-cli --version ^1
npm run tauri:build

Impl Overview

Use UDP multicast to publish clipboard summary (AES-GCM key encryption can be configured), and the receiver determines whether to update the clipboard by comparing it with the local clipboard data.

Update the clipboard using HTTP(s) API (client & server certificate authentication can be configured).

Limit

  • Due to the temporary inability to obtain the clipboard timestamp, the update adopts a priority release strategy (whoever publishes last will be applied).
  • File sharing is relatively complex, so it is currently not supported.

About

share the clipboard data between OSX and Linux

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published