1.0.0 • Published 3 years ago

picgo-plugin-ucloud v1.0.0

Weekly downloads
33
License
MIT
Repository
-
Last release
3 years ago

Picgo Plugin Ucloud

This repository is a PicGo plugin for uploading images to ucloud. The upload image will be renamed as <image_md5>.<file_ext>.

How to install

Assume that you have Git and NodeJs/Npm environment, open your powershell.

  1. Clone/Download this repository to PicGo configuration folder.

In windows, it's C:\Users\<your username>\.picgo\

In linux and mac, it's ~/.picgo/

git clone https://github.com/Wsine/picgo-plugin-ucloud.git
  1. Install the plugin
picgo install ucloud

How to config

{
  "picBed": {
    "uploader": "ucloud",
    "current": "ucloud",
    "ucloud": {
      "bucket": "<your bucket>",
      "public_key": "<your public key>",
      "private_key": "<your private key>"
    }
  },
  "picgoPlugins": {
    "picgo-plugin-ucloud": true
  }
}

You may want to modify the region and folder variables in src/index.js file.