Skip to content
A quick and dirty Bash script to create an ebook from a list of web articles
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
compile.sh

README.md

Anthology

A quick and dirty Bash script to create an ebook from a list of web articles.

Getting Started

Get a copy of the script and follow the instructions below.

Prerequisites

  • Install wget.
  • Install Mercury Parser.
  • Install jq.
  • Install Calibre and make sure ebook-convert is in your PATH.
  • A way to serve the current working directory via HTTP. I find Python's SimpleHTTPServer to be the simplest solution.

Usage

  • Put your list of articles to compile into an ebook in a text file (one URL per line). The file should end with a newline.
  • Start the HTTP server with python -m SimpleHTTPServer.
  • Run the script with compile.sh [input file].
  • Wait for Anthology to do the right thing and generate an EPUB file in the same directory. If you want a MOBI file for your Kindle, uncomment Line 40 in compile.sh.

License

This project is licensed under the WTFPL License.

Acknowledgments

Anthology is inspired by the now-defunct Readlists by Readability.

You can’t perform that action at this time.