1 | # abelone
|
2 |
|
3 | Convert scroll into a turnable bookiza app!
|
4 |
|
5 | This module works best with public domain HTML books off Gutenberg. That is to say, it is currently optimized to handle `paragraph` and `header` tags only.
|
6 |
|
7 | # Install
|
8 |
|
9 | ```
|
10 |
|
11 | $ npm i -g abelone
|
12 |
|
13 | ```
|
14 |
|
15 | `--global` flag is required because this is a command line utility.
|
16 |
|
17 |
|
18 | # Instructions
|
19 |
|
20 | Abelone command is tied to the alphabet 'a'.
|
21 |
|
22 | ```
|
23 |
|
24 | $ abelone --help or $ a -h
|
25 |
|
26 | $ abelone fetch <url> or $ a f <url> // Fetches the HTML, saves it as `original.html`.
|
27 |
|
28 | $ abelone sanitize or $ a s // Sanitize HTML off Gutenberg.
|
29 |
|
30 | $ abelone normalize or $ a n // Normalize HTML
|
31 |
|
32 | $ abelone paginate or $ a p // Paginate into book sized chunks per template.
|
33 |
|
34 |
|
35 | ```
|
36 |
|
37 | Done! The html page is now chunked into manuscript of your [bookiza](https://bookiza.io) app. |
\ | No newline at end of file |