Acme Labs

Title Author
Moby Dick Book Cover Moby-Dick Herman Melville
Bartleby Book Cover Bartleby, The Scrivener Herman Melville
Lucretia Mott Book Cover Discourse on Woman Lucretia Mott
To the Lighthouse Book Cover To the Lighthouse Virginia Woolf
Orlando Book Cover Orlando Virginia Woolf
Books in Browsers Image A Bag Full of Stories Dave Cramer

Service Worker by @jaffathecake, although I’ve now ruined it.

What’s all this, then?

This is another experiment along the lines of PWP, BFF, or EPUB Zero. The goal was to provide an environment for reading books, where the content itself was as simple as possible. There’s no JavaScript in the books; information about the book is in a web application manifest style extended with a “spine” and other “resources.” The book is displayed in an iframe. The previous/next buttons read from the manifest. A service worker allows offline reading, and can download the book as a zip file. Soon I hope to be able to package as EPUB3 as well. In the absence of a framework that understands the manifest, point to the index.html file of each book to find ordinary navigation, etc.

What have I learned? Creating zips from a cache is tricky. The one hard problem in computer science is paths. Having a list of the components of a publication is really useful.

Yes, this is really buggy, mostly because I don’t know JS.