From a255b69e74cfff1c5609bc81e62293c1d52e3874 Mon Sep 17 00:00:00 2001 From: Didi <_github@d10r.net> Date: Thu, 26 Jan 2017 18:15:42 +0100 Subject: [PATCH] added usage instructions --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 49d1dd4..8fade5f 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,23 @@ Code is from this gists: I have just added minor usability improvements (e.g. cmdline switch for input file selection) and a package.json file. -**TODO** +## Usage + +
+npm install +./main.js --help ++ +You just need to figure out the file to which the ebook was stored. As an example, in my case that was `~/.config/chromium/Default/databases/https_lesen.amazon.de_0/2` + +Of course the ebook needs to first be downloaded for offline use: +Go to the `library` view in the cloud reader App, right click the cover, click `Download`. + +## TODO This is much better then nothing, but far from perfect. * Generated files may become huge and cause troubles to some browsers. Storing images as standalone files may improve that. * Page numbers should probably be included (optionally?). * An option to extract only specific books would be useful for large libraries. Currently, it will extract all e-books found in the given file. -* The script could support the user in finding the right sqlite file. \ No newline at end of file +* The script could support the user in finding the right sqlite file.