Skip to content

RaghhavDTurki/realtime-collab-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Realtime Collab Editor

Collaborative coding editor base on Monaco Editor and OT algorithm

Try it out

Screen Shot

Features

  • Collaborative coding with all the conflicts auto merged.
  • Undo/redo with OT enabled.
  • Offline editing.
  • Frontend and backend code all in one codebase with simple architecture.
  • History list and preview, revert to any version as you wanted.
  • Realtime edit with WebSocket.
  • Show members in the same collaborate room on the top.
  • Supports multiple document with different people.

Tips

This codebase is just for fun and learning OT algorithm. BE CAREFUL WHEN USING IN PRODUCTION ENVIRONMENT.

Install

yarn install

cd web && yarn install

cd server && yarn install

Run the app

# build frontend asserts
yarn build

# start backend server and host frontend asserts
# http://localhost:3123
yarn start

Develop

# http://localhost:3123
yarn dev:server

# http://localhost:3124
yarn dev:web

Test

yarn test

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Realtime collaboration code editor based on OT algorithm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages