Gathering detailed insights and metrics for strapi-provider-upload-imagekit
Gathering detailed insights and metrics for strapi-provider-upload-imagekit
Gathering detailed insights and metrics for strapi-provider-upload-imagekit
Gathering detailed insights and metrics for strapi-provider-upload-imagekit
@shoaibmerchant/strapi-provider-upload-imagekit
ImageKit provider for strapi upload
strapi-provider-upload-imagekit-io
ImageKit provider for strapi upload
@brudi/strapi-provider-upload-imagekit
ImageKit provider for strapi upload
@shaunpearce/strapi-provider-upload-imagekit
ImageKit provider for strapi upload
npm install strapi-provider-upload-imagekit
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
23 Stars
100 Commits
6 Forks
1 Watchers
3 Branches
2 Contributors
Updated on Mar 25, 2025
Latest Version
5.11.10
Package Id
strapi-provider-upload-imagekit@5.11.10
Unpacked Size
11.91 kB
Size
4.56 kB
File Count
11
NPM Version
10.8.2
Node Version
20.19.0
Published on
Mar 25, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
[!IMPORTANT]
MAYOR
andMINOR
versions of the provider are representing compatability with Strapi, while thePATCH
version is used to denote changes in the provider itself.
[!TIP] Consult the compatibility table if using previous versions of Strapi.
Strapi version | Compatible provider | Note |
---|---|---|
v3 | v0.x.x | Semver versioning |
v4 | v4.x.x | Providers mayor/minor version equals Strapis mayor/minor version to convey compatibility |
v5 | v5.x.x | Providers mayor/minor version equals Strapis mayor/minor version to convey compatibility |
1. Install via npm or yarn
npm install strapi-provider-upload-imagekit --save
or
yarn add strapi-provider-upload-imagekit
2. Add or modify the plugins configuration file
Global configuration file is located in ./config/plugins.js
Environment configuration files are located in ./config/env/{env}/plugins.js
For more information please check the official documentation.
3. Define global variables
Example .env
:
1IMAGEKIT_PUBLIC_KEY=ed6445336472aef39084720adcf903b9 2IMAGEKIT_PRIVATE_KEY=afbca80df2ec032de664aefb3a8579b7 3IMAGEKIT_URL_ENDPOINT=https://ik.imagekit.io/username 4IMAGEKIT_FOLDER=/production/images 5IMAGEKIT_BASE_URL=ik.imagekit.io
4. Add plugin configuration
Example ./config/plugins.js
:
1export default ({env}) => ({ 2 upload: { 3 config: { 4 provider: "strapi-provider-upload-imagekit", // Community providers need to have the full package name 5 providerOptions: { 6 publicKey: env('IMAGEKIT_PUBLIC_KEY'), 7 privateKey: env('IMAGEKIT_PRIVATE_KEY'), 8 urlEndpoint: env('IMAGEKIT_URL_ENDPOINT'), 9 10 // Optional 11 params: { 12 folder: env('IMAGEKIT_FOLDER'), 13 } 14 } 15 } 16 } 17});
5. Setting up strapi::security
middlewares to prevent contentSecurityPolicy
URL blocking
Modify ./config/middleware.js
:
1export default ({env}) => ([ 2 // ... 3 { 4 name: 'strapi::security', 5 config: { 6 contentSecurityPolicy: { 7 useDefaults: true, 8 directives: { 9 'connect-src': ["'self'", 'https:'], 10 'img-src': ["'self'", 'data:', 'blob:', env('IMAGEKIT_BASE_URL')], 11 'media-src': ["'self'", 'data:', 'blob:', env('IMAGEKIT_BASE_URL')], 12 upgradeInsecureRequests: null, 13 }, 14 }, 15 }, 16 }, 17]);
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
2 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
Found 0/28 approved changesets -- score normalized to 0
Reason
0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More