Code Monkey home page Code Monkey logo

when-websocket-met-asciidoctor's Introduction

Real-time collaborative writing for Asciidoc files

When WebSocket met Asciidoctor

This project gives you the possibility to work on Asciidoctor project with a team :

Patch feature example
  • Realtime Writing Asciidoc file and automatically view HTML 5 rendered

    • each time you write something if you are connected and you have clicked on Send On Change

    • each time you press "Ctrl+S" if you are connected and you have clicked on Send On Ctrl+S button

  • You can patch your file with the latest asciidoc source:

    • if an other author send a version, you can click on "Compute Diff" button to see differences between your adoc file and the last adoc file

    • if the patch seems ok, click on "Apply Patch" and you adoc source will be up to date

  • Several persons can work on the same doc

    • you see the number of writers (people who send adoc file)

    • you see the name of the last author

Screenshot of the WebSocket Java EE 7 demo with a severals matches and AngularJS deployed on WildFly

Technology used

  • Asciidoctor

    • AsciidoctorJ

  • Java EE 7

    • CDI

    • WebSocket โ‡’ (Undertow)

    • JSON-P

  • Web Client

    • AngularJS

  • App server

    • WildFly 8

Install on your WildFly 8 Application Server

  1. Build the war and test into WildFly with maven/arquillian :

    mvn clean package -Pwildfly-managed-arquillian
  2. Start wildfly :

    $JBOSS_HOME/bin/standalone.sh
  3. Deploy the app automatically with maven :

    mvn jboss-as:deploy -Dmaven.test.skip=true
  4. Launch your browser :

when-websocket-met-asciidoctor's People

Contributors

mgreau avatar

Watchers

 avatar

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.