Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pbinkley/iiif-firefox-annotation-extract
Ruby script to extract Mirador-created annotations from Firefox local storage
https://github.com/pbinkley/iiif-firefox-annotation-extract
iiif minicomp
Last synced: about 2 months ago
JSON representation
Ruby script to extract Mirador-created annotations from Firefox local storage
- Host: GitHub
- URL: https://github.com/pbinkley/iiif-firefox-annotation-extract
- Owner: pbinkley
- License: mit
- Created: 2020-06-17T15:19:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-27T21:12:29.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T19:50:37.470Z (3 months ago)
- Topics: iiif, minicomp
- Language: Ruby
- Size: 5.86 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# iiif-firefox-annotation-extract
Ruby script to extract Mirador-created annotations from Firefox local storageTo install: clone this repo and run ```bundle install```
To run:
- Create some annotations using Mirador in Firefox
- Discover your current Firefox profile directory by visiting ```about:profiles```. Set an environment variable ```FIREFOX_PROFILE``` containing the full path (ending with ```.default```)
- Run ```./extract-annotations.rb []```
- the canvasURI selector is the beginning of the uri for the canvases you're interested in
- the scope is the domain of the Mirador instance you used to make the annotations (default: ```projectmirador.org```)
- An annotation list is written to stdout