V8-archive: How to implement storage adapters other than S3

Created on 25 Oct 2018  Â·  11Comments  Â·  Source: directus/v8-archive

From directus created by michchan : directus/directus#2087

The documentation (6.4.0) just mentioned how to implement S3
but is there any guide to implement others, say dropbox, one drive etc.?

docs

Most helpful comment

Hi @hakkurishian, This my help you. https://github.com/enl/flysystem-cloudinary

All 11 comments

Not possible at the moment.

Ref: https://github.com/directus/api/issues/61

There's a pull request that seems to allow custom adapter based on the Flysystem adapter interface. (https://github.com/directus/api/pull/603/files).

I am looking to connect Dropbox on my Directus v7 install (latest version).

Seems this was allowed in v6 - https://github.com/directus/docs-6-legacy/blob/master/administrator-guide/storage-adapters.md

And as mentioned by @wellingguzman - there is a pull request here - https://github.com/directus/api/pull/603/files --> Has anyone tried this and got it to work?

Just wondering if there is any "officially" supported method for implementing Dropbox?

@bjgajjar — any thoughts on this? It would be great to have more Official Storage adapters... and to update the docs on how these can be created.

@benhaynes I'm also at the point where I want to write my own storage adapter (and of course share it if useful) - in this case to cloudinary. Did anyone try the pull request mentioned by @swatiag1101 ?

Hi @benhaynes, API is using FlySystem for file management.

So We can easily integrate other adapters supported by FlySystem.

Hi @hakkurishian, This my help you. https://github.com/enl/flysystem-cloudinary

@hemratna Thanks a lot! I remember seeing that in a previous documentation version of directus, e.g. how to integrate a custom provider with flysystem. However now I'm not sure where to place my adapter and where to obtain a template for it.

Thanks @hemratna — can you add some more info to the Docs on how to create different Flysystem storage adapters? eg: where to add files, etc

https://docs.directus.io/extensions/storage-adapters.html#core-adapters

Also, this seems like a similar issue:

https://stackoverflow.com/questions/57201545/how-to-create-a-page-extension-in-directus-7

A user doesn't know where to put the files for their extension. Let's make sure that the Docs are clear on all of this information.

@benhaynes see. my latest comment on the similar issue directus/docs#148. A revised overview of paths and templates (in addition to the examples) would for sure benefit beginners like me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

benhaynes picture benhaynes  Â·  4Comments

vuhrmeister picture vuhrmeister  Â·  3Comments

ondronix picture ondronix  Â·  3Comments

binary-koan picture binary-koan  Â·  3Comments

Varulv1997 picture Varulv1997  Â·  3Comments