It exports to both HTML & PDF files with HTML being the default
- Html-pdf
- Puppeteer
- xml-js
You can skip Puppeteer if you want to export entries to pdf without images.
- Put diaro backup file as well as
media
folder intoxml
folder [there is dummy data included for test purposes] - Run the node JS app:
node diaro.js
// This is the default, it will generate the html file with all the entries & images.node diaro.js -pdf
// To export to a pdf file without images (fast pdf export).node diaro.js -pdf -img
// To export to a pdf file with images included (somehow slow).