#generate #ePub #ebook #book #e-book

bin+lib gen-epub-book

Generate an ePub book from a simple plaintext descriptor

14 releases (9 stable)

2.3.2 Mar 8, 2019
2.3.1 Sep 28, 2018
2.3.0 Jun 29, 2018
2.2.0 Feb 23, 2018
0.3.1 Feb 25, 2017

#55 in Text processing

Download history 30/week @ 2018-11-23 59/week @ 2018-11-30 13/week @ 2018-12-07 21/week @ 2018-12-14 103/week @ 2018-12-21 5/week @ 2018-12-28 22/week @ 2019-01-04 7/week @ 2019-01-11 7/week @ 2019-01-18 10/week @ 2019-01-25 3/week @ 2019-02-01 4/week @ 2019-02-08 9/week @ 2019-02-15 6/week @ 2019-02-22 33/week @ 2019-03-01

78 downloads per month

MIT license

1.5MB
929 lines

gen-epub-book.rs TravisCI Build Status AppVeyorCI build status Licence Crates.io version

Generate an ePub book from a simple plaintext descriptor.

Manpage

Documentation

Quickstart

Install via:

cargo install gen-epub-book

Copy this somewhere:

Name: Simple ePub demonstration
Cover: cover.png

Image-Content: simple/chapter_image.png
Content: simple/ctnt.html

Author: nabijaczleweli
Date: 2017-02-08T15:30:18+01:00
Language: en-GB

Modify to your liking, then, assuming you put the file in "example/test.epupp" and want to write the result to "out/test.epub", run:

gen-epub-book example/test.epupp out/test.epub

For more detailed usage information and tag list, see the manpage, and for a full guide see the webpage.

Versions in other languages

The original in AWK.
A rewrite in C++.
A rewrite in Scala.
A rewrite in JavaScript.

Dependencies

~16MB
~357K SLoC