{"id":51288329,"url":"https://github.com/junhey/clipsync-app","last_synced_at":"2026-06-30T08:02:14.374Z","repository":{"id":359915146,"uuid":"1247997715","full_name":"junhey/clipsync-app","owner":"junhey","description":"ClipSync — Cross-platform clipboard manager with GitHub sync. Built with Tauri 2 + Rust.","archived":false,"fork":false,"pushed_at":"2026-06-04T05:05:52.000Z","size":332,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-04T05:26:52.998Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://clipsync.dev","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/junhey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-24T03:50:58.000Z","updated_at":"2026-06-04T05:05:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/junhey/clipsync-app","commit_stats":null,"previous_names":["junhey/clipsync-app"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/junhey/clipsync-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junhey%2Fclipsync-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junhey%2Fclipsync-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junhey%2Fclipsync-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junhey%2Fclipsync-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/junhey","download_url":"https://codeload.github.com/junhey/clipsync-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junhey%2Fclipsync-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34957627,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-30T08:02:13.075Z","updated_at":"2026-06-30T08:02:14.367Z","avatar_url":"https://github.com/junhey.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ClipSync\n\n\u003e 跨平台剪贴板管理器 · 灵感来自 [Clipy](https://github.com/Clipy/Clipy) · 数据存在你自己的 GitHub 上\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![Latest Release](https://img.shields.io/github/v/release/junhey/clipsync-app)](https://github.com/junhey/clipsync-app/releases/latest)\n[![Website](https://img.shields.io/badge/website-clipsync--app-blue)](https://junhey.github.io/clipsync-app/)\n![Platforms](https://img.shields.io/badge/platform-macOS%20%7C%20Windows%20%7C%20Linux-lightgrey)\n![Tauri](https://img.shields.io/badge/Tauri-2-FFC131)\n\n## 特性\n\n- 📋 **剪贴板历史**：自动捕获文本剪贴板，按最近使用排序\n- 🔍 **快速搜索**：⌘+Shift+V 唤出，输入关键字即时过滤\n- ⌨️ **全键盘操作**：⌘1-9 一键粘贴，⌘P 置顶，Esc 隐藏\n- ☁️ **自带同步层**：私有 Gist (默认) / GitHub 仓库分支 / 仅本地，三选一\n- 🔐 **数据归你**：内容只在你的 GitHub 账号 / 本机；token 用 fine-grained PAT\n- 🖥️ **真·跨平台**：macOS / Windows / Linux 同一套代码 (基于 Tauri 2)\n- 🌗 **原生暗色模式**\n\n## 截图\n\n\u003e 第一次启动会问你要 GitHub PAT；不填也能用，只是不同步。\n\n## 同步模型\n\n| 后端 | 适合谁 | 文件 |\n|---|---|---|\n| `gist` (默认) | 个人单人多设备 | 私有 Gist 中的 `history.json` |\n| `repo` | 想要版本回溯 / 与其他工具集成 | `\u003cowner\u003e/\u003crepo\u003e` 的 `data` 分支下 `history.json` |\n| `local` | 不想联网 | 仅本机 `app_data_dir/history.json` |\n\n合并策略：`updatedAt` 较新者胜；置顶取并集；命中次数累加；超出 `maxItems` 时优先保留置顶项。\n\n## 开发\n\n```bash\n# 1. 装依赖\nnpm install\n\n# 2. 跑桌面端\nnpm run tauri:dev\n\n# 3. 打包 (产物在 src-tauri/target/release/bundle/)\nnpm run tauri:build\n```\n\n### 仅在浏览器里预览 UI\n\n```bash\nnpm run dev\n# 打开 http://localhost:5173 — 演示模式 (假数据)\n```\n\n## 项目布局\n\n```\nclipsync/\n├── src/                # React 前端\n│   ├── App.tsx         # 主界面 + 设置\n│   ├── bridge.ts       # JS ↔ Rust IPC\n│   ├── sync.ts         # GitHub 同步逻辑\n│   └── types.ts        # 数据模型\n├── src-tauri/          # Rust 后端\n│   └── src/lib.rs      # 剪贴板监听 + 全局快捷键 + 持久化\n├── openspec/           # 规范驱动开发流程 (OpenSpec)\n└── docs/               # 技术文档\n```\n\n## 规范驱动开发\n\n本项目使用 [OpenSpec](https://github.com/Fission-AI/OpenSpec)。任何新特性都先走变更提案：\n\n```bash\nopenspec list                        # 查看活动变更\nopenspec show add-clipboard-history  # 看某个变更的细节\nopenspec validate add-clipboard-history --strict\n```\n\n详见 `openspec/AGENTS.md`。\n\n## 鸣谢\n\n- [Clipy](https://github.com/Clipy/Clipy) — 思想来源，macOS 上的经典剪贴板工具\n- [Tauri](https://tauri.app/) — 跨平台桌面壳\n- [OpenSpec](https://openspec.pro/) — 规范优先的 AI 协作流程\n\n## 许可\n\nMIT © 2026 junhey\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunhey%2Fclipsync-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjunhey%2Fclipsync-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunhey%2Fclipsync-app/lists"}