baiyuze/copysync

PasteFerry (隔空贴): sync the clipboard and files between computers — copy on one, paste on another. Mac, Windows, Linux. Peer-to-peer, end-to-end encrypted, self-hosted. 跨电脑剪贴板同步,Mac、Windows、Linux 互通。

Go

5

83 commits

updated Oct 14, 2026

See the code

See what people are saying

SourceMessageScoreDate

CopySync - copy on one computer, paste on the other (open source, Mac/Windows/Linux) (r/SideProject)

I have a Mac at home and a Windows PC at work, and got tired of sending things to myself through a chat app to move them between the two. So I built CopySync: pair two computers once, then copy on one and paste on the other. Text, images, files, even whole folders. Devices connect directly and…

0

Oct 13, 2026

README

CopySync icon

CopySync

Copy on one computer, paste on the other. Mac, Windows and Linux.
Text, images, files and whole folders — across accounts and across networks.

Download · Website · 简体中文

Release macOS 13+ Windows 10 / 11 Linux x64 / ARM64 AGPL-3.0 License

CopySync's history view: files, images and text arriving from other Macs

Why

Universal Clipboard needs the same Apple ID and both Macs close by. AirDrop makes you accept every time and doesn't touch the clipboard. Messaging yourself means manual downloads and your files on someone else's server. With one Mac and one Windows PC, none of the built-in options work.

With CopySync you pair two computers once. After that, copy on one and paste on the other — Mac to Mac, Mac to Windows, or Windows to Windows. On the same network it works with no server at all; across networks, a server you run yourself or Tailscale lets the two find each other. Data goes directly between the devices, end-to-end encrypted; when a direct connection can't be made, it is relayed through your server, which still can't read it.

CopySyncUniversal ClipboardAirDropChat apps
Different Apple IDs✓—Needs accepting✓
Different networks (home ↔ office)✓——✓
Paste right away, nothing to accept✓✓——
Between Mac and Windows✓——✓
Files and whole folders✓Unreliable✓Zipped
History of what you copied✓——Scroll back
Content stays off third-party servers✓✓✓—

Features

  • Text, rich text, images, files and folders. What you copy is what comes out on the other side.
  • Size-aware transfer. Anything under 50 MB (adjustable) is pushed as soon as you copy; larger files sync as a record you pull when you need them.
  • History of the last 3 days (adjustable) across all your computers, with image preview.
  • No server on the same network. Computers find each other and pair with a code; on a different subnet you also enter an address.
  • Direct first, relay as fallback, including office networks with several uplinks.
  • Fingerprint check when pairing, so neither the server nor anyone on the network can impersonate your device.
  • Runs in the background, starts at login, recovers from crashes. English, Chinese and Japanese.
Devices: paired Macs and whether each is connected directly or through the relayPairing: compare the fingerprint shown on both Macs before confirming

Get started

New here? The quick start walks through it with screenshots. You need the app on each computer. On the same network that's all; across networks, add a server or Tailscale.

1. Install the app on each computer from the download page:

The builds aren't notarized or code-signed yet: on Mac, allow it once under System Settings → Privacy & Security → Open Anyway; on Windows, click More info → Run anyway. Then click Turn on background sync, and allow CopySync when Windows Firewall asks, or when macOS asks to find devices on your local network.

2. Pair. On one computer, Devices → Add device → Show a code; on the other, Enter a code. On a different subnet, click On a different subnet? and also enter the address shown under the code. Confirm only if both screens show the same two fingerprint lines. From then on, copy on either one and paste on the other.

3. Across networks (optional). Three ways to connect, each with a step-by-step guide:

WayBest forYou need
Same networkComputers behind one router, at home or in the officeNothing
Public serverComputers on different networks that should sync from anywhereA Linux VM with a public IP; the smallest is enough
TailscaleAcross networks without a serverTailscale on every computer; enter the other's Tailscale address when pairing

On a public server:

curl -LO https://github.com/baiyuze/copysync/releases/latest/download/copysync-server-linux-amd64.tar.gz
tar xzf copysync-server-linux-amd64.tar.gz && cd copysync-server-linux-amd64
sudo ./install.sh <public IP of the server>

Open TCP 8787, UDP 3478 and UDP 32768–60999, then enter ws://<server address>:8787/signal under Settings → Signaling server on each computer. Docker and all options: server deployment guide.

Requirement
Mac appmacOS 13 Ventura or later; Apple silicon and Intel
Windows appWindows 10 and 11, x64
Linux appx64 or ARM64; an X11 desktop, or Wayland with XWayland (GNOME and KDE have it by default); GTK 3
ServerOptional, only to sync across networks: Linux (x86_64, ARM64; systemd or Docker), macOS, or Windows 10/11 x64
iPhone / iPadNot supported: iOS doesn't let apps watch the clipboard in the background

Documentation

License

CopySync is free and open source under the GNU AGPL-3.0: anyone, companies included, can use and modify it, but distributing it or offering a modified version over a network means publishing your source under the same license. See LICENSING.md for details. Versions 1.2.0 and earlier remain under the MIT License.

airdrop-alternative
clipboard
clipboard-sharing
clipboard-sync
copy-paste
cross-platform
end-to-end-encryption
file-sync
file-transfer
flutter
golang
linux
macos
nat-traversal
p2p
self-hosted
tailscale
universal-clipboard
webrtc
windows

baiyuze/copysync

PasteFerry (隔空贴): sync the clipboard and files between computers — copy on one, paste on another. Mac, Windows, Linux. Peer-to-peer, end-to-end encrypted, self-hosted. 跨电脑剪贴板同步,Mac、Windows、Linux 互通。

Go

5

83 commits

updated Oct 14, 2026

See the code

See what people are saying

SourceMessageScoreDate

CopySync - copy on one computer, paste on the other (open source, Mac/Windows/Linux) (r/SideProject)

I have a Mac at home and a Windows PC at work, and got tired of sending things to myself through a chat app to move them between the two. So I built CopySync: pair two computers once, then copy on one and paste on the other. Text, images, files, even whole folders. Devices connect directly and…

0

Oct 13, 2026

README

CopySync icon

CopySync

Copy on one computer, paste on the other. Mac, Windows and Linux.
Text, images, files and whole folders — across accounts and across networks.

Download · Website · 简体中文

Release macOS 13+ Windows 10 / 11 Linux x64 / ARM64 AGPL-3.0 License

CopySync's history view: files, images and text arriving from other Macs

Why

Universal Clipboard needs the same Apple ID and both Macs close by. AirDrop makes you accept every time and doesn't touch the clipboard. Messaging yourself means manual downloads and your files on someone else's server. With one Mac and one Windows PC, none of the built-in options work.

With CopySync you pair two computers once. After that, copy on one and paste on the other — Mac to Mac, Mac to Windows, or Windows to Windows. On the same network it works with no server at all; across networks, a server you run yourself or Tailscale lets the two find each other. Data goes directly between the devices, end-to-end encrypted; when a direct connection can't be made, it is relayed through your server, which still can't read it.

CopySyncUniversal ClipboardAirDropChat apps
Different Apple IDs✓—Needs accepting✓
Different networks (home ↔ office)✓——✓
Paste right away, nothing to accept✓✓——
Between Mac and Windows✓——✓
Files and whole folders✓Unreliable✓Zipped
History of what you copied✓——Scroll back
Content stays off third-party servers✓✓✓—

Features

  • Text, rich text, images, files and folders. What you copy is what comes out on the other side.
  • Size-aware transfer. Anything under 50 MB (adjustable) is pushed as soon as you copy; larger files sync as a record you pull when you need them.
  • History of the last 3 days (adjustable) across all your computers, with image preview.
  • No server on the same network. Computers find each other and pair with a code; on a different subnet you also enter an address.
  • Direct first, relay as fallback, including office networks with several uplinks.
  • Fingerprint check when pairing, so neither the server nor anyone on the network can impersonate your device.
  • Runs in the background, starts at login, recovers from crashes. English, Chinese and Japanese.
Devices: paired Macs and whether each is connected directly or through the relayPairing: compare the fingerprint shown on both Macs before confirming

Get started

New here? The quick start walks through it with screenshots. You need the app on each computer. On the same network that's all; across networks, add a server or Tailscale.

1. Install the app on each computer from the download page:

The builds aren't notarized or code-signed yet: on Mac, allow it once under System Settings → Privacy & Security → Open Anyway; on Windows, click More info → Run anyway. Then click Turn on background sync, and allow CopySync when Windows Firewall asks, or when macOS asks to find devices on your local network.

2. Pair. On one computer, Devices → Add device → Show a code; on the other, Enter a code. On a different subnet, click On a different subnet? and also enter the address shown under the code. Confirm only if both screens show the same two fingerprint lines. From then on, copy on either one and paste on the other.

3. Across networks (optional). Three ways to connect, each with a step-by-step guide:

WayBest forYou need
Same networkComputers behind one router, at home or in the officeNothing
Public serverComputers on different networks that should sync from anywhereA Linux VM with a public IP; the smallest is enough
TailscaleAcross networks without a serverTailscale on every computer; enter the other's Tailscale address when pairing

On a public server:

curl -LO https://github.com/baiyuze/copysync/releases/latest/download/copysync-server-linux-amd64.tar.gz
tar xzf copysync-server-linux-amd64.tar.gz && cd copysync-server-linux-amd64
sudo ./install.sh <public IP of the server>

Open TCP 8787, UDP 3478 and UDP 32768–60999, then enter ws://<server address>:8787/signal under Settings → Signaling server on each computer. Docker and all options: server deployment guide.

Requirement
Mac appmacOS 13 Ventura or later; Apple silicon and Intel
Windows appWindows 10 and 11, x64
Linux appx64 or ARM64; an X11 desktop, or Wayland with XWayland (GNOME and KDE have it by default); GTK 3
ServerOptional, only to sync across networks: Linux (x86_64, ARM64; systemd or Docker), macOS, or Windows 10/11 x64
iPhone / iPadNot supported: iOS doesn't let apps watch the clipboard in the background

Documentation

License

CopySync is free and open source under the GNU AGPL-3.0: anyone, companies included, can use and modify it, but distributing it or offering a modified version over a network means publishing your source under the same license. See LICENSING.md for details. Versions 1.2.0 and earlier remain under the MIT License.

airdrop-alternative
clipboard
clipboard-sharing
clipboard-sync
copy-paste
cross-platform
end-to-end-encryption
file-sync
file-transfer
flutter
golang
linux
macos
nat-traversal
p2p
self-hosted
tailscale
universal-clipboard
webrtc
windows