{"id":15136783,"url":"https://github.com/jorgeagoiz/strapi-provider-storage-appwrite","last_synced_at":"2026-01-20T13:33:52.173Z","repository":{"id":236531554,"uuid":"792791658","full_name":"jorgeAgoiz/strapi-provider-storage-appwrite","owner":"jorgeAgoiz","description":"Appwrite provider for Strapi CMS","archived":false,"fork":false,"pushed_at":"2024-05-05T10:31:51.000Z","size":113,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T05:44:54.978Z","etag":null,"topics":["appwrite","appwrite-storage","strapi"],"latest_commit_sha":null,"homepage":"","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/jorgeAgoiz.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":"2024-04-27T15:37:24.000Z","updated_at":"2024-10-04T22:17:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"e52ad287-4903-4ff4-a007-28fd025148e4","html_url":"https://github.com/jorgeAgoiz/strapi-provider-storage-appwrite","commit_stats":null,"previous_names":["jorgeagoiz/strapi-provider-storage-appwrite"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jorgeAgoiz%2Fstrapi-provider-storage-appwrite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jorgeAgoiz%2Fstrapi-provider-storage-appwrite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jorgeAgoiz%2Fstrapi-provider-storage-appwrite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jorgeAgoiz%2Fstrapi-provider-storage-appwrite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jorgeAgoiz","download_url":"https://codeload.github.com/jorgeAgoiz/strapi-provider-storage-appwrite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247987107,"owners_count":21028891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["appwrite","appwrite-storage","strapi"],"created_at":"2024-09-26T06:41:15.549Z","updated_at":"2026-01-20T13:33:52.166Z","avatar_url":"https://github.com/jorgeAgoiz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# strapi-provider-storage-appwrite\n\n\u003cdiv\u003e\n  \u003cimg title=\"Appwrite\" alt=\"Appwrite logo\" src=\"assets/logo-appwrite.png\" width=\"140px\" height=\"130px\" /\u003e\n  \u003cimg title=\"Strapi\" alt=\"Strapi logo\" src=\"assets/strapi-logo.png\" width=\"140px\" height=\"140px\" /\u003e\n\u003c/div\u003e\n\n\n## Resources\n\n- [LICENSE](LICENSE)\n\n## Links\n\n- [Strapi website](https://strapi.io/)\n- [Strapi documentation](https://docs.strapi.io)\n- [Appwrite website](https://www.appwrite.io/)\n- [Appwrite documentation](https://www.appwrite.io/docs)\n- [Github repository](https://github.com/jorgeAgoiz/strapi-provider-storage-appwrite)\n\n## Installation\n\n```bash\n# using yarn\nyarn add strapi-provider-storage-appwrite\n\n# using npm\nnpm install strapi-provider-storage-appwrite --save\n```\n\n## Configuration\n\n- `provider` defines the name of the provider, in this case we must put \"strapi-provider-storage-appwriter\".\n- `providerOptions` is passed down during the construction of the provider. (ex: `new StorageClient(config)`).\n- `providerOptions.apiUrl` RESTful endpoint to manage your Appwrite project.\n- `providerOptions.projectId` ID of your Appwrite project.\n- `providerOptions.bucketId` ID of your Appwrite bucket.\n- `sizeLimit` maximum size limit for your files on bytes.\n\nSee the [documentation about using a provider](https://docs.strapi.io/developer-docs/latest/plugins/upload.html#using-a-provider) for information on installing and using a provider. To understand how environment variables are used in Strapi, please refer to the [documentation about environment variables](https://docs.strapi.io/developer-docs/latest/setup-deployment-guides/configurations/optional/environment.html#environment-variables).\n\n### Provider Configuration\n\n`./config/plugins.js` or `./config/plugins.ts` for TypeScript projects:\n\n```js\nmodule.exports = ({ env }) =\u003e ({\n  // ...\n  upload: {\n    config: {\n      provider: \"strapi-provider-storage-appwrite\",\n      providerOptions: {\n        apiUrl: env(\"APPWRITE_API_ENDPOINT\"),\n        projectId: env(\"APPWRITE_PROJECT_ID\"),\n        bucketId: env(\"APPWRITE_BUCKET_ID\"),\n      },\n      sizeLimit: 1000000000,\n      actionOptions: {\n        upload: {},\n        uploadStream: {},\n        delete: {},\n        checkFileSize: {},\n      },\n    },\n  },\n  // ...\n});\n```\n\n### Security Middleware Configuration\n\nDue to the default settings in the Strapi Security Middleware you will need to modify the `contentSecurityPolicy` settings to properly see thumbnail previews in the Media Library. You should replace `strapi::security` string with the object bellow instead as explained in the [middleware configuration](https://docs.strapi.io/developer-docs/latest/setup-deployment-guides/configurations/required/middlewares.html#loading-order) documentation.\n\n`./config/middlewares.js`\n\n```js\nmodule.exports = [\n  // ...\n  {\n    name: \"strapi::security\",\n    config: {\n      contentSecurityPolicy: {\n        directives: {\n          \"default-src\": [\"'self'\"],\n          \"img-src\": [\n            \"'self'\",\n            \"data:\",\n            \"blob:\",\n            env(\"APPWRITE_API_DIRECTIVE\"),\n            // Example: \"https://cloud.appwrite.io\"\n          ],\n        },\n      },\n    },\n  },\n  // ...\n];\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjorgeagoiz%2Fstrapi-provider-storage-appwrite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjorgeagoiz%2Fstrapi-provider-storage-appwrite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjorgeagoiz%2Fstrapi-provider-storage-appwrite/lists"}