Thankfully, the Readium Cloud / Web Reader shares the majority of its codebase with the Chrome App, so they are functionally equivalent apart from how EPUB files are stored and accessed. The Readium Cloud / Web Reader can therefore also be used to test EPUB2 and EPUB3 publications, with the benefit of cross-browser support (not just Chrome). As this is a reading system designed to be deployed on the web (publications uploaded in the “cloud”), the workflow is slightly more complicated. It is however possible to configure it for “offline” use, by running a local web server. Follow these instructions:
- Make sure NodeJS is installed on your computer ( https://nodejs.org )
- Open a command window, and type or copy/paste:
npm install -g http-server
- Download the file
Readium_cloud-reader-lite.zipon your filesystem, for instance:
- In the command window, type
cd /PATH/TO/FOLDER/cloud-reader-lite/to move into this new folder
- Open the filesystem explorer and navigate to
- Create a subfolder called
- Copy publications into this folder, for example
- Ideally, unzip the
MY_BOOK.epubfile (rename it with the
.zipextension first), so that the publication contents reside in the
- Now back into the command window, invoke the following:
http-server -a 127.0.0.1 -p 8080 -c-1 .
- … and open your web browser to:
MY_BOOKto your publication filename). If you skipped step (9), change
MY_BOOK.epub, but remember: for best results publications should be extracted / unzipped first (because of performance / memory issues, and broken features such as audio and video playback)
- Optionally, you may also drag and drop EPUB files onto the browser window, but once again: ideally publications should be extracted / unzipped beforehand!
- In fact, for quick-testing simple and small EPUBs, you can also drag and drop files on the browser window at https://readium.firebaseapp.com (but once again: not the recommended practice!)
To conclude, note that a new desktop app is being developed, as part of the Readium2 project. This should be ready for public use later in 2018.