Typora picgo-core gitee图片上传设置

1. 创建gitee仓库,并获取私人令牌

2. 安装nodejs

3. 安装picgo-core

复制代码
 偏好设置-》图像-》上传服务选择【PicGo-Core(command line)】-》下载或更新

4. 安装gitee-uploader

  1. 上面的完整路径是
    C:\\Users\\52956\\AppData\\Roaming\\Typora\\picgo\\win64\\picgo.exe
    进入
    C:\Users\{用户}\AppData\Roaming\Typora\picgo\win64\
  2. shift+鼠标左键单击,点击在终端中打开
  3. 输入.\picgo.exe install gitee-uploader 回车
  4. 输入.\picgo.exe install super-prefix回车

5. 配置

点击打开配置文件

json 复制代码
{
  "picBed": {
    "current": "gitee",
    "uploader": "gitee",
    "gitee": {
      "repo": "user-aaa/repo-bbb",
      "token": "xxxa306a11xf8edxx",
      "path": "img",
      "customUrl": "",
      "branch": "master"
    }
  },
  "picgoPlugins": {
    "picgo-plugin-gitee-uploader": true,
    "picgo-plugin-super-prefix": true
  },
  "picgo-plugin-super-prefix": {
    "fileFormat": "YYYYMMDDHHmmss"
  }
}

仓库地址:https://gitee.com/user-aaa/repo-bbb.git

picBed.gitee.repo: https://gitee.com/**user-aaa/repo-bbb** .git
picBed.gitee.token: 私人令牌
picBed.gitee.path: 存储目录

6. 验证图片上传

相关推荐
星际编程喵1 天前
研发流程规范:Git Commit 书写标准
git·gitee·github·gitcode
-拟墨画扇-2 天前
Git | 文件提交操作
git·gitee·github·gitcode
-拟墨画扇-2 天前
Git | 文件修改操作
大数据·git·gitee·github·gitcode
-拟墨画扇-2 天前
Git | 版本控制操作
大数据·git·gitee·github
nono牛2 天前
MTK平台Android init.rc服务详解实例
android·gitee
睡觉待开机2 天前
vscode+gitee+picgo实现稳定图床教程
ide·vscode·gitee
-拟墨画扇-2 天前
Git | 状态查看操作
git·gitee·github·gitcode
FIT2CLOUD飞致云2 天前
喜报|DataEase开源BI工具获颁Gitee 2000 Star荣誉奖杯
gitee·开源·dataease·bi·飞致云
噜~噜~噜~3 天前
如何用Typora画甘特图
typora·甘特图
柯南二号3 天前
【大前端】【Android】【iOS】iOS 和 Android 常见“垂直居中”
macos·gitee·cocoa