Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/georgjaehnig/webpages-to-ebook

Create an EPUB from a list of URLs. Standing on the shoulders of Wget, Readability and Pandoc.
https://github.com/georgjaehnig/webpages-to-ebook

ebook ebook-compliation epub epub-generation js npm pandoc wget

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# Webpages to eBook

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

> [Wget](https://www.gnu.org/software/wget/) → [Readability](https://github.com/mozilla/readability) → [Pandoc](https://pandoc.org/)

## Create your own ebooks

### Requirements

- Node.js
- NPM
- [Wget](https://www.gnu.org/software/wget/): `wget` has to be in `PATH`.
- [Pandoc](https://pandoc.org/): `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

- https://github.com/georgjaehnig/webpages-to-ebook/wiki/docs

## Examples

- [Slatestarcodex](https://mega.nz/folder/JZBAhSQS#Odgm1WR_SJ4zeFMl-4wvDw), based on these [definitions](definitions/).

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