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.
- Real-time collaborative editing
- Unique rooms for different sessions
- User awareness with unique colors
- Display list of connected users
- Supports JavaScript syntax highlighting
- Node.js
- npm
-
Clone the repository:
git clone https://github.com/Aseem22/Code-collab.git cd Code-collab
-
Install the dependencies
npm install
- Start server:
npm run dev:server
- Start the React application:
npm run dev
- Enter your name and a room ID (or leave the room ID blank to create a new room).
- Click "Join Room".
- Start collaborating in real-time with other users who join the same room.