Real-time collaborative code editor β built for developers who ship together.
Stop sharing screenshots. Start sharing live code.
The fastest way to collaborate, pair program, and debug with developers anywhere in the world.
Most code-sharing tools feel like an afterthought β clunky, slow, and disconnected from a real coding experience. CodeshareLive was purpose-built from the ground up to feel like you're coding in the same IDE, sitting side by side with your team.
Zero signup. Zero installs. Just click a link and code.
|
Generate a unique room with one click using UUID-based room IDs. Share the link β anyone who opens it is instantly connected. No accounts, no friction. |
See every keystroke in real-time powered by Socket.io. Color-coded remote cursors show exactly where each participant is editing β true multiplayer coding. |
|
The same editor engine that powers VS Code. Full syntax highlighting, IntelliSense-style features, and a familiar keyboard experience across 19 languages. |
Run Python, JavaScript, Java, C/C++, and Go directly from the editor. The sandboxed backend compiler returns output instantly β no local setup required. |
|
Toggle drawing mode to sketch diagrams, annotate code, or brainstorm ideas on a shared canvas overlay β synced in real-time across all participants. |
Lock the editor with a single toggle to prevent accidental edits during reviews, presentations, or interviews. Control stays with the host. |
|
System-aware theme switching with smooth transitions. Your eyes will thank you during those late-night sessions. |
Export your work as a properly-named file with the correct extension for the selected language. One click, done. |
codesharelive/
βββ client/ # Next.js 16 + React 19 Frontend
β βββ src/
β β βββ app/ # App Router pages & API routes
β β β βββ [roomId]/ # Dynamic room routes
β β β βββ about/ # About page
β β β βββ blog/ # Blog
β β β βββ changelog/ # Changelog
β β β βββ contact/ # Contact form
β β β βββ faq/ # FAQ
β β β βββ privacy-policy/
β β β βββ terms/ # Terms of Service
β β β βββ templates/ # Code templates
β β βββ components/
β β βββ Editor.js # Monaco + Socket.io + Canvas
β β βββ Header.js # Navigation bar
β β βββ Footer.js # Site footer
β β βββ ThemeProvider.js # Dark/light theme context
β β βββ home/ # Landing page components
β β βββ AnimatedContainer.js
β β βββ FeaturesDetail.js
β β βββ HeroBackground.js
β β βββ JoinForm.js
β β βββ MockEditor.js
β βββ package.json
β
βββ server/ # Express 5 + Socket.io Backend
β βββ src/
β βββ index.js # WebSocket hub + Compilex API
β
βββ README.md
| Layer | Technology | Purpose |
|---|---|---|
| Frontend | Next.js 16, React 19 | Server-side rendering, App Router |
| Editor | Monaco Editor (via @monaco-editor/react) |
VS Code-grade editing |
| Styling | Tailwind CSS 4, Framer Motion | Utility-first CSS, animations |
| Icons | Lucide React, React Icons | Crisp SVG icon sets |
| Realtime | Socket.io 4 (client + server) | WebSocket-based live sync |
| Backend | Express 5, Node.js | REST API + WebSocket server |
| Compiler | Compilex + child_process | Sandboxed multi-language execution |
| Deployment | Vercel (frontend) | Edge-optimized hosting |
- Node.js v18+ recommended
- npm (comes with Node.js)
git clone https://github.com/ShubhamV2503/codesharelive.git
cd codesharelivecd server
npm install
node src/index.jsThe server starts at
http://localhost:4000
Open a new terminal:
cd client
npm install
npm run devThe app opens at
http://localhost:3000
- Open
http://localhost:3000in your browser - Click Create Instant Room to generate a unique workspace
- Share the URL with anyone β they're instantly connected
- Select a language, write code, and run it in real-time
|
Watch candidates think in real-time. Run their code instantly against test cases. A professional experience that reflects your engineering culture. |
Walk students through code live. Sketch architecture on the whiteboard. Lead shared sessions with up to 20 participants. |
Debug together in real-time. See your partner's cursor, edits, and thought process. Ship features faster, together. |
Create a .env.local file in the client/ directory:
# Socket server URL (defaults to localhost:4000 if not set)
NEXT_PUBLIC_SOCKET_URL=http://localhost:4000
# App URL for OpenGraph metadata
NEXT_PUBLIC_APP_URL=https://codesharelive.vercel.app
# Google Search Console verification (optional)
NEXT_PUBLIC_GOOGLE_VERIFICATION=your_verification_codeThis repository and its codebase are proprietary. All rights reserved.
However, contributions are welcome! If you'd like to improve CodeshareLive, here's how:
- Fork the repository
- Create a new branch for your feature or fix (
git checkout -b feature/amazing-feature) - Make your changes and commit them (
git commit -m "Add amazing feature") - Push to your fork (
git push origin feature/amazing-feature) - Open a Pull Request β describe what you changed and why
Once your PR is reviewed and merged, you'll be added as a contributor π
Note: By submitting a PR, you agree that your contributions will be licensed under the same terms as this project.