All Projects → substance → collab-writer

substance / collab-writer

Licence: other
Realtime collaboration example.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

CollabWriter

CollabWriter sets up a minimal realtime collaboration infrastructure.

STATUS: Experimental

Install

$ git clone https://github.com/substance/examples.git
$ npm install
$ npm run build
$ npm start
  • Open two browser windows at http://localhost:7777.
  • Start typing and see the changes in realtime in the other window.

Development

You can build in development mode, where source file changes trigger a rebuild of client and server. The Server will be bundled into server.cjs.js. We recommend using Google Chrome for development.

$ npm run dev

Open a separate terminal window and run node.

$ node server.cjs.js

We recommend that you start the server with a visual debugger, such as devtool.

$ devtool server.cjs.js
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].