spacedrive icon indicating copy to clipboard operation
spacedrive copied to clipboard

Google Drive Integration

Open oscartbeaumont opened this issue 3 years ago • 5 comments

  • [ ] Authenticating local cores
  • [ ] Authenticating cloud hosted cores
  • [ ] List files
  • [ ] Open files
  • [ ] Edit files
  • [ ] Delete files
  • [ ] Deal with ownership related to the CRDT sync layer

oscartbeaumont avatar May 04 '22 11:05 oscartbeaumont

Hi, I'm the maintainer of OpenDAL: An Apache Incubator Project that allows users to easily and efficiently retrieve data from various storage services in a unified way.

I'm interested in integrating OpenDAL with Spacedrive to add Google Drive support. Do you think it's a good idea?

Xuanwo avatar Jun 13 '23 15:06 Xuanwo

OpenDAL is awesome from what I've seen - I've just never personally had a use for it. We could setup the framework to support other platforms via the same utility (as I believe there's support for Onedrive, S3 and a few others).

Integration would be great, IMO.

brxken128 avatar Aug 10 '23 15:08 brxken128

We could setup the framework to support other platforms via the same utility (as I believe there's support for Onedrive, S3 and a few others).

Great! Please let me know when this framework has been set up. I can't wait to start working on it!

Xuanwo avatar Aug 11 '23 04:08 Xuanwo

Some progress from the OpenDAL side: we have set up integration tests for Google Drive. You can find the test results at this link: https://github.com/apache/incubator-opendal/actions/runs/6022738174/workflow. These tests allow us to verify that the gdrive services are functioning as expected.

Xuanwo avatar Aug 31 '23 01:08 Xuanwo

Hello, everyone here. I'm willing to take the task to integrate opendal with spacedrive (and support google drive first!)

Before this work can start, I need to the following setup:

  • [ ] Please provide me with documentation on the current filesystem layer that I can integrate with. Do we already have a form of filesystem abstraction in place?
  • [x] OpenDAL only cares about the google drive itself. Spacedrive should implement the OAuth logic with users, like forward users to google login, get the oauth token, refresh while needed and so on.

I have setup a channel in OpenDAL Discord server at https://discord.gg/R6GMDWUGKD, welcome to join in for the details!

@jamiepine, could you invite the right people in this issue? Thanks!

Xuanwo avatar Dec 21 '23 08:12 Xuanwo