Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.04 KB

File metadata and controls

51 lines (34 loc) · 1.04 KB

Code Sync

Status

⚠️ CodeSync is currently in beta. APIs and features may change.

CodeSync is a real-time collaborative code editor that allows multiple users to edit the same file simultaneously, similar to Google Docs but for code.

Built with Next.js, Express, and WebSockets (ws), it focuses on correctness, low latency, and real-time synchronization.


Features

  • Real-time code collaboration
  • Versioned updates to prevent desync
  • Cursor & selection presence (live)
  • Room-based collaboration
  • Automatic reconnection & resync
  • Server-authoritative document state

Tech Stack

Frontend

  • Next.js (App Router)
  • React
  • Monaco Editor (@monaco-editor/react)
  • Native WebSocket API

Backend

  • Node.js
  • Express.js
  • ws (WebSocket library)

Project Structure

codesync/
├── client/        # Next.js frontend
├── server/        # Express + WebSocket backend
├── README.md

License

MIT License