Command line tool for combining comic-images into epub.
First image will be used as the cover.
go install github.com/palsmo/comic-epub@latest
comic-epub [OPTIONS]... [DIR] 'or [FILE FILE...]
comic-epub # prints info
\ - line continuation
, - stop read args (when flag has no arg limit)
default \ same effect without
(standing in dir with images)
comic-epub \
-t "The Epic Comic" -a "Stan Lee" \
-d "Story of epic proportions!" \
-c 7:"I: The Intro" 42:"II: The Epic" , \ # don't forget ','
-l "eng" \ # default
-bg "#000" \ # default
-out . \ # default
.
-t specify the book's title
-a specify the book's author
-d specify the book's description
-c specify the book's chapters, args - P:[TITLE]
-l specify the book's language, ISO 639-[2,3] format
-bg specify the book's page background color,
needs to be valid css color (e-reader may override)
-out specify the output path, default is current dir
(viewed in calibre)