To begin, this project is a simple adaptor for ReMarkable. It provides an easy to understand interface to manage your ReMarkable Documents from your tablet!
I'm maintaining it on my free time, so it's not perfect, but it's a good start.
Very easy to install:
$ go get github.com/restray/remarkable-adaptor
You must put your enable USB Web Interface on your ReMarkable!
ποΈ Settings --> Storage --> USB Web App
I personally use it to backup my tablet into my computer, to use my tablet offline and to use a Terminal CLI to push/pull files when I'm programming! I'll add in the README the projects that use this Lib π
You can watch the remarkable_test.go
to get a working example!
What you can do basically:
- Available types:
- File types:
ReFile ReFolder
that extendReDocument
- Files List:
ReDocuments ReFolders ReFiles
- Global interface:
ReMarkable
- File types:
Connect to the tablet API:
β οΈ By default, when you callLoad
, that will fetch root documents
tablet := new(ReMarkable)
tablet, err := tablet.Load("10.11.99.1")
Getting Documents:
/* ONLY NEEDED TO FORCE SYNC! */
tablet.FetchDocuments() // Will put current folder documents in the tablet struct
documents := tablet.Documents // Is a ReDocuments type
folders := tablet.Folders // Is a ReFolders type
files := tablet.Files // Is a ReFiles type
Moving to Folder:
β οΈ By default, when you callMoveFolder
, that will fetch root documents
folderToMove := tablet.Folders[0]
tablet.MoveFolder(&folderToMove)
Getting a document tree:
fmt.Println(tablet.GetTree())
/* Will output something like
π Root:
ββ ποΈ File On Root
ββ π Test/
| ββ ποΈ Children File
ββ π GoLang/
| ββ ποΈ Golang File\n
*/
βοΈ I'm currently working on it, should be release soon!