Joseph Pearson edited this page Mar 19, 2014 · 7 revisions

Monocle is a silky, tactile browser-based ebook reader.

It is designed to be format-agnostic, and works very well with EPUB, Zhook, MOBI (presumably), and plain old HTML content. Monocle does the job of presenting multiple HTML "components" in a paginated user interface. You can see it in action on the Monocle homepage.

Getting started

The basics

For a non-trivial Monocle implementation, your task is to connect the Monocle Reader to your book's HTML content and structure. You create something called "the book data object" to do this.

Advanced Monocle

Monocle is built to be extended. It's pretty flexible. You can create custom controls and custom page-turning interactions (called 'flippers' in Monocle). You can also hack away at the built-in styles. This section explains some of this stuff — but we also recommend that you explore some of the examples in the tests directory in this distribution.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.