sul-dlss/universalviewer

Name: universalviewer

Owner: Stanford University Digital Library

Description: The Universal Viewer is a community-developed open source project on a mission to help you share your content with the world

Forked from: UniversalViewer/universalviewer

Created: 2017-03-22 21:32:26.0

Updated: 2018-04-30 16:58:36.0

Pushed: 2018-04-30 16:58:39.0

Homepage: http://universalviewer.io

Size: 26685

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Universal Viewer

Backers on Open Collective Sponsors on Open Collective Build Status FOSSA Status License

examples     google group     twitter     #slack


npm install universalviewer@beta --save
Contributors

Contributors

Features:

More about the Universal Viewer

Stable Builds

See the GitHub releases page.

Getting Started

For a “hello world” getting started example see uv-hello-world.

For an example of how to use the Universal Viewer in a website starter project that uses biiif to generate your IIIF data, see uv-app-starter.

Building the Universal Viewer

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:

    npm install -g grunt-cli

  1. Clone the universalviewer repository and examples sub module:

    git clone https://github.com/UniversalViewer/universalviewer.git --recursive

  2. On the command line, go in to the universalviewer folder

  3. Run

    npm install

If switching between branches, ensure that you check out the correct branch in the examples sub-repository too. By default this should be gh-pages.

Debug Builds

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

grunt build

This will compile the .less files into .css and .ts files into .js.

Distribution Builds

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

grunt build --dist
Examples

To view the examples run:

grunt examples
Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

License

The Universal Viewer is released under the MIT license.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.