Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 803 Bytes

readme.md

File metadata and controls

47 lines (36 loc) · 803 Bytes

picgo-plugin-gitee

PicGo Uploader For Gitee

Install

npm i picgo-plugin-gitee

Usage

input your config

  • owner: gitee project's owner name
  • repo: gitee project repo
  • token: gitee's api token
  • path: img path in response json (eg:url or data.url)
  • message: gitee commit

init your remote repo

  • create git repo?
mkdir resources
cd resources
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin your-remote-link
git push -u origin master
  • exists repo?
cd existing_git_repo
git remote add origin your-remote-link
git push -u origin master

Feature

  • support sync gitee file delete

Todo

  • trim / delimiter

gitee文件大小有1mb限制, 所以超过1mb的文件无法通过外链获取