picgo+github搭建免费图传

新建一个github仓库

picgo+github搭建免费图传

picgo+github搭建免费图传

生成token

picgo+github搭建免费图传

picgo+github搭建免费图传

picgo+github搭建免费图传

picgo+github搭建免费图传

picgo+github搭建免费图传

点击最下边的`Generate token`即可看到显示的token页面。(只显示一次!)

picgo+github搭建免费图传

配置picgo

下载地址:传送门

速度慢的同志可选这个:

链接:传送门
提取码:q3qs
安装之后进行配置:

picgo+github搭建免费图传

  1. 设定仓库名:username/仓库名(username可填写github用户名)
  2. 设定分支名:master
  3. 设定Token:填写上一步得到的Token。
  4. 指定存储路径:自定义,例:imgs/,相当于在刚刚新建的仓库下新建了一个文件夹。
  5. 设定自定义域名:格式:https://cdn.jsdelivr.net/gh/username/repo
    username为GitHub用户名,repo为新建的仓库,用于存储图片

至此配置完成,可以通过上传区进行上传图片。

picgo+github搭建免费图传

然后到相册中可粘贴格式(格式可自选url,md等)

picgo+github搭建免费图传

来源:传送门

相关文章: