Skip to content

graefjk/html-folder-to-epub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

html-folder-to-epub

Converts a folder of html files into an epub.
The order of the html files can be selected by a provided list.
If no list is provided the files are sorted by ls.

This programm can also accepts a html file as input and converts it to epub.
However it does not split the html in multible chapters in the epub.
For converting a single html file to epub calibres ebook-convert might be better.

usage: epub-convert [Options] Input Output [List]
Input can be a file or a folder filled with html files
the list can be used to choose the order of the html files in the output epub
If no list is provided the html files are ordered by the ls command
-c coverImage adds a cover image to the epub

example:
epub-convert -c cover.png book_folder book.epub

About

converts a folder of (x)html files into an epub.

Topics

Resources

Stars

Watchers

Forks

Languages