Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nabijaczleweli/gen-epub-book.rs

Generate an ePub book from a simple plaintext descriptor, in Rust
https://github.com/nabijaczleweli/gen-epub-book.rs

ebook epub generator rust

Last synced: about 1 month ago
JSON representation

Generate an ePub book from a simple plaintext descriptor, in Rust

Awesome Lists containing this project

README

        

# [gen-epub-book](https://nabijaczleweli.xyz/content/gen-epub-book).rs [![TravisCI Build Status](https://travis-ci.org/nabijaczleweli/gen-epub-book.rs.svg?branch=master)](https://travis-ci.org/nabijaczleweli/gen-epub-book.rs) [![AppVeyorCI build status](https://ci.appveyor.com/api/projects/status/nf3ee2canlbp28o8/branch/master?svg=true)](https://ci.appveyor.com/project/nabijaczleweli/gen-epub-book-rs/branch/master) [![Licence](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE) [![Crates.io version](https://meritbadge.herokuapp.com/gen-epub-book)](https://crates.io/crates/gen-epub-book)
Generate an ePub book from a simple plaintext descriptor.

## [Manpage](https://rawcdn.githack.com/nabijaczleweli/gen-epub-book/man/gen-epub-book.rs.1.html)
## [Documentation](https://rawcdn.githack.com/nabijaczleweli/gen-epub-book.rs/doc/gen_epub_book/index.html)

## Quickstart

Install via:

```sh
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:

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

For more detailed usage information and tag list, see the [manpage](https://rawcdn.githack.com/nabijaczleweli/gen-epub-book/man/gen-epub-book.rs.1.html),
and for a full guide see the [webpage](https://nabijaczleweli.xyz/content/gen-epub-book).

## Versions in other languages

The original in [AWK](https://github.com/nabijaczleweli/gen-epub-book).

A rewrite in [C++](https://github.com/nabijaczleweli/gen-epub-book.cpp).

A rewrite in [Scala](https://github.com/nabijaczleweli/gen-epub-book.scala).

A rewrite in [JavaScript](https://github.com/nabijaczleweli/gen-epub-book.js).