Developer shares open-source tool to convert HTML files into EPUB books
A developer has published an open-source workflow on GitHub for converting collections of HTML files into EPUB-format ebooks. The project, hosted at github.com/aortrei469/epubDesdeHTML, includes shell scripts to handle tasks such as removing incompatible HTML tags, stripping image metadata for privacy, and applying ebook-specific CSS styles. The guide addresses EPUB limitations, such as the absence of support for the align attribute, and recommends using page-break rules for better Kindle compatibility. It also provides a verification script to detect invalid filenames or non-compliant file structures within the generated EPUB directory. The author notes the tool was used to produce several technical books, including guides on artificial intelligence, DNS servers, and private cloud infrastructure.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in