Skip to content

Aseem22/Code-collab

Repository files navigation

Collaborative Code Editor

This project is a collaborative code editor built using React, Yjs, CodeMirror 6, and Socket.IO. Multiple users can join the same room and collaborate in real-time on the same document.

Features

  • Real-time collaborative editing
  • Unique rooms for different sessions
  • User awareness with unique colors
  • Display list of connected users
  • Supports JavaScript syntax highlighting

Getting Started

Prerequisites

  • Node.js
  • npm

Installation

  1. Clone the repository:

    git clone https://github.com/Aseem22/Code-collab.git
    cd Code-collab
    
  2. Install the dependencies

    npm install
    

Running the application:

  1. Start server:
    npm run dev:server
    
  2. Start the React application:
    npm run dev
    
    

Usage

  1. Enter your name and a room ID (or leave the room ID blank to create a new room).
  2. Click "Join Room".
  3. Start collaborating in real-time with other users who join the same room.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published