{"id":27779348,"url":"https://github.com/yashnuhash/realtime-collaborative-code-editor","last_synced_at":"2025-09-16T15:06:28.941Z","repository":{"id":286948242,"uuid":"963058122","full_name":"YashNuhash/Realtime-Collaborative-Code-Editor","owner":"YashNuhash","description":"A Real-time Collaborative Code Editor built with Next.js, Socket.io \u0026 Express.js Which Provides a Range of Powerful Features Like Instant Code Synchronization While Code Changes to Across all the Users","archived":false,"fork":false,"pushed_at":"2025-04-29T05:32:34.000Z","size":3792,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-30T10:16:32.529Z","etag":null,"topics":["code-editor","codemirror","codemirror-editor","good-first-contribution","good-first-issue","live-code-sharing","motion-animations","nextjs","open-source","react","real-time-collaboration","real-time-collaboration-with-syntax-highlighting","socket-io","syntax-highlighting","team-coding","typescript","vercel","websocket"],"latest_commit_sha":null,"homepage":"https://xor-code.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YashNuhash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-09T05:06:51.000Z","updated_at":"2025-04-29T05:36:55.000Z","dependencies_parsed_at":"2025-04-30T10:16:34.641Z","dependency_job_id":null,"html_url":"https://github.com/YashNuhash/Realtime-Collaborative-Code-Editor","commit_stats":null,"previous_names":["yashnuhash/xor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/YashNuhash/Realtime-Collaborative-Code-Editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YashNuhash%2FRealtime-Collaborative-Code-Editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YashNuhash%2FRealtime-Collaborative-Code-Editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YashNuhash%2FRealtime-Collaborative-Code-Editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YashNuhash%2FRealtime-Collaborative-Code-Editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YashNuhash","download_url":"https://codeload.github.com/YashNuhash/Realtime-Collaborative-Code-Editor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YashNuhash%2FRealtime-Collaborative-Code-Editor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275439515,"owners_count":25465041,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-16T02:00:10.229Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-editor","codemirror","codemirror-editor","good-first-contribution","good-first-issue","live-code-sharing","motion-animations","nextjs","open-source","react","real-time-collaboration","real-time-collaboration-with-syntax-highlighting","socket-io","syntax-highlighting","team-coding","typescript","vercel","websocket"],"created_at":"2025-04-30T09:58:06.904Z","updated_at":"2025-09-16T15:06:28.911Z","avatar_url":"https://github.com/YashNuhash.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# XOR - Realtime Collaborative Code Editor ![Views Counter](https://views-counter.vercel.app/badge?pageId=https%3A%2F%2Fgithub%2Ecom%2FYashNuhash%2FXOR\u0026leftColor=808080\u0026rightColor=3469e5\u0026type=total\u0026label=Visitors\u0026style=none)\n\n![XOR](image.png)\n\nXOR is a Realtime Collaborative Code Editor that Enables Real-time Code Collaboration. Built with Next.js, Socket.IO. It  Provides a Range of Powerful Features Like Instant Code Synchronization While Code Changes to Across all the Users\n\n## Academic Information\n\n### Team Name: Red_Asgardians\n\n- Ashraful Nuhash - 2001011040\n- Nafis Hasan Arif - 2001011048\n\n### Course Name\n\n#### Web Engineering Lab Course (CSE-3106)\n\n### Instructor\n\n#### Md. Mynoddin, Assistant Professor, Department of CSE, RMSTU\n\n## 🎥 Demo Video: \n\nClick the image above to watch the demo video!\n\n[![XOR: Real-time Code Collaboration Tool](https://img.youtube.com/vi/Kj2NOn6xkfo/maxresdefault.jpg)](https://youtu.be/Kj2NOn6xkfo)\n\n\n\n## Behaviour of Socket.io in XOR\n\n![alt text](\u003cXOR - Real-time Collaborative Code Editor - visual selection (1).png\u003e)\n\n## 🚀 Key Features\n\n### ✨ Real-time Collaboration\n- **Live Code Synchronization**: Multiple users can edit code simultaneously with real-time updates\n- **Room-based Collaboration**: Create or join coding rooms with unique room IDs\n- **User Presence**: See who's currently in the room with real-time user indicators\n- **Profile System**: Each user gets a unique avatar and profile in the collaboration space\n\n### \u003c/\u003e Code Editor\n- **Multi-language Support**: Supports multiple programming languages including:\n  - JavaScript/JSX\n  - TypeScript/TSX\n  - HTML/CSS\n  - C++\n  - Java\n  - Python\n- **Syntax Highlighting**: Built-in syntax highlighting for all supported languages\n- **Real-time Code Sync**: Instantaneous code synchronization across all users in the room\n\n### 🎨 User Interface\n- **Modern Design**: Clean, intuitive interface with dark mode support\n- **Responsive Layout**: Works seamlessly across desktop and mobile devices\n- **Interactive UI Elements**:\n  - Animated tooltips\n  - Google Gemini-style effects\n  - Dynamic sidebar for room management\n  - Custom moving borders and animations\n\n### 📢 Room Management\n- **Easy Room Creation**: Quick and simple process to create new coding rooms\n- **Room ID Sharing**: Copy room ID functionality for easy sharing\n- **Leave Room**: Graceful room exit with automatic cleanup\n- **Room State Management**: Persistent room state across sessions\n\n### 🎯 Navigation \u0026 Layout\n- **Breadcrumb Navigation**: Easy navigation between different sections\n- **Sidebar Management**: Collapsible sidebar with room information\n- **Language Selector**: Easy switching between programming languages\n- **Team Member Display**: See all team members in the collaboration space\n\n### 🔥 Additional Features\n- **Toast Notifications**: Informative notifications for user actions\n- **Error Handling**: Robust error handling and user feedback\n- **Persistent Connections**: WebSocket-based reliable connections\n- **Cross-browser Support**: Works across modern web browsers\n\n## 🛠️ Technical Stack\n\n- **Frontend**: Next.js, React, TypeScript\n- **Backend**: Node.js, Express\n- **Real-time Communication**: Socket.IO\n- **Styling**: Tailwind CSS, Radix UI\n- **Code Editing**: Custom implementation with syntax highlighting\n- **State Management**: React Hooks and Context\n- **Deployment**: \n  - Frontend: Vercel\n  - Backend: Render\n\n## 🔮 Coming Soon\n- Animated tooltips in the editor\n- Enhanced collaboration features\n- More language support\n- Additional customization options\n\n## 🚀 Getting Started\n\n1. Visit [XOR Code Editor](https://xor-code.vercel.app)\n2. Click `Get Started`\n3. Click `Generate New Room ID` or Paste Your Collaborator Provided ID\n3. Enter Your Name and Click `Join Now`\n4. Share the room ID with your teammates\n5. Start coding together!\n\n## 💻 Local Development\n\n```bash\n# Clone the repository\ngit clone https://github.com/YashNuhash/XOR.git\n\n# Install dependencies\npnpm install\n\n# Start the development server\npnpm run dev\n\n# In a separate terminal, You have to start the backend server\n# Clone backend Repository \ngit clone https://github.com/YashNuhash/XOR-backend.git\n\n# Go to the XOR-backend folder\ncd XOR-backend\n\n# Install dependencies\nnpm install\n\n# Start the backend Server\nnpm run dev\n```\n\n## 📝 License\n\n[MIT License](LICENSE)\n\n## 👥 Contributors\n\n- [Ashraful Nuhash](https://github.com/YashNuhash)\n- [Nafis Hasan](https://github.com/NafisHasan2020) \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashnuhash%2Frealtime-collaborative-code-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyashnuhash%2Frealtime-collaborative-code-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashnuhash%2Frealtime-collaborative-code-editor/lists"}