Papyrix can render HTML ebooks, evidently due to the expectations of ePub.
Incidentally I'm tempted to port & extend this for my merephone project (calling it Hermes internally) so you can scan QR codes!
To open an HTML ebook it closes any existing such file, creates a new HTML object or propagates failures & invokes its load method, clears metadata & sets a property indicating we've got an HTML ebook, copies a couple other properties over from the HTML object, & sets initial page counts.
1/?