Introducing epubjs

by Liza Daly

To celebrate TOC I’m announcing an early prototype of epubjs: a pure Javascript ePub reader. The entire application is only 11K (plus 53K for jQuery 1.3).

This is a pretty rough release, still very messy, but I’m hoping to evolve it into a lightweight reader that authors or publishers could add to  their websites with minimal technical expertise.

Currently the reader works only in Firefox and requires that the ePub be expanded out in the top-level folder containing the JS code. (There are some issues related to browser security, and that it’s only been tested with this single ePub, and that I wrote  a lot of this on the train ride down to New York).

picture-63

You can extract the code directly out of the HTML file, or track it via Subversion:

svn checkout http://epub-tools.googlecode.com/svn/trunk/epubtools/epubjs epubjs