Skip to content

Sync a Nextcloud / Ownclowd / Dropbox / GDrive folder with reMarkable automagically

License

Notifications You must be signed in to change notification settings

verbavolant/reMarkable-autosync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

reMarkable-autosync

Sync a Nextcloud / Ownclowd / Dropbox / Google Drive folder with reMarkable automagically [2]

Needed:

For rmapy ( https://github.com/juruen/rmapi ) i think better for pdf preview in reMarkable

  • golang installed ( apt install golang )

For reMarkable API ( Splitbrain )

(select rmapy or reMakable in reMarkableSync.sh, comment ad uncomment)

  • rclone ( apt install rclone )
  • nextcloud (or other service compatible with rclone)

Create a nextcloud / ownlcloud / dropbox / gdrive directory for import (/invia_a_marco in the example) and one for export (/scartati_da_marco in the example) Create a cron in /etc/cron.d: "* * * * * user /home/user/remarkable/reMarkableSync.sh" (here, every minute)

You'll have in /home/user/remarkable those files and dir /Sincronizza (host rclone files) /src and /vendor (from ReMarkableAPI or rmapy) auth.token (token from remarkable, generated by one-time-password, if you use ReMarkableAPI) remarkable.php (if ypou use ReMarkableAPI) reMarkableSync.sh (chown +x)

Every pdf file saved into /invia_a_marco will be synced with reMarkable, also the pdf in zip archives. Other files will be moved to /scartati_da_marco.

in the future:

  • doc to pdf
  • mobi to pdf
  • xls to pdf

[1] composer follow this one https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-debian-9

sudo apt update

sudo apt install curl php-cli php-mbstring git unzip

curl -sS https://getcomposer.org/installer -o composer-setup.php

sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer


Works with:

1Fichier
Alibaba Cloud (Aliyun) Object Storage System (OSS)
Amazon Drive (See note) Amazon S3
Backblaze B2
Box
Ceph
Citrix ShareFile
C14
DigitalOcean Spaces
Dreamhost
Dropbox
FTP
Google Cloud Storage
Google Drive
Google Photos
HTTP
Hubic
Jottacloud
IBM COS S3
Koofr
Mail.ru Cloud
Memset Memstore
Mega
Memory
Microsoft Azure Blob Storage
Microsoft OneDrive
Minio
Nextcloud
OVH
OpenDrive
Openstack Swift
Oracle Cloud Storage
ownCloud
pCloud
premiumize.me
put.io
QingStor
Rackspace Cloud Files
rsync.net
Scaleway
SFTP
StackPath
SugarSync
Wasabi
WebDAV
Yandex Disk
The local filesystem

About

Sync a Nextcloud / Ownclowd / Dropbox / GDrive folder with reMarkable automagically

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages