A real-time collaborative code editor for writing, sharing, and running code together — built for interviews, pair programming, and remote teaching. Runs entirely in the browser, nothing to install.
| Feature | Description |
|---|---|
| Real-Time Collaboration | Instant sync via WebSockets. Rooms shared in seconds, no account needed to join. |
| Code Editor | Syntax highlighting, auto-complete, multi-language support. |
| Integrated Execution | Run code and view live console output, including errors, in-editor. |
| Accounts & Dashboard | JWT auth with a dashboard to manage past rooms. |
| Performance | Vite + React frontend; Node.js, Express & Redis backend; |
| Layer | Technology |
|---|---|
| Frontend | React, TypeScript, Vite |
| Backend | Node.js, Express.js |
| Real-time | WebSocket |
| Database | MongoDB |
| Cache / Pub-Sub | Redis |
Prerequisites Bun installed, plus a running MongoDB and Redis instance (local or remote).
1. Clone the repository
git clone https://github.com/adarshraj077/collabCode.git
cd collabCode2. Start the backend
cd backend
bun install
bun run dev3. Start the frontend
cd frontend
bun install
bun run devOpen the frontend URL in your browser and you're ready to go.
. Share the room link with your collaborators . Code together in real time, and run it to see output instantly
Contributions and feature requests are welcome. Check the issues page or open a pull request.
Built for developers.
