gcopy is a free, open source file management & sync project written in TypeScript and released under MIT. It has 738 GitHub stars, 49 forks and 15 open issues, and was last pushed 13 hours ago. On this registry it ranks #78 of 90 tracked projects in File Management & Sync, with 5 head-to-head comparisons available. It gained 2 stars over the last 8 tracked days.

What is gcopy?

GCopy is a self-hostable clipboard synchronization service, distributed as a single Go binary, that lets one person move text, screenshots and files between different devices through a web browser instead of a native client.

What it is

GCopy is an MIT-licensed, cross-platform clipboard synchronization tool. Its server is written in Go, and its static Next.js frontend is embedded directly into that binary via go:embed, so the whole product ships as one executable or one Docker container of roughly 10 MB. Devices are paired with an 8-character token, or by scanning the login QR code, and synchronization happens through the browser rather than through an installed application.

The concrete problem it solves is the one that appears when a person works across a macOS laptop, a Windows PC and a phone at the same time, particularly on locked-down office machines or isolated corporate VLANs where installing software is not an option. Tools such as LocalSend and AirDrop require a native app, and AirDrop is Apple-only, while both depend on the devices sharing a LAN with multicast; chat apps require logging into a personal account and route payloads through vendor cloud servers. GCopy instead works over any network, including cross-VLAN links, VPNs, 4G/5G mobile data and home labs, and it replaces both the native clipboard-sharing utility and the personal chat-app workaround. The repository metadata lists TypeScript, reflecting the Next.js frontend, while the server runtime itself is Go.

Key capabilities

  • Synchronizes plain text, screenshots and multiple files; when several files are dragged into the browser they are automatically zipped into a .zip archive.
  • Captures direct OS screenshots, with an automatic Ctrl+V fallback for non-standard clipboard images such as those produced by WeChat.
  • Pairs any two devices with an 8-character token or by scanning the login QR code.
  • Uses an ephemeral in-memory design: there is no database and no disk storage, clipboard payloads live strictly in Go server memory and expire after 24 hours of inactivity, and local history is kept only in the browser's IndexedDB.
  • Deploys as a single binary because the static Next.js frontend is embedded with go:embed, requiring no Nginx or Node.js runtime.
  • Sets a maximum payload size of 10 MiB by default, configurable through -max-content-length or GCOPY_MAX_CONTENT_LENGTH.
  • Builds on the W3C Clipboard API, with tested support for Chrome 107+/121+, Edge 108+/122+/130+, Safari 15.6+/16.1+ and Opera 109+.

Who uses it and how

  • Individuals who keep a macOS laptop, a Windows PC and a phone in simultaneous use and need clipboard contents to follow them between those devices.
  • People on locked-down office machines or isolated corporate subnets, where no native client can be installed and where cross-VLAN, VPN or mobile-data connectivity is the only route between devices.
  • Self-hosters who want a minimal footprint: one Docker container or a prebuilt binary for linux, darwin or windows on amd64 and arm64.
  • Users who prefer not to run anything themselves, relying instead on the free public instance maintained at gcopy.link.
  • Operators who place the service behind Caddy, Nginx or Cloudflare Tunnel when they do not want to use the built-in TLS flags.

Getting started

The documented path is a single docker run of llaoj/gcopy:latest, publishing port 3375, mounting cert.pem and key.pem, and setting GCOPY_APP_KEY (at least 16 characters) along with GCOPY_TLS_CERT_FILE and GCOPY_TLS_KEY_FILE; a helper script, scripts/gen-cert.sh, generates a quick self-signed certificate if no domain certificate is available. Prebuilt binaries and a build-from-source route are documented separately, and the hosted instance at gcopy.link can be used immediately by signing in on two devices with the same token.

How it compares

Against LocalSend and AirDrop, GCopy needs no native client installation, is not Apple-only, and does not require the devices to share a LAN with multicast. Against chat apps such as WeChat and Slack, it does not require logging into a personal account and does not persist payloads on a vendor's cloud servers, because clipboard contents stay in server RAM and expire automatically. It is MIT-licensed and self-hostable, so the operator keeps control of the deployment rather than depending on a vendor's infrastructure.

When to use it — and when not to

Anyone self-hosting GCopy must terminate HTTPS, since modern browsers require a Secure Context to grant Clipboard API access; that means using the built-in TLS flags or operating a reverse proxy such as Caddy, Nginx or Cloudflare Tunnel. Because there is no database and no disk storage, the service is not suitable as a durable clipboard archive — payloads disappear after 24 hours of inactivity and history survives only in the local browser's IndexedDB. Browsers do not expose raw OS file paths to navigator.clipboard, so files move only through drag-and-drop upload and browser download, and the default 10 MiB ceiling makes it a poor fit for large file transfers.

project readme (upstream, from github) — read inline

GCopy

Instant cross-platform clipboard sync for Text, Screenshots & Files — in a single Go binary.

CI GitHub Release Docker Pulls Go Report Card License

🚀 Live Demo · 📖 Documentation · 🇨🇳 中文文档 · 💬 Discord


✨ Why GCopy?

Working across a macOS laptop, a Windows PC, and a phone at the same time shouldn't hurt. Most existing tools break down on locked-down office machines or isolated corporate VLANs:

Feature GCopy LocalSend / AirDrop Chat Apps (WeChat / Slack)
Client Installation None (Web Browser) Requires native app / Apple-only Requires logging into personal account
Network Requirement Any network (cross-VLAN / Internet / LAN) Same Wi-Fi / LAN multicast required Internet required
Supported Payloads Text, Lossless Screenshots & Multi-File (.zip) Files & Text Compresses images unless sent as file
Server Persistence RAM-only (0 DB, 24h auto-expire) P2P Stored on vendor cloud servers
Self-Host Footprint Single Go binary (~10 MB) / 1 Docker container N/A N/A

Key Highlights

  • 📋 Text, Screenshots & Multi-File: Sync plain text, direct OS screenshots (with automatic Ctrl+V fallback for non-standard clipboard images like WeChat), and drag-and-drop multiple files (automatically zipped in the browser).
  • 🌐 Zero Network Friction: Pair any two devices with an 8-character token (or scan the login QR code). Works seamlessly across isolated corporate subnets, VPNs, 4G/5G mobile data, and home labs.
  • 🛡️ Ephemeral In-Memory Design: No database, no disk storage. Clipboard payloads live strictly in Go server memory and expire automatically after 24 hours of inactivity. Local history is stored only in your own browser's IndexedDB.
  • ⚡ Single-Binary Deployment: Static Next.js frontend embedded into one Go binary via go:embed — zero Nginx or Node.js runtime required.

🚀 Quick Start

1. Try Online Immediately

Open https://gcopy.link in your browser on two devices, sign in with the same 8-character token, and press Sync clipboard (or Enter).

2. Self-Host in 30 Seconds (Docker)

[!NOTE] Modern browsers require HTTPS (Secure Context) to grant Clipboard API access. You can use GCopy's built-in TLS flags or place it behind Caddy / Nginx / Cloudflare Tunnel.

# 1. Generate a quick self-signed cert (or bring your own domain cert / reverse proxy)
curl -sSL https://raw.githubusercontent.com/llaoj/gcopy/main/scripts/gen-cert.sh | bash

# 2. Run the all-in-one container
docker run -d \
  --name gcopy \
  --restart unless-stopped \
  -p 3375:3375 \
  -v $(pwd)/cert.pem:/cert.pem:ro \
  -v $(pwd)/key.pem:/key.pem:ro \
  -e GCOPY_APP_KEY=your-secret-key-min-16-chars \
  -e GCOPY_TLS_CERT_FILE=/cert.pem \
  -e GCOPY_TLS_KEY_FILE=/key.pem \
  llaoj/gcopy:latest

Prefer prebuilt binaries (linux / darwin / windows, amd64 & arm64) or building from source? See the full guides:


🖥️ Screenshots

Desktop (macOS / Windows / Linux) Mobile (iOS / Android)

🌐 Browser Compatibility

GCopy builds on the standard W3C Clipboard API with tailored handling for Safari user-gesture windows and mobile browsers:

Browser Tested Version Status
Chrome (macOS / Windows / Android) 107+ / 121+ ✅ Tested
Edge (Windows / Linux / Android / HarmonyOS) 108+ / 122+ / 130+ ✅ Tested
Safari (macOS / iOS) 15.6+ / 16.1+ ✅ Tested
Opera (macOS / Windows) 109+ ✅ Tested

Notes & Limits

  • Browsers do not expose raw OS file paths to navigator.clipboard, so files are synced smoothly via drag-and-drop upload and automatic browser download (multiple files are zipped automatically).
  • Maximum payload size defaults to 10 MiB (configurable via -max-content-length / GCOPY_MAX_CONTENT_LENGTH).

☕ Sponsor & Community

GCopy maintains a free public instance at gcopy.link. If GCopy saves you time every day, consider supporting the project:

📄 License

Released under the MIT License.

Frequently asked questions

Is gcopy free to use?

gcopy is open source under the MIT licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does gcopy do?

A clipboard synchronization service for different devices that can synchronize text, screenshots, and files.

What is gcopy written in?

gcopy is primarily written in TypeScript. Its source is publicly available at https://github.com/llaoj/gcopy, and it has 738 GitHub stars.