Skip to content

Yogesh-017/Real-Time-Code-Collaboration-Platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✨ Real-Time Code Collaboration Platform

Code Together. Instantly. Seamlessly.

Issues Stars Forks



🚀 The Vision

"Distance should no longer be a barrier to collective coding."

This platform eliminates the friction of passive screen sharing. It creates a high-performance, shared virtual room where every participant has their own cursor and editor control. Whether for remote pair programming, technical interviews, or teaching, this tool provides a "Google Docs" experience specifically tailored for developers.


✨ Key Features

⚡ Instant Synchronization

Powered by Socket.io, every keystroke is synced across all connected clients with zero perceptible lag. The connection is persistent, bidirectional, and optimized for low latency.

🎨 Premium Glassmorphism UI

Designed with a philosophy of "Visual Excellence." The interface features a Premium Dark Mode aesthetic, utilizing translucent layers, frosted glass effects, and smooth CSS transitions to feel "alive."

👥 Ephemeral Collaboration Rooms

  • Instant Access — Generate a unique Room ID and share it.
  • No Setup — Zero configuration required for guests.
  • Live Presence — A dynamic sidebar tracks active users in real-time with unique avatars.

💻 Professional Editor Suite

Integrated with a heavy-duty code editor engine that supports:

  • ✅ Syntax Highlighting for multiple languages
  • ✅ Auto-indentation and bracket matching
  • ✅ Line numbering and error detection

🛠️ Technology Stack

Component Technology Description
Frontend React.js Single-page application architecture for a snappy UX
Styling Vanilla CSS Extensive use of backdrop-filter and Flexbox
Real-Time Socket.io WebSockets for bidirectional event-based communication
Backend Node.js Handles room logic, API routes, and connection management
Server Express.js Lightweight framework for handling HTTP requests

🎬 Demo

🔗 Live demo link coming soon!


📦 Installation & Setup

Follow these steps to run the collaboration platform locally.

Prerequisites

Make sure you have the following installed:

  • Node.js (v16 or higher recommended)
  • npm (comes bundled with Node.js)
  • Git

Step 1: Clone the Repository

git clone https://github.com/Yogesh-017/Real-Time-Code-Collaboration-Platform.git
cd Real-Time-Code-Collaboration-Platform

Step 2: Install Dependencies

npm install

Step 3: Environment Configuration (Optional)

Create a .env file in the root directory if you want to customize the port:

PORT=5000

Step 4: Start the Server

npm run dev
# or
node server.js

The app will launch in your browser at http://localhost:5000.


📂 Project Structure

Real-Time-Code-Collaboration-Platform/
├── public/                  # Static assets (HTML, Images, CSS)
├── src/
│   ├── Actions.js           # Socket event definitions
│   ├── server.js            # Main server entry point
│   └── components/          # React components (Editor, Sidebar)
├── .env                     # Environment variables (optional)
├── .gitignore               # Ignored files
├── package.json             # Dependencies and scripts
└── README.md                # Project documentation

⚠️ Troubleshooting

Problem Solution
npm install fails Make sure you have Node.js v16+ installed. Run node -v to check.
Port already in use Change the port in the .env file or stop the process using that port.
Socket connection drops Check your firewall settings and ensure WebSocket connections are allowed.
Page not loading Verify the server is running and visit http://localhost:5000 directly.

🤝 Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the project
  2. Create your feature branch
    git checkout -b feature/AmazingFeature
  3. Commit your changes
    git commit -m "Add some AmazingFeature"
  4. Push to the branch
    git push origin feature/AmazingFeature
  5. Open a Pull Request

👨‍💻 Authors

Made with ❤️ by Yogesh, Tushar, Vedant, and Bhagyesh.


📄 License

This project is open source and available under the MIT License.


⭐ If you found this project useful, consider giving it a star!

About

this is for the nerds to create real world application on same window

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors