Strapi upload provider contabo

I need to use contabo object storage it uses the same as aws s3 . is there easy way to do the integration ? is there plugin I can use to do the integration for the upload provider with contabo object storage ?

Contabo doesn’t have a plugin unfortunately so you have to write it from scratch.
It’s not too hard tho, you can look up the AWS S3 plugin’s source code and write your own based on that.

This is true, I use Contabo as my host actually didn’t know they had OBstorage too :smiley:

But when it comes to write a plugin, they are saying S3-Compatible API so I presume URLs etc are the only thing that changes.
Might be worth check that it has an API you can use if so what are the docs, and could write a plugin for it.

I wrote a plugin for S3 myself so as @DavidWitten said it should not be to hard to modify it.

yeah Thanks guys I found the solution it is very easy . Use Contabo Object Storage with NodeJS - DEV Community . using this tutorial and I used the official aws provider upload by strapi team just changed the plugin.js files added endpoint and s3endpointbucket and it worked .

const s3 = new AWS.S3({
    endpoint: `contabo_storage_bucket_url`, // e.g.
    accessKeyId: "your_access_key_here",
    secretAccessKey: "your_secret_key_here",
    s3BucketEndpoint: true,
1 Like