Using google drive for uploads

Is it possible to use google drive to store images uploaded to discourse?

1 Like

Does Google let you serve files directly yet? Aren’t they still always wrapped in the web UI?

1 Like

Not sure. I’ve always used google drive from a desktop.
I’ve been told folders from a google drive can be shared between two clients.
It’s probable the google drive could be mounted into a unix tree … that would get around needing private access to read write - as far as discourse would be concerned it would local storage.

2 Likes

I’ll have a play with https://github.com/odeke-em/drive#drive-server and see how it goes.

2 Likes

Yes it possible

No direct link
But there’s redirect link

And embed video
http://sangsoonam.github.io/2019/07/27/how-to-embed-a-google-drive-video.html

I think it must save as image:driveID and video: driveID

And render it itu img and IFrame

The folder to upload must be shared public

1 Like