CodeTogether is a real-time collaborative code editor built using React, Node.js, Socket.io, and CodeMirror. It allows multiple users to write and edit code simultaneously within a shared room. Whether you're preparing for interviews, pair programming remotely, or mentoring, CodeTogether provides a seamless, low-latency coding experience.
- 🔗 Create or Join coding rooms via Room ID
- ✍️ Realtime Code Sync using WebSockets (Socket.io)
- 👤 View Active Participants in the room
- 📋 Copy Room ID to clipboard for sharing
- 🚪 Leave Room functionality
- 📝 Syntax Highlighting via CodeMirror
- 💾 Download Code (coming soon)
- ⚙️ Code execution engine (run code in-browser)
- 🌐 Language support switcher (e.g., Python, C++, Java)
- 💬 Chat system for communication
- 🕒 Code history & version control
This project was inspired during my preparation for online coding interviews. Most companies ask candidates to write code in platforms like Google Docs while screen sharing — which lacks syntax support and real-time interactivity. I wanted a collaborative tool that works like a live whiteboard coding session for interviews, mentorship, and team projects — and that’s how CodeTogether came to life.
Special thanks to CodersGyan for the original inspiration and guidance. The foundational structure and WebSocket-based code sharing were influenced by his tutorials. I extended the project by adding new features and refining it for real-world usage.
- Frontend: React, CodeMirror, CSS
- Backend: Node.js, Express
- Realtime Communication: Socket.io
- Package Manager: Yarn