saber-notes / saber

The cross-platform open-source app built for handwriting
https://saber.adil.hanney.org
GNU General Public License v3.0
2.14k stars 136 forks source link

Add option to auto-export all notes to pdf #180

Open njhdunn opened 1 year ago

njhdunn commented 1 year ago

Is your feature request related to a problem? Please describe. My current workflow for notes is device- and application-agnostic, where all of my notes are always available as pdf files so they can be viewed on any device that can handle the pdf format. This allows me to keep my full set of notes available on devices like ereaders, and makes it so my notes aren't locked to any single application.

Describe the solution you'd like Add an option to automatically and periodically export all notes to pdf (or a standard image format) to a local folder. This would allow the notes to be synchronized via e.g. syncthing to devices where saber may not be available.

Describe alternatives you've considered I would also be open to a command-line utility that renders a saber file to pdf. I could then sync the raw saber files with a machine that would run this utility and generate the pdfs.

Device (please complete the following information):

ModcoLocko commented 1 year ago

This would be very useful for me also, as it would allow for using syncthing instead of nextcloud.

HoWilgh commented 1 year ago

Would also like to see .pdf or even better .svg, so the notes can be edited and used in other applications like inkscape, LibreOffice or similar.

adil192 commented 1 year ago

@HoWilgh PDFs used to be in vector format but I abandoned that since it resulted in too many discrepancies from the in-app editor and it was unmaintainable. The same problems would occur with SVGs. See the commit message here for more info: https://github.com/adil192/saber/commit/5a8bfdabb08ce36355e1314a53303d1446ed3af0.

HoWilgh commented 1 year ago

@adil192 Thanks for the quick reply. I suggest you state somewhere in the Readme where you are heading to regarding export-possibilities since exporting/reusing/backuping notes is crucial for many of us. If there is no vector/editable output than it is as it is. Thanks and BR