{"id":27941065,"url":"https://github.com/quick-bin/qbin-syncclipboard","last_synced_at":"2026-01-23T07:05:12.677Z","repository":{"id":288011669,"uuid":"966515854","full_name":"Quick-Bin/QBin-SyncClipboard","owner":"Quick-Bin","description":"通过Pythonista输入法和QBin服务，实现多设备剪贴板自动同步功能。","archived":false,"fork":false,"pushed_at":"2025-04-15T07:50:21.000Z","size":19,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-07T10:52:22.234Z","etag":null,"topics":["clipboard","pythonista"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Quick-Bin.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}},"created_at":"2025-04-15T03:33:37.000Z","updated_at":"2025-04-15T14:20:44.000Z","dependencies_parsed_at":"2025-04-15T05:29:16.332Z","dependency_job_id":"9032b33b-d06b-4be2-9adb-688b82d227be","html_url":"https://github.com/Quick-Bin/QBin-SyncClipboard","commit_stats":null,"previous_names":["quick-bin/qbin-syncclipboard"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Quick-Bin/QBin-SyncClipboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quick-Bin%2FQBin-SyncClipboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quick-Bin%2FQBin-SyncClipboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quick-Bin%2FQBin-SyncClipboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quick-Bin%2FQBin-SyncClipboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Quick-Bin","download_url":"https://codeload.github.com/Quick-Bin/QBin-SyncClipboard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quick-Bin%2FQBin-SyncClipboard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28682280,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T05:48:07.525Z","status":"ssl_error","status_checked_at":"2026-01-23T05:48:07.129Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["clipboard","pythonista"],"created_at":"2025-05-07T10:36:53.758Z","updated_at":"2026-01-23T07:05:12.672Z","avatar_url":"https://github.com/Quick-Bin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QBin-SyncClipboard\n\n## 简介\n这个项目通过Pythonista输入法和QBin服务，实现多设备剪贴板自动同步功能。\n\n不同于微信输入法的剪贴板同步，这个项目完全开源，并且支持在纯内网环境运行，保障你的数据隐私。\n\nC/S架构\n\n![QBin service](https://s3.tebi.io/lite/clipboard-service.svg)\n\n## 部署教程\n\n### 1. 客户端\n\n#### IOS \n1. 安装 [Pythonista](https://apps.apple.com/tw/app/pythonista-3/id1085978097)\n2. 导入 clipboard.py 代码\n3. 设置Shortcuts 为 Pythonista Keyboard\n4. New Shortcut 输入Arguments `send`，标题：剪贴板-发送\n5. 重复步骤3，New Shortcut 输入Arguments `receive`，标题：剪贴板-接收\n6. 切换为 Pythonista 输入法开始使用\n\n#### PC\n暂未完成，欢迎大佬PR\n\n### 2. 服务端\n### 本地运行\n\nWindows PowerShell 安装 Deno:\n```\nirm https://deno.land/install.ps1 | iex\n```\n\nMac/Linux 安装 Deno:\n```\ncurl -fsSL https://deno.land/install.sh | sh\n```\n\n启动项目：\n```\ngit clone https://github.com/Quick-Bin/qbin\ncd qbin\ndeno run --allow-net --allow-env --allow-read --unstable-kv --unstable-broadcast-channel index.ts\n```\n\n### 打包执行程序\n\n#### Windows\n```  --no-terminal\ndeno compile --target x86_64-pc-windows-msvc --allow-net --allow-env --allow-read --unstable-kv --unstable-broadcast-channel --no-check --output QBin --icon static\\img\\apple-icon-152.png index.ts\n```\n\n#### Linux\n```\ndeno compile --allow-net --allow-env --allow-read --unstable-kv --unstable-broadcast-channel --no-check --output QBin index.ts\n```\n\n#### MacOS (Intel)\n```\ndeno compile --target x86_64-apple-darwin --allow-net --allow-env --allow-read --unstable-kv --unstable-broadcast-channel --no-check --output app_macos index.ts\n```\n\n#### MacOS (Apple Silicon)\n```\ndeno compile --target aarch64-apple-darwin --allow-net --allow-env --allow-read --unstable-kv --unstable-broadcast-channel --no-check --output app_macos_arm64 index.ts\n```\n\n### 远程部署\n支持Deno Deploy、Docker、Docker Compose部署方式。\n部署方法请查看 [Self-host.md](https://github.com/Quick-Bin/qbin/blob/main/Docs/self-host.md)\n\n### 3. 配置参数\n#### IOS\n访问 `http://localhost:8000/home#settings` 生成Token，后面需要用到\n\n点击运行代码跟着提示操作，也可以在api_config.json文件进行修改\n\n#### QBin 服务\n修改`.env`配置文件\n```\n# 管理员信息（登录时需要）\nADMIN_EMAIL=admin@qbin.github    # 管理员邮箱（必选）\nADMIN_PASSWORD=qbin              # 管理员密码（必选）\n# 数据库配置\nDATABASE_URL=\t\t\t\t\t  # PostgreSQL连接URL（必选）\nPORT=8000       # 开放访问端口\nJWT_SECRET=    # JWT密钥，用于加密验证（建议修改）\nISDEMO=\t\t\t# 演示模式，留空不开启, 内网环境推荐开启\n```\n更多配置详情请阅览 [环境变量配置说明](https://github.com/Quick-Bin/qbin/blob/main/Docs/self-host.md#%EF%B8%8F-%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F%E9%85%8D%E7%BD%AE%E8%AF%B4%E6%98%8E)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquick-bin%2Fqbin-syncclipboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquick-bin%2Fqbin-syncclipboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquick-bin%2Fqbin-syncclipboard/lists"}