A modern real-time collaborative workspace web app built using HTML, CSS, and JavaScript, enabling multiple users (across tabs) to edit shared documents, manage tasks, create notes, and track activity with live sync using localStorage-based communication.
- Real-Time Collaboration – Sync changes instantly across multiple tabs/users.
- Shared Document Editor – Edit a common document with live updates.
- Conflict Detection System – Detects simultaneous edits and provides merge/overwrite options.
- Typing Indicator – Shows when another user is actively editing.
- User Presence System – Displays active users with avatars and online count.
- 8Heartbeat Mechanism – Keeps track of active users and removes inactive ones.
- Shared To-Do List – Add, complete, and delete tasks collaboratively.
- Shared Notes System – Create and edit notes across users.
- Activity Log – Tracks all user actions with timestamps.
- Live Notifications – Displays real-time updates of user actions.
- Theme Toggle – Switch between dark and light modes.
- Cross-Tab Sync Engine – Uses localStorage events for real-time updates.
CoLab/
├── index.html
├── script.js
├── style.css
- HTML5
- CSS3
- JavaScript
- Clone the repository:
git clone https://github.com/Agent-A345/CoLab.git
- Open the project and navigate to the file:
cd index.html
- Run the game in any modern browser
Use Shared Editor
- Open Editor tab
- Start typing in shared document
- Changes sync across tabs instantly
View Active Users
- Check top bar
- See online users and avatars
Track Activity
- Open Activity Log
- View all actions with timestamps
Manage Todos
- Add tasks
- Mark tasks complete
- Delete tasks
View Notifications
- Check live notification panel
- See user actions in real time
CoLab helps users:
- Simulate real-time collaboration
- Understand multi-user systems
- Learn conflict resolution strategies
- Manage shared tasks and notes
- Visualize collaborative workflows
- WebSocket-based real-time backend
- User authentication system
- Cloud sync support
- Role-based permissions
This project is licensed under the MIT License.