Skip to content

Share Clipboard allows you to share the clipboard text across different platforms, including Mac OS X, Windows and Linux.

License

Notifications You must be signed in to change notification settings

FuDesign2008/share-clipboard

 
 

Repository files navigation

share-clipboard

Features

  1. Multiple platforms
    • ✅OSX
    • ✅Linux
    • ⚠️windows (only support text)
  2. Multiple MIMEs
    • ✅text/plain
    • 🏃image/png

Dependencies

OSX

All dependencies are bundled into this repo, no additional dependencies.

Linux

  1. xclip

Basic Usage

Server

  1. Install
    • git clone https://github.com/FuDesign2008/share-clipboard.git
  2. Start the server:
    • npm install && npm run server

Client

Start the client on another machine.

  1. Install
    • git clone https://github.com/FuDesign2008/share-clipboard.git
  2. Create .env from './.env.example' and edit the SERVER_HOST
  3. Start the client:
    • npm install && npm run client
  4. Edit .env file if SERVER_HOST is changed

Advanced Usage

  1. Automatically Run Service on System Startup

TODO

  1. server 开机自动启动 ✅
    • mac 下开机自动启动,发送时中文存在乱码
    • 手动运行 npm run server 则没有问题
  2. client 开机自动启动 ✅
    • linux 下开机自动启动, 本机剪贴板发生变化时,不能将信息发送给 server
    • 但可以接收 server 的变化
  3. 粘贴图片/文件的支持
  4. client 根据电脑名称自动连接 server

Thanks

About

Share Clipboard allows you to share the clipboard text across different platforms, including Mac OS X, Windows and Linux.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 86.0%
  • JavaScript 14.0%