Coder Social home page Coder Social logo

coderoom's Introduction

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

coderoom's People

Contributors

dce99 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.