Expand description
kindling: Kindle MOBI/AZW3 builder library.
This crate provides EPUB-to-MOBI/AZW3 conversion, a comic pipeline,
KDP pre-flight validation, and post-build MOBI readback checks.
The same functionality is exposed through the kindling-cli binary,
which is a thin wrapper around these modules.
Modules§
- comic
- epub
- extracted
- kdp_
rules - mobi
- mobi_
check - mobi_
dump - mobi_
rewrite - In-place metadata rewrite for existing MOBI/AZW3 files.
- opf
- profile
- repair
- EPUB repair pass for common Kindle ingest issues.
- validate
Constants§
- DEFAULT_
AUTHOR - Fallback author written to EXTH 100 when the input OPF or ComicInfo.xml does not supply a creator. Used anywhere kindling needs a non-empty author string: dictionary EXTH, book EXTH, and the comic pipeline. Kept as a single crate-wide constant so the displayed author on a Kindle home screen is consistent regardless of which entry point produced the file.
Functions§
- run_
preflight_ validation - Pre-flight KDP validation used by
do_build. ReturnsErr(error_count). - run_
preflight_ validation_ on_ extracted - Pre-flight KDP validation against an already-parsed
ExtractedEpub.