share-clipboard-rs

Crates.ioshare-clipboard-rs
lib.rsshare-clipboard-rs
version0.1.1
created_at2025-05-06 01:41:52.905973+00
updated_at2025-05-14 09:37:29.623059+00
descriptionA lightweight, cross-platform utility written in Rust to seamlessly share your clipboard content across multiple devices on your local network.
homepage
repository
max_upload_size
id1661784
size48,284
hackerzgz (hackerzgz)

documentation

README

share-clipboard-rs

Crates.io Build Status License: MIT

A lightweight, cross-platform utility written in Rust to seamlessly share your clipboard content across multiple devices on your local network.

Inspiration and Compatibility

This project is heavily inspired by the original share-clipboard created by coralw.

A primary goal of share-clipboard-rs is to maintain protocol compatibility with the original implementation. This means you should be able to use share-clipboard-rs instances alongside clients or servers based on the original share-clipboard project, allowing for interoperability within the same network.

Why Rust?

This version was created to leverage the benefits of Rust, including:

  • Performance: Efficient execution and low resource usage.
  • Memory Safety: Reduced risk of crashes and vulnerabilities.
  • Cross-Platform: Easier compilation for Windows(untested), macOS, and Linux from a single codebase.

Features

  • Cross-Platform: Runs on Windows(untested), macOS, and Linux.
  • Lightweight: Minimal impact on system resources.
  • Protocol Compatible: Interoperates with the original share-clipboard ecosystem.
  • Simple Usage: Designed to be easy to set up and run.

Installation

Option 1: Pre-compiled Binaries (Recommended)

Download the latest pre-compiled binary for your operating system from the Releases page.

Option 2: Using Cargo

If you have the Rust toolchain installed (rustup), you can install directly from Crates.io (if published):

cargo install share-clipboard-rs

Or, you can build from source:

  1. Clone the repository:

git clone https://github.com/hackerzgz/share-clipboard-rs.git
cd share-clipboard-rs
  1. Build the release binary:
cargo build --release

The executable will be located at target/release/share-clipboard-rs.

Commit count: 0

cargo fmt