georgjaehnig / webpages-to-ebook

Create an EPUB from a list of URLs. Standing on the shoulders of Wget, Readability and Pandoc.
MIT License
193 stars 16 forks source link
ebook ebook-compliation epub epub-generation js npm pandoc wget

Webpages to eBook

Create an EPUB from a list of URLs. Standing on the shoulders of

WgetReadabilityPandoc

Create your own ebooks

Requirements

Install

git clone https://github.com/georgjaehnig/webpages-to-ebook.git
cd webpages-to-ebook
npm install

Usage

  1. Create a definition, like the examples in definitions/.
  2. node index.js your-created-definition.yml [optional-definition-to-be-merged-with-the-first.yml]
  3. Find your EPUB in output/epub/.

Documentation

Examples

Also some structuring with raw HTML is possible, check definitions/library_of_scott_alexandria.yml and in there raw: and tags:/title:.