Skip to content
~/work/buddycode

BuddyCode

Web app

A real-time collaborative code editor with syntax highlighting, multiple languages and live cursor sharing.

What it does

  • 01Several people edit the same file at once and see each other's cursors.
  • 02Edits travel over WebSocket between the browser editor and a Flask server.
  • 03CodeMirror provides the editor and syntax highlighting for multiple languages.
  • 04An Android companion app runs Python code as an online compiler.
Stack
Python · Flask · WebSocket · CodeMirror
Domain
Developer tools
Ships as
Web app

Architecture

editseditsrunbroadcastBrowser editorCodeMirror editorL1Peer editorSecond collaboratorL1WebSocket channelEdits and cursorsL2Flask serverSessions and broadcastL2Python runnerExecutes codeL3

Simplified from the project description.