Skip to content

Repository files navigation

ebookmaker

ebookmaker builds an EPUB from a simple project directory.

Project Layout

.
├── index.yaml
└── source
    ├── all.txt
    └── images
        └── cover.jpg

index.yaml contains book metadata, EPUB options, and chapter matching patterns. source/all.txt is parsed into chapters. Images in source/images are copied into the EPUB build when referenced as covers.

Usage

Create a starter project:

ebookmaker -init -root /path/to/book

Build an EPUB:

ebookmaker -root /path/to/book

The output file is written to /path/to/book/<title>.epub.

Notes

  • EPUB is the only supported output format.
  • If no source/images/cover.* file exists, ebookmaker generates a simple PNG cover using the font configured in index.yaml under epub.font.
  • Generated files are written under build/ before the final EPUB is created.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages