/rfta_canopy

A Jamstack front end focused on discovery and presentation sourced from a IIIF Presentation API Collection

Primary LanguageJavaScriptMIT LicenseMIT

Canopy

Netlify Status

Canopy is a Gatsby based application that fetches a single IIIF Collection (Presentation API 3.0) and distils it into a fully functional front end. The stack includes Lunr as a lightweight search index and a custom viewer based on the HTML5 video player for object viewing.

It was created primarily to serve the Rising from the Ashes: Chimney Tops 2 Wildfire Project with IIIF. For other technical information about canopy and its relationship to RFTA, see the RFTA Technical Docs.

Setup

git clone git@github.com:utkdigitalinitiatives/canopy.git
cd canopy
yarn install

Development

cd canopy
yarn start

Canopy will be available at localhost:8000 unless port 8000 is currently in use. If it is in use, the Gatsby startup process will ask you to use an alternative port, ex: 8001.

Pointing at a Collection

Update const rootCollection = 'https://digital.lib.utk.edu/static/iiif/collections/rfta_completed.json'; in gatsby-config.js to build a new collection.