CodeHub is a collaborative coding platform designed to cater to the diverse needs of developers, team leads, and project managers. It is dedicated to empowering individuals and teams to efficiently achieve their coding goals. Whether you're a developer seeking real-time collaboration or a team lead in need of robust project management tools, CodeHub is your one-stop solution.
This project has been done as a requirement for the CSN-254 course (Software Engineering) of IIT Roorkee.
- Features
- Tech Stack
- Flow Diagram
- Getting Started
- User Guide
- Future Scope
- Bug Reporting
- Support Us
- About Developers
- ๐ป Real-time collaboration on code editing across multiple files
- ๐ Unique project generation with project ID & password for collaboration
- ๐ Syntax highlighting for various file types with auto-language detection
- ๐ก Auto suggestion based on programming language
- โฑ๏ธ Instant updates and synchronization of code changes across all files
- ๐ฃ Notifications for user join and leave events
- ๐จ Multiple themes for personalized coding experience
- ๐ Comprehensive language support for versatile programming
- ๐ Option to change font size and font family
- ๐ฅ User presence list of users currently in the collaboration session, including online/offline status indicators
- ๐ Open, edit, save, and delete file functionalities
- ๐พ Option to download files edited within the collaboration session
- ๐ฌ Group chatting allows users to communicate in real-time while working on code.
- ๐ฉ Real-time tooltip displaying users currently editing
- ๐ Issue assigning for streamlined project management
- ๐จ๐ผโ๐ป User authentication through Sign-up and login functionality
- ๐ต๐ผโโ๏ธ Adding developers by admin.

-
Fork this repository: Click the Fork button located in the top-right corner of this page to fork the repository.
-
Clone the repository:
git clone https://github.com/<your-username>/CodeHub.git
-
Set .env file: Inside the client and server directory, create or edit the .env file and add the following line:
Frontend:VITE_BACKEND_URL=<your_server_url>
Backend:
PORT=3000
-
Install dependencies: Navigate to the frontend and backend directories separately and run:
npm install
-
Start the frontend and backend servers:
Frontend:cd client npm run dev
Backend:
cd server npm run dev
-
Access the application: Open a browser and enter the following URL:
http://localhost:5173/









- Compile Functionality: Implement an compile system to manage and access programming features.
- Search and Replace: Implement a search and replace functionality for efficient code navigation.
Feel free to open an issue on GitHub if you find bugs.
If you find this helpful or valuable, please consider ๐ starring the repository. It helps us gain visibility and encourages further development. We appreciate your support!
![]() Ansh Saini |
![]() Shaurya Jain |
![]() Vansh Saini |
![]() Nikunj Kansal |
![]() Varun Fadia |