Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marlo-longley/mirador-annotorious


https://github.com/marlo-longley/mirador-annotorious

Last synced: 27 days ago
JSON representation

Awesome Lists containing this project

README

        

Very much a Work In Progress / test!

To run locally:
`rm -rf .parcel-cache && npm install && npm start`

The parcel cache was playing tricks on me so watch out.

@annotorious/react node_module was modified to export `OpenSeadragonAnnotatorContext`

This change is in Github main now, but not released yet
https://github.com/annotorious/annotorious/blob/main/packages/annotorious-react/src/openseadragon/index.ts#L3

I cloned the @annotorious/react plugin in a separete directory from Github, added the line, and ran `npm pack`.

Then, I could include the following in `package.json`:
```
"@annotorious/react": "file:../annotorious/packages/annotorious-react/annotorious-react-3.0.11.tgz",
```

You will end up with a viewer, and if you double click, you can begin to draw a polygon (the default annotorious tool). You can finish the drawing with another double click.
You will see this:
Screenshot 2024-11-06 at 3 42 29 PM

Inspired by https://github.com/rsimon/mirador-annotorious