{"id":13602496,"url":"https://github.com/hezzze/strapi-provider-upload-oss","last_synced_at":"2026-02-10T16:35:02.260Z","repository":{"id":49259109,"uuid":"160287902","full_name":"hezzze/strapi-provider-upload-oss","owner":"hezzze","description":"A provider for strapi server to upload file to Aliyun OSS","archived":false,"fork":false,"pushed_at":"2024-07-24T18:12:51.000Z","size":43,"stargazers_count":66,"open_issues_count":1,"forks_count":14,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-09T15:13:51.872Z","etag":null,"topics":["aliyun","oss","provider","strapi"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hezzze.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-04T03:00:51.000Z","updated_at":"2025-09-11T08:33:48.000Z","dependencies_parsed_at":"2024-07-24T18:48:40.966Z","dependency_job_id":"b1b56bf0-ee64-4f59-8b89-e9b595dadd78","html_url":"https://github.com/hezzze/strapi-provider-upload-oss","commit_stats":{"total_commits":33,"total_committers":5,"mean_commits":6.6,"dds":"0.24242424242424243","last_synced_commit":"a0a1566dd07a702ace3658f944f64e61ce194e76"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/hezzze/strapi-provider-upload-oss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hezzze%2Fstrapi-provider-upload-oss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hezzze%2Fstrapi-provider-upload-oss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hezzze%2Fstrapi-provider-upload-oss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hezzze%2Fstrapi-provider-upload-oss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hezzze","download_url":"https://codeload.github.com/hezzze/strapi-provider-upload-oss/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hezzze%2Fstrapi-provider-upload-oss/sbom","scorecard":{"id":463393,"data":{"date":"2025-08-11","repo":{"name":"github.com/hezzze/strapi-provider-upload-oss","commit":"d1def363d27e2d4c0fa1ac90ab2f62aa66920c41"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":2,"reason":"Found 6/22 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 14 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T11:47:02.471Z","repository_id":49259109,"created_at":"2025-08-19T11:47:02.471Z","updated_at":"2025-08-19T11:47:02.471Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29307911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T16:09:25.305Z","status":"ssl_error","status_checked_at":"2026-02-10T16:08:52.170Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aliyun","oss","provider","strapi"],"created_at":"2024-08-01T18:01:25.444Z","updated_at":"2026-02-10T16:35:02.232Z","avatar_url":"https://github.com/hezzze.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# strapi-provider-upload-oss\nA provider for strapi server to upload file to Aliyun OSS.\n\n# Requirements\n- Node.js \u003e= 10\n- npm \u003e 6\n\n# Installation\n```bash\n$ npm install strapi-provider-upload-oss --save\n```\n\nor\n\n```bash\n$ yarn add strapi-provider-upload-oss --save\n```\n\nFor more details, please see: https://strapi.io/documentation/developer-docs/latest/development/plugins/upload.html#using-a-provider\n\n# Usage\n\n\n### Strapi v4\n\nThe lastest version of the provider supports v4 by default, configuration is updated a little bit. See example below for ```./config/plugins.js```:\n\n```javascript\nmodule.exports = ({ env }) =\u003e ({\n  upload: {\n    config: {\n      provider: 'strapi-provider-upload-oss', // full package name is required\n      providerOptions: {\n        accessKeyId: env('ACCESS_KEY_ID'),  // required\n        accessKeySecret: env('ACCESS_KEY_SECRET'), // required\n        region: env('REGION'), // required\n        bucket: env('BUCKET'), // required\n        uploadPath: env('UPLOAD_PATH'),\n        baseUrl: env('BASE_URL'),\n        timeout: env('TIMEOUT'),\n        secure: env('OSS_SECURE'),\n        internal: env.bool('OSS_INTERNAL', false),\n        bucketParams: {\n          ACL: 'private', // default is 'public-read'\n          signedUrlExpires: 60 * 60 // default is 30 * 60 (30min)\n        }\n      }\n    }\n  }\n});\n```\n\nOfficial documentation [here](https://docs.strapi.io/developer-docs/latest/plugins/upload.html#enabling-the-provider)\n\n### Strapi v3\n\nWith a stable release of Strapi 3.0.0, the configuration was moved to a JavaScript file. Official documentation [here](https://docs-v3.strapi.io/developer-docs/latest/development/plugins/upload.html#enabling-the-provider).\n\nTo enable the provider, create or edit the file at ```./config/plugins.js```.\n\n```javascript\nmodule.exports = ({ env }) =\u003e ({\n  upload: {\n    provider: 'oss',\n    providerOptions: {\n      accessKeyId: env('ACCESS_KEY_ID'),\n      accessKeySecret: env('ACCESS_KEY_SECRET'),\n      region: env('REGION'),\n      bucket: env('BUCKET'),\n      uploadPath: env('UPLOAD_PATH'),\n      baseUrl: env('BASE_URL'),\n      timeout: env('TIMEOUT'),\n      secure: env('OSS_SECURE'), //default to true\n      internal: env.bool('OSS_INTERNAL', false),\n    }\n  }\n});\n```\n\n### Provider Options\n\nProperty | type |  value\n----- | ---- | ------------\n**accessKeyId** | string | \u0026lt;aliyun access key id\u0026gt;\n**accessKeySecret** | string | \u0026lt;aliyun access key secret\u0026gt;\n**region** | string | OSS region (see reference below)\n**bucket** | string | bucket name\n**uploadPath** | string | path to store the file\n**baseUrl** | string | can be your custom oss url for accessing the uploaded file, e.g. //www.website.com\n**timeout** | integer | OSS upload timeout (unit: seconds)\n**secure** | boolean | will https mode be enabled for oss client\n**internal** | boolean | access OSS with aliyun internal network or not, default is false. If your servers are running on aliyun too, you can set true to save lot of money.\n\n\n# OSS Region reference\nhttps://help.aliyun.com/document_detail/31837.html#title-qvx-r3a-xr4\n\n# Troubleshooting\n\nQ: getting \"The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.\"\n\nA: Check if the OSS region is correct for the bucket you're using\n\n# Contribution\nThis repo is maintained periodically, any contribution is highly welcomed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhezzze%2Fstrapi-provider-upload-oss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhezzze%2Fstrapi-provider-upload-oss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhezzze%2Fstrapi-provider-upload-oss/lists"}