3 Star 1 Fork 1

jiangxiaogang / clipboard_sync

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

介绍

IOS13的快捷指令很强大,里面有一个获取URL内容的捷径,可以调用HTTP接口,支持GET和POST方法。
我觉得可以用它做点什么有用的事情,于是就有了这个小工具。

功能

1.在Windows上面跑一个简单的HTTP服务,
当使用GET方法访问时就返回剪贴板数据(仅支持文本);
当使用POST方法访问时就修改剪贴板数据的同时返回原有的剪贴板数据;

2.在iPhone上编写一个捷径,通过访问HTTP接口实现交换双方剪贴板的功能。

问题

1. 手机端不知道服务器的IP地址,需要有一个简单快速的办法来设置服务器IP地址?
方案1:把电脑IP设置为固定IP地址,然后手动修改捷径里面的IP地址;
方案2:扫二维码,电脑上生成IP地址的二维码,手机扫描后保存到本地;

2. 捷径需要手动操作,无法自动同步剪贴板?
方案1:是的,下拉负一屏,手动点击同步才可以。
方案2:利用NFC扫描标签,创建个人自动化捷径,需要时扫一下标签(公交卡,门禁卡都可以)。

捷径

https://www.icloud.com/shortcuts/c35ac66425e946b091bae96225b95ace
MIT License Copyright (c) 2020 jiangxiaogang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

基于HTTP协议,使用iPhone同步Windows剪贴板。 展开 收起
C++ 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C++
1
https://gitee.com/kerndev/clipboard_sync.git
git@gitee.com:kerndev/clipboard_sync.git
kerndev
clipboard_sync
clipboard_sync
master

搜索帮助