Files
bookmark_sync/README.md
2026-04-19 19:58:17 +08:00

32 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# bookmark_sync书签同步到码云[Gitee](https://gitee.com/) 或自建 Gitea
此插件为Chrome浏览器的插件支持将Chrome浏览器的书签数据同步到码云或自建的Gitea服务器以及从服务器上下载已经保存的书签数据使得不方便访问谷歌的人能够有另外一种同步浏览器书签的选择。
#### 1:界面
![输入图片说明](https://images.gitee.com/uploads/images/2019/0808/103915_9cf93b07_4859264.png "屏幕截图.png")
#### 2.填写说明
* serverGitea服务器URL例如https://gitee.com/api/v5/ 或 https://your-gitea.com/api/v1/
* access_token码云/Gitea的用户授权码获取方式见[3:access_token获取说明](#3access_token获取说明)
* owner仓库所属空间地址设置方法如下只能设置一次
![输入图片说明](https://images.gitee.com/uploads/images/2019/0808/111658_15a42660_4859264.png "屏幕截图.png")
* repo仓库路径新建仓库方法如下
![输入图片说明](https://images.gitee.com/uploads/images/2019/0808/111855_c71b934f_4859264.png "屏幕截图.png")
* path文件的路径获取如下
![输入图片说明](https://images.gitee.com/uploads/images/2019/0808/111950_1f8806b3_4859264.png "屏幕截图.png")
* branch分支(通常是master)
#### 3:access_token获取说明
###### 3.1:码云Gitee
点击头像下拉框的“设置”按钮
![输入图片说明](https://images.gitee.com/uploads/images/2019/0808/104632_64161a1c_4859264.png "屏幕截图.png")
...(其余步骤相同)
###### 3.2:Gitea自建服务器
在你的Gitea实例中进入用户设置 > 应用 > 生成令牌。输入描述勾选必要权限如repo生成并复制令牌。
欢迎交流:新浪微博:@x扬f