Collaborative IDE is a powerful real-time web-based code editor that allows multiple users to write, edit, and run code together seamlessly.
It includes a built-in chat feature, live terminal output, secure authentication, and private coding rooms for teams or individuals.
With support for multiple languages and real-time collaboration powered by WebSockets, itโs designed for learning, interviews, and collaborative programming.
- ๐ Real-Time Collaboration โ Multiple users can edit code simultaneously
- ๐ฌ Integrated Chat โ Communicate with collaborators while coding
- ๐ฅ Live Code Execution โ Run code directly in the terminal with real-time output
- ๐ Secure Authentication โ Users can log in and create secure sessions
- ๐ Private & Personal Rooms โ Create and join secure rooms for collaborative or private coding
- ๐ Multi-Language Support โ Execute code in various programming languages via Piston API
- ๐จ Monaco Editor Integration โ VS Code-like editing experience with syntax highlighting and autocompletion
- Frontend: React.js, Socket.IO, Monaco Editor
- Backend: Node.js, Express.js, Socket.IO
- Database: MongoDB
- Authentication: JWT (JSON Web Tokens)
- Code Execution: Piston API
- Clone the repository:
git clone https://github.com/shivam20242/collaborativeIDE.git cd collaborativeIDE
2.Install Dependencies npm install 3.Set up environment variables: Create a .env file in the root directory and add:
MONGO_URI=your_mongodb_connection JWT_SECRET=your_secret_key PISTON_API_URL=https://emkc.org/api/v2/piston
4.Start the development server:
npm run dev
๐ป Usage
Register or log in to your account
Create or join a room (public or private)
Start coding in the collaborative editor with your teammates
Use the chat feature to communicate in real-time
Run code and see the terminal output instantly
๐ Project Structure collaborativeIDE/ โโโ client/ # React frontend with Monaco Editor โโโ server/ # Node.js + Express.js backend โโโ models/ # MongoDB schemas โโโ routes/ # API endpoints โโโ sockets/ # Socket.IO handlers for real-time collaboration โโโ .env # Environment variables โโโ package.json
๐ฎ Future Enhancements
๐ Code history and versioning
๐ฑ Mobile-friendly editor support
๐งโ๐คโ๐ง Pair-programming interview mode ๐ Live Demo & GitHub
Live: Collaborative IDE(https://colllaborativeide.onrender.com)