{"repo":"mrktsm/codecafe","free":true,"listed":false,"github":"https://github.com/mrktsm/codecafe","clone":"git clone https://github.com/mrktsm/codecafe.git","description":"Browser-based real-time code editor with multiuser collaboration","language":"TypeScript","stars":538,"topics":["react","spring-boot","websockets","liveshare","ot","redis","java"],"license":"MIT","category":"databases-storage","readme_excerpt":"CodeCafé A browser-based real-time code editor with multiuser collaboration powered by operational transformation (OT). Try CodeCafé Live Video overview: OT system and editor behavior --- Features - Live Preview: Instantly renders HTML, CSS, and JavaScript. - Real-Time Collaboration: Concurrent editing with OT-based conflict resolution. - Monaco Editor: Syntax highlighting, autocomplete, and basic diagnostics. - Browser-Based: No installation required. --- Tech Stack - Client: React, TypeScript, Zustand, Tailwind CSS, Monaco Editor, Xterm.js, Framer Motion, Axios, WebSocket client - Server: Spring Boot, WebSocket API, Jackson - Collaboration Layer: Custom Operational Transformation implementation - State / Messaging: Redis (AWS ElastiCache) with Lua scripts for atomic operations - Hosting: AWS EC2 (server), Vercel (client), AWS ElastiCache (Redis) --- Operational Transformation CodeCafé uses a custom OT implementation on both the client and server to keep all participants’ views of a document consistent. OT enables: - Adjusting operations (insert/delete) when concurrent changes occur - Ensuring all clients converge to the same document state - Preserving each user’s intended edits The system handles: - Concurrent edits from multiple users - Deterministic conflict resolution - Consistent document state across sessions --- CI/CD Pipeline The project includes a GitHub Actions pipeline with: - Continuous Integration: Tests for client and server on each PR and push - Continuous De","default_branch":null,"files":null,"tree":[],"storefront":"/r/mrktsm","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mrktsm/codecafe/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}