picgo-plugin-gitee-uploader
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

picgo-plugin-gitee-uploader

plugin for PicGo

  • Sync uploaded with gitee use data.json
  • Sync remove action
  • Pull img info from gitee

Don't edit lastSync

Usage

Config

  • repo: repo name, split by '/', eg: owner/repoName
  • branch: default master
  • token: gitee personal access token
  • path: file path
  • customPath: auto config path
  • customUrl: used to insead of https://gitee.com/:owner/:repo/raw/:path/:filename, eg: ${customUrl}/path/filename.jpg

makesure the customUrl can access your repo

customPath

自动配置path路径 示例:path:blog/$customPath

  1. customPath选择年,则实际的path值为blog/2019
  2. customPath选择年季,则实际的path值为blog/2019/summer
  3. customPath选择年月,则实际的path值为blog/2019/01

$customPath为占位符。

Menu

  • Sync gitee: Just sync data.json (use latest updated)
  • Pull gitee: Pull all img info from gitee (force and override local data.json)

Thanks

this plugin base cloned from picgo-plugin-github-plus

picgo-plugin-github-plus 1.2.0已经支持gitee.

Package Sidebar

Install

npm i picgo-plugin-gitee-uploader

Weekly Downloads

121

Version

1.1.2

License

MIT

Unpacked Size

318 kB

Total Files

16

Last publish

Collaborators

  • lizhuangs