/syncrm

Python module and command line utilities to interact with the reMarkable tablet's cloud storage

Primary LanguagePythonGNU Lesser General Public License v2.1LGPL-2.1

syncrm

Python module and command line utilities to interact with the reMarkable tablet's cloud storage

Heavily reliant on prior works:

  • by Andreas Gohr (@splitbrain), see his API documentation over here;
  • by @edupont, see his rM2svg code over here.

At the present syncrm depends on two command-line utilities:

  • rsvg-convert, which is installable in Ubuntu as librsvg2-bin; and
  • pdftk, which is installable in Ubuntu 16.04 LTS as pdftk but is presently unavailable in 18.04 LTS.

Usage

syncrm is supposed to mimick the git work flow.

Initialization

You can initialize a new syncrm repository using

mkdir Documents
syncrm init Documents ONE-TIME-CODE

where the ONE-TIME-CODE can be obtained from reMarkable here.

Fetching the updates

You can fetch updated documents to your syncrm repo, without overwriting the presently checked-out files. The command is

syncrm fetch

Checking out the updates

You can check out all updates to your documents using

syncrm checkout