epub
Installation
SKILL.md
EPUB Processing Guide
Core Insight: EPUB is a ZIP Archive
An .epub file is simply a ZIP archive with a specific internal structure. The most reliable way to process any epub is:
- Copy the file to the working directory
- Rename it from
.epub→.zip - Unzip it into a folder
- Find and read the navigation/TOC file first (e.g.
nav.xhtml,nav.html,toc.ncx) - Then read content files as needed
This approach works 100% of the time and requires no special epub libraries.