georgjaehnig / webpages-to-ebook

Create an EPUB from a list of URLs. Standing on the shoulders of Wget, Readability and Pandoc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webpages to eBook

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

WgetReadabilityPandoc

Create your own ebooks

Requirements

  • Node.js
  • NPM
  • Wget: wget has to be in PATH.
  • Pandoc: pandoc has to be in PATH.

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:.

About

Create an EPUB from a list of URLs. Standing on the shoulders of Wget, Readability and Pandoc.

License:MIT License


Languages

Language:JavaScript 87.8%Language:Makefile 10.8%Language:Twig 1.5%