Skip to content

eduhoribe/comic-builder

Repository files navigation

comic-builder

An auxiliary tool for manga-py to organize, merge and export the files in an ebook format (EPUB or MOBI)

Dependencies

Optional dependencies

  • KindleGen >> EPUB to MOBI conversion
    • Can be installed running the kindlegen-installer command after install the comic-builder pip package
    • Can also be found in AUR and here for manual installation

Installation

pip install comic-builder
kindlegen-installer # to install KindleGen

Modules

Today there are 4 modules in this repository

  • comic-builder > Join the comic files into an ebook format
  • kindlegen-installer > Install the KindleGen binary
  • comic-metadata-inject > Inject metadata files into the chapters files with the same name
  • comic-metadata-eject > Extract the chapter's metadata files

P.S. The commands comic-metadata-inject and comic-metadata-eject can be used together to edit some details in the chapters metadata

Suggested Workflow

For sites that support chapter and comic metadata (Ex. MangaDex)

manga-py --save-chapter-info --save-manga-info [-d|--destination] "COMIC_DOWNLOAD_PATH" [other-options...] URL
comic-builder [other-options...] "COMIC_DOWNLOAD_PATH/COMIC_NAME"

For other sites

manga-py [-d|--destination] "COMIC_DOWNLOAD_PATH" [other-options...] URL
comic-builder --metadata "METADATA_FILE" [other-options...] "COMIC_DOWNLOAD_PATH/COMIC_NAME"