Mac
A menu bar app for macOS 15 or later: click its icon to send the clipboard or receive the latest clip, or use its keyboard shortcuts from any app. It has no Dock icon. It uses no third-party libraries.
Clips are encrypted on the Mac before they're sent, and decrypted on it when
they're received, like on every other device. For the terminal and SSH, use
the ccopy command instead (or as well).
Install
The app isn't on the App Store. You build it with Xcode, from the same project as the iPhone app. If you've built the iPhone app, steps 1 to 3 are done.
-
Xcode. Install it from the Mac App Store and open it once. In Xcode › Settings › Apple Accounts, add your Apple ID. A free account (your Personal Team) is enough.
-
XcodeGen, which makes the Xcode project from
clients/apple/project.yml:brew install xcodegen -
Your team. In
clients/apple/Config, save your team ID inSigning.xcconfig(it isn't committed):cd clients/apple defaults read com.apple.dt.Xcode IDEProvisioningTeamByIdentifier | grep -A3 'isFreeProvisioningTeam = 1' printf 'CCOPY_TEAM_ID = %s\n' YOURTEAMID > Config/Signing.xcconfigThe
teamIDunderisFreeProvisioningTeam = 1is your Personal Team. See docs/ios.md for a paid team, or for building your own copy with a bundle ID of your own. -
Make the project and open it:
xcodegen && open CrossCopyPaste.xcodeproj -
At the top of Xcode, choose the CrossCopyPasteMac scheme and My Mac, and press Run (⌘R). The icon appears in the menu bar.
-
To keep it: an app run from Xcode stops when Xcode quits. Copy it to Applications and open it from there:
cp -R ~/Library/Developer/Xcode/DerivedData/CrossCopyPaste-*/Build/Products/Debug/"Cross Copy Paste.app" /Applications/ open "/Applications/Cross Copy Paste.app"Only one copy runs at a time: one that starts quits the other, so running it from Xcode again replaces the one in Applications until you reopen it. After an update, copy it over again the same way.
Cross Copy Paste Cloud
The setup window that opens the first time signs you in: your email and password (Passwords and iCloud Keychain can fill them in). Create Account asks for your email, the 6-digit code emailed to you, and a password, right in the window. Forgot Password? opens crosscopypaste.com.
Your password never leaves the Mac: it makes the key that opens your clips, right there. The Mac keeps only its own token and that key, in your Keychain.
Settings › Account shows your plan, with Go Premium… on the free plan, and a ⋯ menu: Manage Account (crosscopypaste.com, for your password and devices), Sign Out (removes the Mac from your devices, freeing its place) and Delete Account… (after your password).
Or set up with your own server
In the setup window, choose Self-Hosting? Use Your Own Server.
- On any device, open your server's web UI and choose Add device. Give the Mac a name.
- Choose Copy next to the setup code, paste it into the setup window that opens the first time, and click Connect.
Opening the web UI on the Mac itself? The QR code's page has an Open Cross Copy Paste button that fills the code in for you.
Using the server directly on your network (not through a Cloudflare
Tunnel)? The server then uses its own certificate. The app shows its
fingerprint: check that it matches the one in the server log, then choose
Trust and Connect. The app trusts it for that server only; nothing is
added to your Mac's keychain. You can also choose ca.crt from the server's
data folder.
The code carries the Mac's own token and the key that encrypts your clips. They're kept in your Keychain. Codes work once, for 10 minutes.
Use
Click the icon in the menu bar for:
- Send: the clipboard to your devices.
- Receive: the latest clip to the clipboard.
- Last clip: which device sent it, and when.
- This Mac: its name and server. The badge on its icon says how it connects: Wi-Fi on your home network, a globe through a public address.
- Settings… (⌘S while the panel is open), and Quit.
A red dot on the icon means something's wrong: the server can't be reached, or this Mac was removed in the web UI. The panel says which.
Keyboard shortcuts
They work in any app:
| Shortcut | What it does |
|---|---|
| ⌃⌥⌘C | Send selection: copies what you've selected and sends it |
| ⌃⌥⌘V | Receive and paste: receives the latest clip and pastes it where you are |
| ⌃⌥⌘S | Send clipboard |
| ⌃⌥⌘R | Receive |
Change them in Settings: click a shortcut and press the keys you want, or click the × to turn it off.
Send selection and Receive and paste copy and paste in the app you're using, which macOS allows once you turn on Cross Copy Paste under System Settings › Privacy & Security › Accessibility. The app asks the first time; Settings › Open Accessibility Settings… gets you there too. The other two shortcuts don't need it.
Settings
| Setting | |
|---|---|
| Notify after sending and receiving | A notification after each one. Problems always show. |
| Hide notifications after | 2, 3, 5 or 10 seconds. |
| Open at login | Starts with your Mac. |
| Let clipboard managers keep received clips | Off by default: received clips are marked private, so clipboard managers skip them. |
| Clear the clipboard after receiving | Never, or after 30 seconds to 10 minutes, if the clip is still on it. |
Rename this Mac in Settings (or in the web UI). Remove it in the web UI; the app then says it was removed and offers Set Up Again.