saber icon indicating copy to clipboard operation
saber copied to clipboard

Add option to auto-export all notes to pdf

Open njhdunn opened this issue 3 years ago • 5 comments

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):

  • Device: Desktop PC
  • OS: Kubuntu Linux
  • Version: 22.04

njhdunn avatar Dec 28 '22 17:12 njhdunn

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

ModcoLocko avatar Feb 19 '23 16:02 ModcoLocko

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.

HoWilgh avatar May 30 '23 11:05 HoWilgh

@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.

adil192 avatar May 30 '23 14:05 adil192

@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

HoWilgh avatar May 31 '23 05:05 HoWilgh

@HoWilgh PDFs used to be in vector format, but I abandoned that

I exported the note to PDF and then opened it in Inkscape, and there are only vector drawings. So now PDFs are vectors? If yes, the option to export as SVG would be useful.

docentYT avatar Oct 05 '25 22:10 docentYT