Home
Softono
code-editor-demo

code-editor-demo

Open source MIT JavaScript
17
Stars
10
Forks
9
Issues
4
Watchers
3 years
Last Commit

About code-editor-demo

A mock up of a code editor built using React, Ace, Flux, and Convergence

Platforms

Web Self-hosted

Languages

JavaScript

Convergence Code Editor Demo

This project provides a mock up of collaborative code editor using the React, the Ace Editor and Convergence for persistence and realtime collaboration.

Note: This is merely a demonstration, and not intended to be a full fledged / real code editor.

Getting started

  1. Clone this repository
  2. npm install
  3. Updated the CONVERGENCE_URL in the public/code-editor-config.js to point to your Convergence server.
  4. npm start to launch a lightweight web server for running the editor locally.

Features

  1. Proper conflict resolution (try editing the same code with two users simultaneously)
  2. User presence (see which users are currently connected)
  3. Activity tracking (cursor positions and highlights color-coded per remote user)