hexo-cos-uploader

1.0.6 • Public • Published

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

Package Sidebar

Install

npm i hexo-cos-uploader

Weekly Downloads

1

Version

1.0.6

License

MIT

Unpacked Size

7.83 kB

Total Files

6

Last publish

Collaborators

  • caikeal