A real-time collaborative coding platform that enables multiple users to write, edit, and compile code simultaneously in a shared environment.
Real-time collaborative coding environment with multi-language support
Create rooms, invite collaborators, and code together in real-time
- Real-time Collaboration: Multiple users can write and edit code simultaneously
- Multi-language Support: Compile and run code in various programming languages
- Room-based Sessions: Create private rooms for team collaboration
- Live Terminal: Real-time terminal updates shared across all participants
- Code Compilation: Integrated compiler with output rendering in the browser
- File Download: Download your code files locally
- Responsive Design: Works seamlessly across different devices
- User-friendly Interface: Clean and intuitive design for enhanced productivity
- React 19 - Modern React framework with latest features
- TailwindCSS - Utility-first CSS framework for responsive design
- Express.js - Fast and minimalist web framework
- Socket.io - Real-time bi-directional communication
- JDoodle API - Multi-language code compilation and execution
- Vercel - Frontend deployment platform
- Node.js (v18 or higher)
- npm or yarn
- JDoodle API credentials
-
Clone the repository
git clone https://github.com/rahulgurav82/Code-Cast-Compile.git cd Code-Cast-Compile
-
Install frontend dependencies
cd frontend npm install
-
Install backend dependencies
cd ../backend npm install
-
Environment Setup
Create a
.env
file in the backend directory:JDOODLE_CLIENT_ID=your_jdoodle_client_id JDOODLE_CLIENT_SECRET=your_jdoodle_client_secret
-
Start the development servers
Backend server:
cd backend npm run dev
Frontend server (in a new terminal):
cd frontend npm start
-
Access the application Open your browser and navigate to
http://localhost:5173
- Visit the application homepage
- Click "Create Room" to generate a new collaboration session
- Share the room ID with your team members
- Start coding collaboratively!
- Visit the application homepage
- Enter the room ID provided by the host
- Click "Join Room"
- Begin collaborating in real-time
- Live Code Editing: See changes from other users in real-time
- Terminal Sharing: View compilation results and outputs together
- Multi-language Support: Switch between different programming languages
- File Management: Download your collaborative work
The platform integrates with JDoodle API to provide:
- Multi-language code compilation
- Real-time output rendering
- Support for popular programming languages (Python, Java, C++, JavaScript, etc.)
The application is deployed on Vercel and accessible at: https://code-cast-compile.vercel.app/
-
Frontend Deployment (Vercel)
cd frontend vercel --prod
-
Backend Deployment Deploy the backend to your preferred platform (Heroku, Railway, etc.) Update the frontend API endpoints accordingly
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- JDoodle API for providing code compilation services
- Socket.io for real-time communication capabilities
- Vercel for seamless deployment platform
For questions or support, please reach out:
- Live Demo: https://code-cast-compile.vercel.app/
- Issues: GitHub Issues
⭐ Star this repository if you found it helpful!