GjjvdBurg/paper2remarkable

Upload via the USB Web API instead of using rmapi

wittmeis opened this issue · 1 comments

Hi, very nice project!!!

I also use the RM2 a lot for reading and annotating scientific papers and since I do not want to use the subscription or the RM cloud I was so far uploading the PDFs to the RM using the USB web interface. However, that involves a lot of manual steps (downloading of the paper, resizing using ghostscript, etc.) that you automated already.

Hence, I was wondering whether you could consider to also support an upload of the paper using the USB web API protocol instead of rmapi. There is already a Python library for downloading files from the RM2 using the USB web API here and I already created another issue in the rmWebUiTools repo and asked whether the API could be extended to support the uploading of documents. If this would be added I could maybe contribute a PR that extends paper2remarkable and lets the user choose between rmapi and rmWebUiTools.

What do you think?

Hi @wittmeis, thanks for opening this issue! I think that's a worthwhile addition to the project. I don't have too much time to commit to this package, but if you open a PR with the functionality (or even to discuss it while developing), I will certainly take a look!