您的位置 首页 java

Typora图片自动上传(PicGo + Gitee)

Typora图片自动上传(PicGo + Gitee)

创建 码云 的私人访问令牌

Typora图片自动上传(PicGo + Gitee)

先保存着私人令牌,后面会用到

配置PicGo

Typora图片自动上传(PicGo + Gitee)

  1. 选择PicGo-Core(command line)
  2. 点击下载或更新
  3. 打开配置文件编辑内容
 {
  "picBed": {
    "current": "gitee",
    "uploader": "gitee",
    "gitee": {
      "branch": "master",
      "customPath": "yearMonth",
      "customUrl": "",
      "path": "填写仓库中的文件夹/",
      "repo": "用户名/仓库",
      "token": "自己仓库的私人Access Token"
    },
    "transformer": "path"
  },
  "picgoPlugins": {
    "picgo-plugin-gitee-uploader": true,
    "picgo-plugin-github-plus": true
  },
  "picgo-plugin-gitee-uploader": {
    "lastSync": "2020-04-30 01:41:13"
  },
  "picgo-plugin-github-plus": {
    "lastSync": "2020-04-07 11:09:08"
  }
}  

安装gitee-uploader插件

  1. 验证上传 先安装gitee-uploader上传插件(需安装node.js)进入到 C:UsersAdministratorAppDataRoamingTyporapicgowin64

Typora图片自动上传(PicGo + Gitee)

  1. 执行下面的命令
 .picgo.exe install gitee-uploader  

3.安装

Typora图片自动上传(PicGo + Gitee)

上传文件测试

文章来源:智云一二三科技

文章标题:Typora图片自动上传(PicGo + Gitee)

文章地址:https://www.zhihuclub.com/174646.shtml

关于作者: 智云科技

热门文章

网站地图