How parm2006/conduit works
Conduit is a Windows wireless KVM. A user starts one Server and up to two Clients, authenticates them, arranges displays, then local input is captured, routed through topology ownership, and injected remotely. Clipboard offers and file-paste manifests travel through authenticated control/file lanes, while optional desktop video is captured, encoded, encrypted, transported, decoded, and rendered. The excerpts directly establish routing, clipboard, transfer, and native streaming internals; several GUI, pairing, and persistence links are therefore represented only where documented.
Components 24
Session Coordination
- Server Runtime
app/server.py - Client Runtime
app/client.py - Desktop GUI
app/gui.py - Session Registry
app/session.py
Input and Topology
- Input Capture
app/input_handler.py - Input Router
app/input_router.py - Display Topology
app/display_topology.py
Clipboard and Files
- Clipboard Handler
app/clipboard_handler.py - Clipboard Hub
app/clipboard_hub.py - File Paste Service
app/file_transfer/paste_service.py - File Cluster Router
app/file_transfer/cluster_router.py - Transfer Controller
app/file_transfer/controller.py - File Transport
app/file_transfer/transport.py
Native Video
- Streamer API
native/conduit_streamer/conduit_streamer.h - DXGI Capture
native/conduit_streamer/dxgi_capture.h - H264 Encoder
native/conduit_streamer/h264_encoder.cpp - Encrypted UDP
native/conduit_streamer/udp_transport.h - H264 Decoder
native/conduit_streamer/h264_decoder.h - D3D11 Renderer
native/conduit_streamer/d3d11_renderer.h
Trust and Networking
- Control Networking
app/network.py - Peer Trust
app/trust.py - Identity Crypto
app/crypto.py
Other components
- User
- Windows Desktop
Connections 28
- User → Desktop GUI: starts and configures
- Desktop GUI → Server Runtime: starts server
- Desktop GUI → Client Runtime: connects client
- Server Runtime → Session Registry: tracks sessions
- Server Runtime → Control Networking: serves control
- Client Runtime → Control Networking: opens control
- Control Networking → Peer Trust: checks peers
- Identity Crypto → Control Networking: secures identity
- Windows Desktop → Input Capture: provides input
- Input Capture → Input Router: dispatches events
- Input Router → Display Topology: reads mappings
- Input Router → Control Networking: sends handoff
- Control Networking → Input Capture: delivers remote input
- Windows Desktop → Clipboard Handler: provides clipboard
- Clipboard Handler → Clipboard Hub: publishes offers
- Server Runtime → Clipboard Hub: accepts snapshots
- Client Runtime → Clipboard Hub: accepts snapshots
- Clipboard Hub → Control Networking: shares clipboard
- Control Networking → File Paste Service: dispatches manifests
- File Paste Service → File Cluster Router: coordinates paste
- File Cluster Router → File Transport: relays frames
- File Paste Service → Transfer Controller: reports status
- Client Runtime → Streamer API: starts stream
- Streamer API → DXGI Capture: captures desktop
- Streamer API → H264 Encoder: encodes frames
- Streamer API → Encrypted UDP: sends media
- Encrypted UDP → H264 Decoder: delivers frames
- H264 Decoder → D3D11 Renderer: renders frames