Skip to content

Internet Archives BookReader modified for gulp build and touchscreen kiosk.

Notifications You must be signed in to change notification settings

hatfieldlibrary/bookreader--kiosk

Repository files navigation

Book Reader

This project is based on the Internet Archive BookReader . That Internet Archives project includes demo implementations that are included here.

In addition, this project extends the Internet Archives Book Reader by adding a kiosk mode that can be used with touch screen kiosks.

Kiosk Mode

BookReader.js is modified to accept a new configuration setting, isKioskDisplay, with a default value of false. To initialize BookReader in kiosk mode, set br.isKioskDisplay = true in src/app/kiosk/KioskReader.js.

Kiosks are typically configured for a specific display. If needed, use KioskReader.css to adjust the layout.

How to Use this Project

The Internet Archive BookReader code is repackaged for use with the gulp build system.

For syncrhonized browser testing, use one of the following:

gulp --mode kiosk

gulp --mode simple

gulp --mode embed

gulp --mode iiif

To just build the code use:

gulp build --mode kiosk

gulp build --mode simple

gulp build --mode embed

gulp build --mode iiif

Gulp is configured to accept a --mode parameter that identifies the subdirectory for the version of the project to be used.

Each time you work in this project, a dist directory is created. If you already have a dist directory, the contents will be overwritten. The dist directory contains code that can be deployed to a web server as is or incorporated into another project or publication.

Since compiled code is replaced, if you want to develop and maintain multiple projects you may want to copy or fork the repository.

Sample Kiosk Screen Shots

Kiosk-1

Kiosk-2

About

Internet Archives BookReader modified for gulp build and touchscreen kiosk.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published