- Multiple platforms
- ✅OSX
- ✅Linux
⚠️ windows (only support text)
- Multiple MIMEs
- ✅text/plain
- 🏃image/png
All dependencies are bundled into this repo, no additional dependencies.
- xclip
- ubuntu
sudo apt-get install -y xclip- How to install xclip ubuntu package on Ubuntu 20.04/Ubuntu 18.04/Ubuntu 19.04/Ubuntu 16.04
- arch linux
pacman -S xclip- Arch Linux - xclip 0.13-3 (x86_64)
- ubuntu
- Install
git clone https://github.com/FuDesign2008/share-clipboard.git
- Start the server:
npm install && npm run server
Start the client on another machine.
- Install
git clone https://github.com/FuDesign2008/share-clipboard.git
- Create
.envfrom './.env.example' and edit theSERVER_HOST - Start the client:
npm install && npm run client
- Edit
.envfile ifSERVER_HOSTis changed
- server 开机自动启动 ✅
- mac 下开机自动启动,发送时中文存在乱码
- 手动运行
npm run server则没有问题
- client 开机自动启动 ✅
- linux 下开机自动启动, 本机剪贴板发生变化时,不能将信息发送给 server
- 但可以接收 server 的变化
- 粘贴图片/文件的支持
- client 根据电脑名称自动连接 server