Coder Social home page Coder Social logo

carbondream's Introduction

carbondream

Reactjs Annotation Engine

Carbondream is an annotation engine written purely in ReactJS. It was inspired by Annotator and heavily borrows from the UX.

Using it

To use Carbondream:

  • Install the component through NPM

  • Require it

  • Pass it a list of annotations and the following props:

Contributing

First, setup your local environment:

git clone [email protected]: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

carbondream's People

Contributors

columbus22 avatar dependabot[bot] avatar hgutknecht avatar jslatts avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

carbondream's Issues

Some hints at extending the annotations

Can you give some hints on how we would extend the annotator to have 2 new features?

  1. We need to convert the React document into a Word document at some point, thus we need to add a number in the top left of each annotation to identify it in the exported document. A small circle with a number in it would work.
  2. The UI Design calls for a palette that has 5 different rectangles to be used for annotation, with different cross hatch patterns scaled to fill the rectangle.

'$' is not recognized as an internal or external command,

I just cloned this project and trying install node modules( npm install ). I got an error like

NODE_ENV=production $(npm bin)/babel src/ -d lib/ && cp -r node_modules/font-awesome/css web && cp -r node_modules/font-awesome/fonts web && flow-copy-source -v src lib

I resolved this by adding SET before NODE_ENV and Then I got one more error

'$' is not recognized as an internal or external command,

I'm using windows 10. Can someone help me on this.

Support scrollable pages

It would be ideal to be able to have a mode that allowed annotations to exist outside of the view port and scroll into view with the parent div.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.