GitHunt
S3

s373r/privatediary-downloader

Export your notes from Private Diary (http://privatediary.net/)

Private Diary downloader

Private Diary doesn't have the export feature and API for that, so we need this program ๐Ÿ˜‰

Written with https://github.com/DevExpress/testcafe ๐ŸŒŸ

Install

$ git clone https://github.com/s373r/privatediary-downloader
$ cd privatediary-downloader
$ npm i

Quick start

$ node . --help # or npm start --help
Usage: privatediary-downloader [options]

Options:
  -V, --version      output the version number
  -u <user>
  -p <password>
  -b [browser]       specify browser to launch (default: "firefox")
  -s, --sort [kind]  change output sorting kind (choices: "asc", "desc", default: "desc")
  -h, --help         display help for command

Run grabbing with Firefox:

$ node . -u USER -p PASSWORD

Or if you prefer Google Chrome:

$ node . -u USER -p PASSWORD -b chrome

After that your notes will be saved at output/ directory ๐Ÿ““

Advanced options

List all available browsers:

$ npm run list

Pick one from the previous command output (e.g. Safari) and run:

$ node . -u USER -p PASSWORD -b safari

โš ๏ธ Important note

http://privatediary.net/ works under HTTP (totally unsecure)!

After downloading, please transfer your notes to any modern alternative

Languages

JavaScript100.0%

Contributors

GNU Lesser General Public License v3.0
Created July 26, 2017
Updated April 30, 2023