All formats

EPUB libraries for C/C++

There is no popular C/C++ library just for parsing EPUB structure. If you only need metadata or the chapter files, an EPUB is easy to read with a ZIP library (libzip, minizip-ng) plus an XML parser (libxml2, pugixml): read META-INF/container.xml, open the OPF file it points to, and follow the manifest and spine.