返回排行榜

CrossPaste/crosspaste-desktop

Kotlincrosspaste.com

Universal Pasteboard Across Devices

clipboardcross-platformdesktop-applicationcompose-desktoppasteboardsyncclipboard-historyclipboard-managerclipscopy-pastekotlin-multiplatformpaste
Star 增长趋势
Star
2.2k
Forks
105
周增长
Issues
26
1k1.5k2k
2024年8月2025年3月2025年11月2026年7月
README
poster

CrossPaste: Universal Pasteboard Across Devices

Copy anything and paste it on any device, seamlessly

简体中文 · Official Website · Wiki · Download · Video

Main CI Test Build Release Dependabot Compose-Multiplatform Sqlite Kotlin OS Download AGPL-3.0 Ask DeepWiki

✨ Features

  • 🔄 Real-time Sharing: Instantly share pasteboard content across devices, seamlessly.
  • 🖥️ Unified Cross-platform: Consistent interface on Mac, Windows, and Linux. No need to change habits.
  • 📋 Rich Type Support: Handle various pasteboard types: Text, Color, URL, HTML, RTF, Image, File.
  • 🔒 End-to-End Encryption: Using asymmetric encryption to fully protect your data security.
  • 🌐 LAN-only Serverless: Local storage, serverless architecture. Privacy protection, in your control.
  • 🧹 Smart Space Management: Auto-cleanup options manage pasteboard storage without manual effort.
  • 🔍 Built-in OCR: Extract text from images locally — no network calls, your screenshots never leave the device.
  • 🤖 MCP Server: Expose your pasteboard history to AI assistants (Claude, etc.) via the Model Context Protocol.
  • 🌍 Chrome Extension: Sync clipboard with the browser — copy from a web page on one device, paste on any other.

🏗 Getting Started with Development

  1. clone the repository

    git clone https://github.com/CrossPaste/crosspaste-desktop.git
    
  2. Compile and run the application

    cd crosspaste-desktop
    ./gradlew app:run
    

First start will download JBR / gradle dependencies.

If you encounter the following error:

FAILURE: Build failed with an exception.

* What went wrong:
java.net.SocketException: Connection reset
> java.net.SocketException: Connection reset

you might need a VPN to download these dependencies.

To configure a proxy for gradle, add the following settings to gradle.properties, and adjust the parameters to match your proxy configuration:

systemProp.https.proxyHost=localhost
systemProp.https.proxyPort=8080
systemProp.https.proxyUser=userid
systemProp.https.proxyPassword=password
systemProp.http.nonProxyHosts=*.nonproxyrepos.com|localhost

Additionally, a series of technical blogs about CrossPaste is being published (approximately one article per week). If you're interested in developing cross-platform applications, you're welcome to read them.

🌍 Building the Chrome Extension

The Chrome extension lives in web/ and is built via Gradle. Node.js (>= 18) is required — the npmInstall task will fetch dependencies on first build.

  1. Build the extension

    ./gradlew :web:build
    

    The unpacked extension is emitted to web/dist/.

  2. Load it into Chrome

    • Open chrome://extensions/
    • Enable Developer mode in the top-right corner
    • Click Load unpacked and select the web/dist/ directory

The extension auto-discovers a CrossPaste desktop app running on the same machine and syncs clipboard content with it. To iterate on extension code, run npm run dev inside web/ for a fast Vite dev loop, then reload the extension in Chrome. The extension imports a Kotlin/JS core library produced by ./gradlew :core:jsBrowserProductionLibraryDistribution (also run as part of :web:build) — re-run that task whenever you change core/ sources.

🗺️ Roadmap

CrossPaste is continuously evolving! v2.0 brings the Chrome extension into the sync mesh as a first-class platform. Here's what we're working on next:

  • Command-line mode — drive CrossPaste from your terminal and shell scripts
  • Plugin system — let the community extend CrossPaste with custom paste types and integrations

This is just a small part of our plans. Want to learn more details and long-term plans? Check out our full roadmap.

🙋 FAQ

Here are some FAQs that have been collected. If you have other questions, please create an issue to let us know.

🤝 Support the project

  • 🌟 Star this repository: This is the easiest way to support CrossPaste and costs nothing.
  • 🪲 Report bugs: Report any bugs you find on the issue tracker.
  • 📖 Translate: Help translate and polish CrossPaste into your language.
  • 📝 Contribute: Code, comment on issues, and any contributions that can help the project are welcome.
  • 💖 Sponsor: Support financially via GitHub Sponsors to help with ongoing development and maintenance.

📝 Contributors

guiyanakuang amir1376 Blushyes emmanuel-ferdman Fldicoahkiin swording-k sunxiang0918 

💖 Sponsors

liaokai Jaepil.Choi 
相关仓库
zenorocha/clipboard.js

:scissors: Modern copy to clipboard. No Flash. Just 3kb gzipped :clipboard:

JavaScriptnpmMIT Licenseclipboardjavascript
clipboardjs.com
34.1k3.9k
hluk/CopyQ

Clipboard manager with advanced features

C++GNU General Public License v3.0clipboard-managerclipboard
12k579
Clipy/Clipy

Clipboard extension app for macOS.

SwiftMIT Licensemacosxcode
clipy-app.com
8.8k815
EcoPasteHub/EcoPaste

🎉跨平台的剪贴板管理工具 | Cross-platform clipboard management tool

Rustcrates.ioApache License 2.0macostauri
ecopaste.cn
7.2k357
sabrogden/Ditto

Ditto is an extension to the Windows Clipboard. You copy something to the Clipboard and Ditto takes what you copied and stores it in a database to retrieve at a later time.

CGNU General Public License v3.0clipboard-managerclipboard
ditto-cp.sourceforge.io
6.8k416
zeroclipboard/zeroclipboard

The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface.

JavaScriptnpmMIT Licensezeroclipboardjavascript
zeroclipboard.github.io
6.6k1k
xushengfeng/eSearch

截屏 离线OCR 搜索翻译 以图搜图 贴图 录屏 万向滚动截屏 屏幕翻译 Screenshot Offline OCR Search Translate Search for picture Paste the picture on the screen Screen recorder Omnidirectional scrolling screenshot Screen translator 支持Windows Linux macOS

TypeScriptnpmGNU General Public License v3.0screenshotscreen-capture
esearch-app.netlify.app
6.6k490
gsantner/markor

Text editor - Notes & ToDo (for Android) - Markdown, todo.txt, plaintext, math, ..

JavaMavenOthermarkdownmarkdown-editor
github.com/gsantner/markor/discussions/2269
5.9k512
Slackadays/Clipboard

😎🏖️🐬 Your new, 𝙧𝙞𝙙𝙤𝙣𝙠𝙪𝙡𝙞𝙘𝙞𝙤𝙪𝙨𝙡𝙮 smart clipboard manager

C++GNU General Public License v3.0linuxclipboard
getclipboard.app
5.8k176
RICHQAQ/PasteMD

一键将 Markdown 和网页 AI 对话(ChatGPT/DeepSeek等)完美粘贴到 Word、WPS 和 Excel 的效率工具 | One-click paste Markdown and AI responses (ChatGPT/DeepSeek) into Word, WPS, and Excel perfectly.

PythonPyPIGNU Affero General Public License v3.0aichatgpt
pastemd.richqaq.cn
5.1k309
jeffreytse/zsh-vi-mode

💻 A better and friendly vi(vim) mode plugin for ZSH.

ShellMIT Licensezshzsh-plugin
4.4k153
Happy-Coding-Clans/vue-easytable

A powerful data table based on vuejs. You can use it as data grid、Microsoft Excel or Google sheets. It supports virtual scroll、cell edit etc.

JavaScriptnpmMIT Licensevuejs2table
happy-coding-clans.github.io/vue-easytable/
3.8k774