Skip to content

A provider for strapi server to upload file to Aliyun OSS

License

Notifications You must be signed in to change notification settings

fouber/strapi-provider-upload-oss

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

strapi-provider-upload-oss

A provider for strapi server to upload file to Aliyun OSS

Installation

$ npm install strapi-provider-upload-oss --save

The installation will trigger a refresh for the server, and then you can go to http://your-strapi-server/admin/plugins/upload/configurations/development, choose Aliyun Web Service OSS in the dropdown to activate the provider.

For more details, please see: https://strapi.io/documentation/guides/upload.html#install-providers

Usage

The description for each fields to fill in strapi's configuration UI are as follows:

Field value
AccessKeyId token <aliyun access key id>
AccessKeySecret token token <aliyun access key secret>
Region OSS region
Bucket bucket name
Upload Path path to store the file
Domain to access can be your custom oss domain for access
timeout OSS upload timeout (unit: seconds)
Automatically generate thumbnails (Beta) VIDEO FILES ONLY currently only supports .mp4 file, will generate thumbnail for the video uploaded (screenshot at 00:01 of the video, size: 480x360)

Example:

About

A provider for strapi server to upload file to Aliyun OSS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%