code-editor-demo
code-editor-demo copied to clipboard
A mock up of a code editor built using React, Ace, Flux, and Convergence
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
- Clone this repository
-
npm install
- Updated the
CONVERGENCE_URL
in thepublic/code-editor-config.js
to point to your Convergence server. -
npm start
to launch a lightweight web server for running the editor locally.
Features
- Proper conflict resolution (try editing the same code with two users simultaneously)
- User presence (see which users are currently connected)
- Activity tracking (cursor positions and highlights color-coded per remote user)