Generate ebooks in epub (for iBooks) or mobi (for Kindle) from a collection of web links and feeds.
Install with pip:
$ pip install getbook
Note: this program only works on Python3.5+.
You may need to install kindlegen to create mobi format books.
There are serval ways to generate books.
You can generate a book from a feed:
$ getbook -u http://example.com/feed
It is also possible to generate books from a config JSON file:
$ getbook -f ./book.json
Use --format=mobi
to generate mobi file for kindle:
$ getbook -f ./book.json --format=mobi
The required fields in book.json
are:
- uid: the filename of the book
- title: book title
- author: author of the book
- chapters or sections
Get some examples in https://github.com/lepture/getbook/tree/master/demo
This program is licensed under APGL.