How atharv-k-979/devmesh works
DevMesh is a realtime collaborative development environment. Users enter through the client, authenticate, and open a room to edit a multi-file workspace; the editor coordinates CRDT synchronization, room events, and feature panels. The API supplies room, media, AI, recording, execution, snippet, and snapshot capabilities, while the collaboration server provides Yjs synchronization. The README documents several integrations beyond the sampled implementation; edges for those use documented relationships, and unsampled wiring is not inferred.
Main entry points: EditorPage.jsx Room editor · app.module.js API gateway · App.jsx Client routes · livekit.controller.js Media tokens
Components 22
Client experience
- Client routes
apps/client/src/App.jsx - Room entry
apps/client/src/pages/Home.jsx - Auth state
apps/client/src/store/authStore.js - Room editor
apps/client/src/pages/EditorPage.jsx - Workspace state
apps/client/src/store/workspaceStore.js - Code editor
apps/client/src/components/Editor.jsx - Import preview
apps/client/src/components/FilePreview.jsx - Whiteboard page
apps/client/src/pages/WhiteboardPage.jsx
Collaboration runtime
- CRDT sync server
apps/collab/src/index.js
API services
- API gateway
apps/api/src/app.module.js - Room events
apps/api/src/room.gateway.js - Authentication
apps/api/src/auth.controller.js - Media tokens
apps/api/src/livekit.controller.js - AI assistance
apps/api/src/ai.controller.js - Session recordings
apps/api/src/recordings.controller.js - Document snapshots
apps/api/src/persistence.controller.js - Code execution
apps/api/src/runner.controller.js - Code snippets
apps/api/src/snippets.controller.js
Room features
- Room panels
packages/ui/src
Shared contracts
- Protocol contracts
packages/shared-types/src/index.js
Other components
- Developer
- LiveKit media
Connections 30
- Developer → Client routes: opens
apps/client/src/App.jsx - Client routes → Room entry: routes to
apps/client/src/App.jsx - Client routes → Room editor: routes to
apps/client/src/App.jsx - Client routes → Whiteboard page: routes to
apps/client/src/App.jsx - Room entry → Auth state: uses auth
apps/client/src/pages/Home.jsx - Auth state → Authentication: requests login
apps/client/src/store/authStore.js - Room editor → CRDT sync server: syncs documents
apps/client/src/pages/EditorPage.jsx - Room editor → Room events: exchanges room events
README.md - Room editor → Workspace state: uses workspace state
apps/client/src/pages/EditorPage.jsx - Room editor → Code editor: renders editor
apps/client/src/pages/EditorPage.jsx - Room editor → Import preview: renders preview
apps/client/src/pages/EditorPage.jsx - Room editor → Room panels: renders feature panels
apps/client/src/pages/EditorPage.jsx - Whiteboard page → Room panels: renders whiteboard
apps/client/src/pages/WhiteboardPage.jsx - Room editor → AI assistance: requests completion
apps/client/src/pages/EditorPage.jsx - Room editor → Session recordings: records events
apps/client/src/pages/EditorPage.jsx - Room editor → Code execution: requests execution
README.md - Room editor → Code snippets: loads snippets
README.md - Room editor → Media tokens: requests media token
- Media tokens → LiveKit media: authorizes room access
apps/api/src/livekit.controller.js - Room editor → Document snapshots: stores snapshots
- API gateway → Room events: registers gateway
apps/api/src/app.module.js - API gateway → Authentication: registers controller
apps/api/src/app.module.js - API gateway → Media tokens: registers controller
apps/api/src/app.module.js - API gateway → Session recordings: registers controller
apps/api/src/app.module.js - API gateway → Document snapshots: registers controller
apps/api/src/app.module.js - API gateway → AI assistance: registers controller
apps/api/src/app.module.js - API gateway → Code execution: registers controller
apps/api/src/app.module.js - API gateway → Code snippets: registers controller
apps/api/src/app.module.js - Room editor → Protocol contracts: uses contracts
apps/client/src/pages/EditorPage.jsx - CRDT sync server → Protocol contracts: uses protocol types