How pc1209920-coder/open-side works
Open-Side is a decentralized compute mesh that accepts workloads, partitions and routes shards to available peers, executes them in isolated sandboxes, and returns aggregated results; optional ledger settlement records compute proofs and credits. The README documents a CLI, AI-compatible HTTP gateway, daemon, DHT, NAT traversal, WebSockets, checkpoints, and WebAssembly execution. The graph combines those documented capabilities with visible imports and calls; edges for subsystems whose runtime wiring was not sampled are dashed and marked unverified.
Main entry points: index.js ComputeSea API · open-side.js CLI · router.js Grid Router · node.js P2P Node
Components 16
Entry Points
- CLI
bin/open-side.js - AI HTTP Gateway
src/gateway.js - Cluster Daemon
src/daemon.js
Workload Orchestration
- ComputeSea API
src/index.js - Grid Router
src/router.js
Secure Execution
- Mesh Crypto
src/crypto.js - Standby Sandbox
src/sandbox.js - WASM Compute
src/wasm.js
Mesh Networking
- P2P Node
src/node.js - Kademlia DHT
src/dht.js - STUN NAT Traversal
src/transport/nat.js - WebSocket Transport
src/transport/websocket.js
State and Services
- Compute Ledger
src/ledger.js - Checkpoint Manager
src/checkpoint.js
Other components
- Workload Client
- HTTP API Client
Connections 18
- Workload Client → CLI: runs commands
README.md - Workload Client → ComputeSea API: submits workloads
README.md - HTTP API Client → AI HTTP Gateway: sends requests
README.md - CLI → ComputeSea API: starts or simulates
bin/open-side.js - CLI → Cluster Daemon: manages daemon
bin/open-side.js - AI HTTP Gateway → ComputeSea API: submits workload
src/gateway.js - ComputeSea API → Grid Router: partitions and routes
README.md - Grid Router → Checkpoint Manager: uses checkpoint manager
src/router.js - Grid Router → Standby Sandbox: uses canonicalization
src/router.js - ComputeSea API → P2P Node: dispatches peer shards
README.md - P2P Node → Mesh Crypto: secures peer traffic
src/node.js - P2P Node → Standby Sandbox: executes authenticated shards
README.md - ComputeSea API → Mesh Crypto: uses mesh encryption
README.md - ComputeSea API → Compute Ledger: records proof and settles credits
README.md - ComputeSea API → Kademlia DHT: integrates DHT
src/index.js - ComputeSea API → STUN NAT Traversal: integrates NAT traversal
src/index.js - ComputeSea API → WebSocket Transport: integrates WebSockets
src/index.js - ComputeSea API → WASM Compute: offers WASM compute
src/index.js