Skip to content

dce99/CodeRoom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeRoom

A Real Time Collaborative Code Editor based on Peer to Peer architecture. Create a room , share the RoomID , join with the RoomID, code together and see live changes being reflected.

Using a signalling server, we can initiate the connection from one client to another. Every client maintains a list of clients which are active or are connected. When a client joins a room , that client is connected to a peer. If that peer has reached the upper bound of connections (logarithmic of the total number of active connections) then the new client tries to connect to other clients in the network.

The central server is only used for initial connection phase and once a client is connected to another client , the central server is no longer required for communication, which means this avoids a single source of failure.

Central server is created using WebSockets and the clients communicate to each other using WebRTC's data channels

Read the 'CodeRoom Report' pdf for insights to algorithms used and implementation.

https://coderoom-mm1t.onrender.com/

Snapshots

  • Home Page ss1.png

  • Technical Details Screenshot 2023-12-29 at 6 27 36 PM

  • Code Editor Demo ss2.png

About

A Real Time Collaborative Code Editor based on Peer to Peer architecture

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •