Skip to content

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

License

Notifications You must be signed in to change notification settings

ruoxiaomo/code-editor-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 72.5%
  • SCSS 25.2%
  • HTML 2.3%