A little node.js script for automating some of the more tedious jobs that are involved in making an ebook.
Warning: this is an idiosyncratic script that works for me and my clients. You will need to make changes to make it work for you, it will not work out of the box. Not yet, anyway.
- Clone or fork this repo
- Make sure you have node.js installed
- Navigate to the cloned folder in your terminal
- Run
$ npm install
in your terminal (don't type the$
, that's just to signal that it's a terminal command) - Either copy the .epub file you want to process into the cloned folder, or get its filepath
- Run
$ node index.js
if you copied the file in, or$ node index.js "<filepath>"
if you didn't
There is also $ node amzn.js
for turning your .epub file into a .mobi file using kindlegen.
Coming soon...!