PythonadvancedwebAI Generated
Real-time Collaborative Code Editor
Collaborative code editor with Operational Transformation (OT) for conflict-free sync, user presence, and execution sandbox.
5 stepsPython · FastAPI · WebSocket · Redis · Docker · CodeMirror 6
Project Roadmap
- 01
WebSocket server
FastAPI WebSocket endpoint; broadcast OT operations to all session clients.
- 02
OT algorithm
Server-side OT implementation for transforming concurrent operations.
- 03
Document state Redis
Document state persisted in Redis; recovery on reconnect.
- 04
Cursor sync
Cursor positions of all users synchronized in real-time.
- 05
Code execution
Docker sandbox for code execution: POST /execute → {output, error, runtime}.
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