blixhavn / universalviewer

The Universal Viewer is an open source project to enable cultural heritage institutions to present their digital artefacts in an IIIF-compliant and highly customisable user interface.

Home Page:http://universalviewer.azurewebsites.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Universal Viewer

Build Status Gitter

Demo

Google group

Twitter

Contributors

Wellcome Library British Library National Library of Wales Villanova University, Falvey Memorial Library

About

The Universal Viewer is an open source project to enable cultural heritage institutions to present their digital artefacts in an IIIF-compliant and highly customisable user interface.

Features:

  • OpenSeadragon image zooming using the IIIF image API.
  • YouTube-style embedding with deep links to specific pages/zoom regions.
  • Themable, fork the UV theme on github to create your own.
  • Highly configurable and extensible.
  • Supports "IxIF" out of the box, allowing audio, video, and pdf viewing experiences.
  • Supports search and autocomplete service integration with overlayed search results.
  • Internationalised UI using transifex.com (currently supports English and Welsh. Volunteers for more translations gratefully accepted!)

Stable Builds

See the GitHub releases page.

Development

Please see the wiki for instructions on how to customise the viewer for your own projects.

First Time Setup

All command-line operations for building the UV are scripted using Grunt which is based on Node.js. To get set up:

  1. Install Node.js, if you haven't already

  2. Install the grunt command line interface (if you haven't already); on the command line, run:

     npm install -g grunt-cli
    
  3. Install bower (if you haven't already)

     npm install -g bower
    
  4. Clone the universalviewer repository and sub modules:

     git clone git@github.com:UniversalViewer/universalviewer.git --recursive
    
  5. On the command line, go in to the universalviewer folder

  6. Run

     npm install
    
  7. Then run

     bower install
    

Debug Builds

To build the debug version of the viewer, just run (on the command line, in the universalviewer folder):

grunt

This will compile the .less files into .css and .ts files into .js with source maps to aid in debugging.

Release Builds

To build the release version of the viewer, just run (on the command line, in the universalviewer folder):

grunt build

The built files appear in the build folder and are copied to examples/uv-[build].

If you want to create a zip file for distribution (this will appear in the dist folder), use:

grunt dist

Note that the build folder is masked with .gitignore; it's just for your local use, and won't be checked in to the repository.

Examples

To view the examples run:

grunt serve

License

The Universal Viewer is released under the MIT license.

About

The Universal Viewer is an open source project to enable cultural heritage institutions to present their digital artefacts in an IIIF-compliant and highly customisable user interface.

http://universalviewer.azurewebsites.net

License:Other


Languages

Language:JavaScript 79.3%Language:TypeScript 13.8%Language:CSS 5.6%Language:HTML 1.0%Language:C++ 0.2%Language:Pascal 0.1%Language:PHP 0.1%Language:Assembly 0.0%