samuelyeewl / zotrm

Tool to sync Zotero papers to the reMarkable tablet.
25 stars 9 forks source link

[enhancement]sync changes from remarkable back to zotero #8

Open yongweiy opened 3 years ago

yongweiy commented 3 years ago

I have been looking for a good way to manage papers on Remarkable tablet and I found zotrm quite handy. There is only one thing I wish the script could handle. Sometimes, we would make annotations on papers while reading on remarkable. Later on, it is very likely that we will turn to our laptop/PC to look for something (simply because it is easier to do). Therefore, I am wondering would that be great if we could bring changes on files from remarkable back to zotero. I am not quite familiar with the zotero api but I know python for sure and willing to take a look into the feature. Do you have any suggestion on where I should start with? @samuelyeewl

samuelyeewl commented 3 years ago

I agree, this is also something that I would like but haven't had time to work on. I imagine the following steps would need to be implemented:

yongweiy commented 3 years ago

Thanks for the detailed information! But unfortunately, I am getting busy these days and may not have time soon. I will definitely come back to this later.

samuelyeewl commented 3 years ago

I've made a first pass at implementing this, using the remarks package. Check out the remarks branch, you'll also need the zotrm branch in my fork of remarks.

tweedyf commented 3 years ago

I just tried to use this to transfer a PDF from my Zotero library to my RM2, add a highlight, and sync back. I get an error on the return trip when zotrm.py tries to process the stat info from rmapi.

https://gist.github.com/tweedyflanigan/a0c6a77e7bc909f0b5224f33a902fb08