1.0.6 • Published 5 years ago

hexo-cos-uploader v1.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

hexo-cos-uploader

Tencent Cloud Object Storage (COS) plugin of Hexo

Introduce

COS is one of the best static blog hosting platforms, you can enable CDN and configure Https.

hexo-cos-uploader allows you to publish your Hexo blog directly using commands hexo d.

Installation

$ npm install hexo-cos-uploader --save

Options

You must configure in _config.yml as follows:

deploy:
  type: cos
  secretId: yourSecretId
  secretKey: yourSecretKey
  bucket: yourBucket
  region: yourRegion
  pathPrefix: yourPathPrefix
  deleteInPathPrefix: false

You can get this information from your Tencent Cloud Console.

Go to the COS Object Storage Console Create a bucket and get the Bucket (Bucket Name) and Region (Region Name). Go to Key Management Console Get your project SecretId and SecretKey.

Release Notes

Opinions & Suggestions

You can commit your opinions and suggestions to Issues, or send mail to caikeal@qq.com.

License

MIT

Thanks

thanks to the author sdlzhd