seigedigital / detektiiif3

GNU General Public License v3.0
10 stars 0 forks source link

detektIIIF3

detektIIIF is a browser extension for Chrome and Firefox that detects IIIF resources in websites. It is possible to collect IIIF manifests in a basket and send them to any compatible IIIF application. detektIIIF is extensively configurable and can be customized with individual themes. The browser extension also checks for the presence of various interoperability features (CORS, SSL, etc.) and displays warnings if necessary.

This code is considered to be in beta state. Important steps: splitting code into components and reducing redundancy and incompleteness of quickly written code.

This is the current version of detektIIIF3 older versions:

If you don't want to work with the source code you may install detektIIIF3 from the Chrome Web Store: https://chromewebstore.google.com/detail/detektiiif3/aaodcobgcadinjipaocibamdfcffpcpp

Source Code

used boilerplate: https://github.com/lxieyang/chrome-extension-boilerplate-react

Install basics:

Configure repository

Run development server (version MUST match manifest version of the theme)

OR

Load in Firefox (most likely v2):

Load in Chrome (likely v3):

Build for production (version MUST match manifest version of the theme)

OR

Create your own theme

Duplicate one of the folders in src/themes for your own theme

cp -r detektiiif3 myinstitution

Modify the files in the new folder as you wish and continue as described in section "Configure repository"

Don't forget to keep v2 and v3 manifest files both up to date, e.g. the version number.

Version numbering

Beware! We distinguish the version number of detektIIIF3 from the version number of the theme:

Set the version of detektIIIF3 number in the package.json file

Set the version number of the theme in both manifest-v*.json files

Packaging for the Chrome Web Store

Packaging for the Mozilla Firefox AMO