UniClipboard
Core Features

Clipboard Sync

The clipboard sync pipeline across desktop (Windows / Linux / macOS) and mobile (iOS / Android), real VM and device walkthroughs, supported content types, and sync settings.

Edit on GitHub

UniClipboard (unic) syncs your clipboard between devices that are paired and mutually approved. Every copy is written to local history first, then sent to other devices according to your settings; network outages or failed sends never roll back local history, and received items are never forwarded again to a third device.

What happens on a copy

  • Processing: Built-in classifiers and plugins can only add tags (such as #code, #color, #file), set expiration, or block sync—they never modify the payload. What you copy is what gets synced.
  • Commit: Content is saved to local history first; even if sync is off, no devices are paired, or you are offline, local history is preserved.
  • Send & Receipt: Sending starts only after commit succeeds. When an active P2P session exists, data transfers directly end-to-end encrypted; once the peer commits the item to its history, it returns a receipt and the detail pane shows Delivered to X/Y devices. Failures are recorded on that item's sync status without infinite retries; incomplete sends are marked as interrupted after a service restart.
  • Receive: The peer checks payload size, type policy, and available storage before accepting and applying it to the OS clipboard. To prevent sync loops, received items are never automatically re-forwarded.

Cross-Platform Real-Device Demos

Here is how clipboard sync looks in practice across Windows 11 VM, Arch Linux (Wayland) VM, macOS, iOS, and Android:

On Windows 11, copying text, hex colors, images, or files (OLE FileDropList) syncs automatically to online Linux, macOS, and mobile peers with live delivery receipts (Delivered to 1/1 devices). Incoming items from other devices (such as icon.png) appear in history and apply to the Windows clipboard—press Ctrl+V or Ctrl+Alt+V (or optional Win+V) to paste via the Quick Panel.

Windows 11 VM real demo: bidirectional sync of text, image, and release-notes.md with Arch-Linux-Wayland

On Linux (supporting both X11 and Wayland—GNOME, KDE, Sway, Niri, etc.), the desktop app monitors the system clipboard and writes incoming items to X11 CLIPBOARD or the Wayland clipboard. Below is Arch Linux Wayland receiving release-notes.md and #2563EB from Windows 11—notice Sync status: Not requested on the right, confirming received items are never re-forwarded.

Arch Linux Wayland VM real demo: receiving release-notes.md and text from Windows-11-PC

On macOS, every ⌘C copy enters local history and syncs to paired devices; incoming items apply to NSPasteboard so ⌘V pastes immediately. Press ⌘ ⌃ V anytime to search and paste older items with the Quick Panel.

Mixed content types and per-target delivery status in the desktop history view

Because iOS suspends background apps and restricts silent pasteboard reads, combine these three workflows:

  • Live sync while typing (Unic Keyboard): Switch to the Unic keyboard with Allow Full Access enabled in any input field. While active, it captures newly copied text/images to send to your computers and updates live with incoming items, applying them to the iOS pasteboard.
  • Send without copying (Share Sheet): Tap Share → Unic in Safari, Photos, or Files to send directly to a chosen device.
  • Zero-wait offline delivery: Enable Hybrid Relay so copies made on desktop while your iPhone is locked are encrypted, staged, and pulled automatically as soon as you open Unic or activate the Unic keyboard.
iOS fingerprint verification sheet displaying the pixel-cat avatar before approving synciOS waiting for peer confirmation after approving Work Mac

On Android, toggle Auto-write to clipboard and Auto-push clipboard independently under Settings → Clipboard Sync, and choose Shizuku (recommended, event-driven with no overlay), ADB Events, or Periodic Polling under Settings → Background.

Android card-based clipboard history showing text, links, images, and filesAndroid Clipboard Sync settings for auto-write, auto-push, and background access

Supported Content

TypeNotes & Default Policy
Text / Rich TextPlain text and text with HTML; synced automatically in both directions by default
ImagesTransferred in lossless image formats such as PNG; synced automatically by default
FilesDefault per-file limit is 100 MB (limits.max_file_bytes); larger files still enter local history but are not auto-sent
FoldersNot synced automatically by default (only a source reference is recorded locally); send explicitly, see Folders

Common Settings

Change these in Desktop Settings → Sync, Mobile Settings → Clipboard Sync, or write them to config.toml via unic config set (takes effect on save):

Config KeyDefaultPurpose
sync.enabledtrueMaster switch; when off, history is recorded locally only
sync.automatictrueAuto-send after copy; when off, only explicit sends sync
sync.filestrueWhether to send and receive files (applies in both directions)
sync.on_restorefalseWhether restoring an item from history sends it to other devices again
sync.directories.automaticfalseWhether copying a folder automatically prepares and sends a snapshot
sync.relay.enabledfalseWhether to use zero-wait zero-knowledge E2EE temporary relay when a peer is offline over P2P (enabled automatically after Cloud sign-in); see Hybrid Relay & Self-Hosting
limits.max_file_bytes100MBMaximum size per transferred file; larger files can still enter local history

Each sync backend can also independently configure whether to transfer text, images, and files, as well as an auto-send file size threshold (plugins.instances.<backend>.sync.auto_file_max_bytes, where 0 means no extra limit). Explicit sends are not subject to this auto-send threshold. See Configuration Reference for all options.

unic config set sync.automatic false
unic config set limits.max_file_bytes '"200MB"'

Sync toggles, file size limits, and Hybrid Relay settings in Desktop Settings → Sync

Explicit Send

When you don't want to wait for automatic sync, when sync.automatic is disabled, or when targeting a specific device, click Send to… in the desktop detail pane or use unic send:

echo hello | unic send --to all          # Send to all paired devices
unic send --to Windows-11-PC "hello"     # Send to a specific device (name or ID)
unic send --to all -f ./report.pdf       # Send a file explicitly
unic history send @1 --to laptop         # Resend the latest history item

unic send waits for the send to finish: if the content is saved but sending did not complete for all targets, it exits with code 4. Omitting --to starts a Quick Transfer instead and prints a 6-digit pickup code.

Folders

When you copy a folder, unic by default records only a source reference in local history without scanning its contents or sending it. Send explicitly when needed:

unic send --to all -f /absolute/path/to/folder
unic history send @1 --to Windows-11-PC

Only an explicit send reads the folder's current contents and creates an immutable snapshot for all targets. Key points:

  • You can mix files and folders in one selection; empty folders and hidden files are preserved.
  • Symlinks, junctions, and special files cause the entire send to fail rather than being skipped.
  • Owners, permissions, timestamps, and extended attributes are not preserved.
  • Limits: at most 128 top-level items, 4,096 entries, and 2,048 files.
  • Folders must be sent to paired devices (--to); Quick Transfer does not support folders.
  • Changes to the source folder after sending are not synced automatically.

When sync.directories.automatic is enabled, copying a folder also automatically prepares and sends it; a newer copy cancels any unfinished folder preparation.

The Linux desktop app currently cannot distinguish "copying the same folder again"; use explicit send for repeated selections. Native clipboard and cross-app paste acceptance across platforms is still in progress.

On this page