Usando o Google Drive para uploads

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

1 curtida

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

1 curtida

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 curtidas

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

2 curtidas

Sim, é possível
Sem link direto
Mas existe um link de redirecionamento

E incorporar vídeo

Eu acho que deve ser salvo como image:driveID e video: driveID

E renderizado em img e IFrame

A pasta para upload deve ser compartilhada publicamente

1 curtida