CODESEEDSign in
Explore projects
Pythonadvancedweb

Real-time Collaborative Code Editor

Collaborative code editor with Operational Transformation (OT) for conflict-free sync, user presence, and execution sandbox.

5 steps

Project steps

  1. 01

    WebSocket server

    FastAPI WebSocket endpoint; broadcast OT operations to all session clients.

  2. 02

    OT algorithm

    Server-side OT implementation for transforming concurrent operations.

  3. 03

    Document state Redis

    Document state persisted in Redis; recovery on reconnect.

  4. 04

    Cursor sync

    Cursor positions of all users synchronized in real-time.

  5. 05

    Code execution

    Docker sandbox for code execution: POST /execute → {output, error, runtime}.

Recommended resources

Ready to build this?

Fork the repo on GitHub and start building. A mentor will review your code when you open a PR.

5 steps

Tech stack

PythonFastAPIWebSocketRedisDockerCodeMirror 6