juruen / rmapi

Go app that allows you to access your reMarkable tablet files through the Cloud API
GNU Affero General Public License v3.0
971 stars 100 forks source link

New library for converting .rm files to PDF #141

Open poundifdef opened 3 years ago

poundifdef commented 3 years ago

Hello! I've written a little library which converts the .rm and the .zip files to an annotated PDF. I'd like to invite you to check it out!

https://github.com/poundifdef/go-remarkable2pdf

I have taken your .rm parsing code, and built my own renderer using FPDF. It exposes some basic interfaces, and of course has a number of TODO items. I wanted to share in case you had suggestions. And, if you wanted to incorporate as part of this package, then you may certainly do so. I've tried to keep the interface as straightforward as possible.

Thanks so much for your project!

ddvk commented 3 years ago

i think it makes sense to extract the pdf rendering out of rmapi, in a separate executable, we can have different implementations like this one