Zeroarc no longer uses this component and it is no longer maintained.
Carbondream is an annotation engine written purely in ReactJS. It was inspired by Annotator and heavily borrows from the UX.
To use Carbondream:
-
Install the component through NPM
-
Require it
-
Pass it a list of annotations and the following props:
First, setup your local environment:
git clone git@github.com:ZeroarcSoftware/carbondream.git
cd carbondream
npm install
Link the project to your local target environment:
sudo npm link
Next, build the project:
npm run build
Or, alternatively, use babel watch to continously watch for changes:
NODE_ENV=production npx babel src/ -d dist/ --extensions '.ts,.tsx' -w