fsantini / KoboCloud

A set of scripts to synchronize a kobo reader with popular cloud services
Other
1k stars 97 forks source link

Support OneDrive #145

Open SmartLayer opened 1 year ago

SmartLayer commented 1 year ago

Because I need to access it at work, I would like to sponsor the development effort of adding OneDrive support. Kindly let me know if you accept sponsors;)

fsantini commented 1 year ago

Hi! We never had sponsors before but some money is of course welcome :) But let's see if what you want is actually possible. What did you have in mind? OneDrive support with public folders like the other services? Or would you need to access password-protected areas?

SmartLayer commented 1 year ago

I will be happy if it can access a specific folder in my OneDrive, in a read/write way so I can write on top of PDF files and let it be saved. Note that the said folder is already shared with the team (we don't use OneDrive business, just the normal OneDrive personal version and share folder access to teammates with the normal share-by-email feature).

But I loathe the way ReMarkable 2 supports OneDrive. The way they did this is:

  1. You can browse files in OneDrive. If there is one you want to read, you can only do one thing to it: copy it to ReMarkable 2, which leads it to be copied to the ReMarkable device and its own cloud.
  2. Then you can read and edit it (write on top of the PDF pages) in Remarkable 2, but it is not saved to OneDrive. It's a local copy.
  3. You remind yourself to upload the local copy by browsing to that OneDrive directory where you originally found the PDF, then overwrite the file there.

This copy-and-upload flow completely destroyed my workflow and made me uncertain if I uploaded the latest version.

The Elipsa way to deal with the built-in Dropbox integration is to add it to the user's "My Books" section, which is not a copy, but a shortcut. I know it because if I write on those PDFs, later, when I look at Dropbox, the file has my writing on it. There is no separate "upload" step. This is desirable for OneDrive as well.

JohannBarth1 commented 1 year ago

I am interested in this feature too. Support for public folders like on other services would be ideal.

immortal-blog commented 1 year ago

I am interested in this feature too. Support for public folders like on other services would be ideal.

teenccu commented 1 year ago

I am also interested for the feature

groentebroer commented 1 year ago

Would there be a way to get the file listing with CURL? If someone can help out with that, it might be feasable.

draymond63 commented 9 months ago

Just tried @marklar423 's fork that uses rclone, can confirm it works with OneDrive