Skip to content
Snippets Groups Projects
Select Git revision
  • cccde3ea94d7fae104f85ac35f5bc457d6b0fff3
  • master default protected
  • 133-fail2ban-page
  • reorganisation
  • 16-maintenace-service
  • 11-fail2ban
  • 6-monit-update
  • 7-dolibarr-fail2ban
  • 6-surveillance-interne-des-serveur
  • test-glpi
  • 2-migrate-to-phpfpm
  • jessie
  • github
13 results

NoCloud-Auto-Installer

mirador-annotations

Travis npm package Coveralls

mirador-annotations is a Mirador 3 plugin that adds annotation creation tools to the user interface. Users can` create rectangle, oval, and polygon annotations and add text descriptors. A live demo that stores annotations in local storage is available for testing. See the issue queue for design proposals for additional functionality.

annotation creation panel

TODO Explain the evolution proposed by Tétras Libre fork

Install (local)

This method requires nvm, npm.

git clone gitlab@gitlab.tetras-libre.fr:iiif/mirador/mirador-annotations.git
cd mirador-annotations
nvm use
npm install

NPM Install throw two errors (#12 (closed)). To fix run :

./cli post_install

Run mirador and the plugin :

npm start

Install using docker

This method requires docker and docker-compose (or docker compose)

cp .env.sample .env
$EDITOR .env
# Change the variables you need
docker-compose up 

Persisting Annotations

Persisting annotations requires implementing an a IIIF annotation server. Several examples of annotation servers are available on iiif-awesome.

mirador-annotations currently supports adapters for annotot and local storage. We welcome contributions of adapters for other annotation servers.

Installing mirador-annotations

mirador-annotations requires an instance of Mirador 3. See the Mirador wiki for examples of embedding Mirador within an application. See the live demo's server.js for an example of importing the mirador-annotations plugin and configuring the adapter.

You must use node v16.20.2. You can run nvm use at the racine of the project to set your node version to 16.20.2.

Contribute

Mirador's development, design, and maintenance is driven by community needs and ongoing feedback and discussion. Join us at our regularly scheduled community calls, on IIIF slack #mirador, or the mirador-tech and iiif-discuss mailing lists. To suggest features, report bugs, and clarify usage, please submit a GitHub issue.