remarking icon indicating copy to clipboard operation
remarking copied to clipboard

feat: work without the cloud

Open sr1920 opened this issue 3 years ago • 1 comments

This requires you to connect to the cloud, which is a problem if you don't synchronize the device with the cloud. It would be nice to be able to also access directly the device through the USB port; it seems a minor modification, but really very useful!

sr1920 avatar Aug 14 '21 10:08 sr1920

You're right @sr1920, this is pretty minor modification.

The downloaded files from the cloud are laid out in the same format as the device files.

I see adding USB device support as follows:

Add support for running without the cloud by just looking at a directory of documents. This is pretty trivial to do. We just need to add an option like --re-use-working-dir and set --working-dir to a folder full of downloaded documents. Remarking can then use the documents that exist in the working dir instead of downloading from the cloud.

To read from USB you only need the path to the xochitl folder on the mounted remarkable device. That path can be passed to the remarking's --working-dir together with --re-use-working-dir to look at all documents on the device.

sabidib avatar Aug 18 '21 15:08 sabidib