Host it yourself
The same steps are built into the web UI at /guide.
1. Install the server
There's nothing to fill in. The server makes its own certificate and keeps your device list in its data folder, so it survives restarts and updates.
Unraid
-
In the Unraid terminal, add the template:
wget -qO /boot/config/plugins/dockerMan/templates-user/my-CrossCopyPaste.xml \ https://raw.githubusercontent.com/shifatul-i/CrossCopyPaste/master/unraid/crosscopypaste.xml -
Go to Docker › Add Container and pick the CrossCopyPaste template.
-
Keep the port (8443) and the appdata folder as they are, then click Apply.
Docker Compose
mkdir crosscopypaste && cd crosscopypaste
curl -fsSLO https://raw.githubusercontent.com/shifatul-i/CrossCopyPaste/master/docker-compose.yml
docker compose up -d
Settings are optional: copy .env.example to .env to change them.
Docker
docker run -d --name crosscopypaste --restart unless-stopped \
-p 8443:8443 -e PUID=1000 -e PGID=1000 \
-v "$PWD/crosscopypaste":/data \
--read-only --cap-drop ALL --cap-add CHOWN --cap-add SETUID --cap-add SETGID \
--security-opt no-new-privileges \
ghcr.io/shifatul-i/crosscopypaste:latest
Synology
- Open Container Manager › Project › Create.
- Name it
crosscopypaste, choose a folder, and paste indocker-compose.yml. - Click Next, then Done. The container starts on its own.
Portainer
- Go to Stacks › Add stack and name it
crosscopypaste. - Paste
docker-compose.ymlinto the web editor. - Click Deploy the stack.
2. Find your setup code
It's in the server's log, printed at every start until setup is done:
| Unraid | Docker tab › the CrossCopyPaste icon › Logs |
| Docker Compose | docker compose logs crosscopypaste |
| Docker | docker logs crosscopypaste |
| Synology | Container Manager › Container › crosscopypaste › Details › Log |
| Portainer | Containers › crosscopypaste › Logs |
Look for:
Setup code: 4829-1376 (open https://…:8443, or the server's public address, to finish setup)
Open the web UI, enter the code, and save the secret your browser makes in your password manager. After 5 wrong tries a new code is printed.
3. Put it online (optional)
To use it away from home, publish it through a Cloudflare Tunnel you already run:
- In the Cloudflare dashboard, open Zero Trust › Networks › Tunnels and choose your tunnel.
- Add a published application route (older dashboards call it a public
hostname): subdomain
ccopy, your domain, and service URLhttps://your-server-ip:8443. It must start withhttps://: the server doesn't answer plain HTTP. - Under TLS, turn on Disable TLS certificate verification (No TLS Verify in older dashboards) and leave the rest as it is. The server uses its own certificate, which Cloudflare can't check.
- Save, then open
https://clips.your-domain.comto finish setup there.
Clips are encrypted on your devices before they leave, so Cloudflare only relays scrambled data. Prefer a VPN? Tailscale or WireGuard work too: use the server's VPN address instead.
4. Add your devices
In the dashboard, choose Add device and give it a name. Then:
- Android and iPhone: scan the QR code with the Camera app, then tap Open Cross Copy Paste.
- Windows: click the tray icon, paste the setup code and click Connect.
- Linux and Mac terminal: run
ccopy setupand paste the setup code.
Each code works once and expires after 10 minutes. App downloads: latest release.
Troubleshooting
- There's no setup code in the log: restart the container and look again. If setup was already finished, sign in instead.
- I lost my secret: nobody can recover it. Stop the container, delete
the
ccopy.dbfiles from its data folder and start it again. You'll get a new setup code, and every device has to be added again. - The page doesn't load through Cloudflare: check that the tunnel shows Healthy and that certificate verification is disabled for the route. A 502 error usually means the server's address or port in the route is wrong.