How asda168/code-forge works
CodeCambo is a local-first desktop IDE backed by a Django service for accounts, synchronized metadata, extension listings, and release information. The user opens a workspace, edits files, runs commands, and works with Git through the Electron main process; the renderer accesses local capabilities through the preload bridge. The backend also serves account/workspace APIs and a public download/update surface. Renderer modules and the backend WebSocket consumer are represented from the index or documentation, but their unsampled internal call paths are not inferred.
Main entry points: core.js IDE coordination · main.js Electron main process · views.py Release and extension endpoints · boot.js Renderer startup
Components 25
IDE interface
- Renderer startup
desktop/src/renderer/boot.js - IDE coordination
desktop/src/renderer/core.js - Editor
desktop/src/renderer/ide.js - File explorer
desktop/src/renderer/explorer.js - Git interface
desktop/src/renderer/git.js - Git history
desktop/src/renderer/gitlens.js - Terminal interface
desktop/src/renderer/terminal.js - Themes and icons
desktop/src/renderer/themes.js - Workbench UI
desktop/src/renderer/ui.js
Local runtime
- Context bridge
desktop/src/preload.js - Electron main process
desktop/src/main.js - Safety policies
desktop/src/security.js - Workspace files
- Shell and Git processes
Accounts and sync
- Account and workspace API
backend/core/views.py - API serialization
backend/core/serializers.py - User and project data
backend/core/models.py - HTTP API routes
backend/core/api_urls.py - WebSocket routing
backend/core/routing.py - Update notices
backend/core/consumers.py
Extensions and releases
- Release and extension endpoints
backend/core/views.py - Release metadata
backend/core/models.py - Download catalog
backend/core/site.py
Other components
- Developer
- Desktop client
Connections 24
- Developer → Renderer startup: starts IDE
- Renderer startup → IDE coordination: initializes
- IDE coordination → Editor: coordinates
- IDE coordination → File explorer: coordinates
- IDE coordination → Git interface: coordinates
- IDE coordination → Terminal interface: coordinates
- IDE coordination → Workbench UI: coordinates
- IDE coordination → Themes and icons: coordinates
- Git interface → Git history: uses history
- IDE coordination → Context bridge: uses bridge
- Context bridge → Electron main process: dispatches IPC
- Electron main process → Safety policies: validates access
desktop/src/main.js - Electron main process → Workspace files: reads and writes
desktop/src/main.js - Electron main process → Shell and Git processes: runs commands
desktop/src/main.js - Electron main process → Desktop client: requests service data
- HTTP API routes → Account and workspace API: routes requests
backend/core/api_urls.py - Account and workspace API → API serialization: serializes responses
backend/core/views.py - Account and workspace API → User and project data: queries records
backend/core/views.py - WebSocket routing → Update notices: routes updates
backend/core/routing.py - Desktop client → Update notices: connects for notices
- Release and extension endpoints → Release metadata: reads releases
backend/core/views.py - Release and extension endpoints → API serialization: serializes releases
backend/core/views.py - Release and extension endpoints → Download catalog: uses fallback data
backend/core/views.py - Desktop client → Release and extension endpoints: checks updates