rmd
is a Pocket to reMarkable cloud sync daemon. It carries out its job by:
- retrieving articles saved on Pocket that are marked with a specific tag or starred as favorites;
- converting them to
EPUB
(viapandoc
); - uploading them to reMarkable cloud into a specific location so you will be able to read them on your reMarkable tablet.
$ go get github.com/nazavode/rm/cmd/rmd
Please note that to be able to convert (sanitized and polished) HTML
content to EPUB
, pandoc
must be installed and available in $PATH
.
In order to be able to authenticate on both ends of the data flow, you should obtain proper tokens from both the cloud services involved:
- Pocket device and user tokens, set either via command line (
--pocket-token
and--pocket-user
) or via environment variables ($RMD_POCKET_TOKEN
and$RMD_POCKET_KEY
) - reMarkable cloud device token, set either via command line (
--rm-device
) or via environment variable ($RMD_RM_DEVICE_TOKEN
)
With proper authentication tokens in place, the sync daemon can be started with:
$ rmd