Why Connekt
Cross-device communication between desktops, phones, and browsers is still surprisingly fragmented. Building an in-app inspector, a desktop companion tool, a hardware QA harness, or a multi-screen interactive app usually forces you to juggle ADB port forwarding scripts, usbmuxd quirks, mDNS/Bonjour discovery, flaky Wi-Fi reconnects, and ad-hoc JSON WebSocket wrappers across four different languages.
Connekt collapses all of that into one zero-config SDK.
What Connekt Solves
1. USB Speed + Wireless Resilience
- Android: Connects automatically through
ADB reverse— no root access, no manualadb forwardcommands, and zero interference withadb logcator Android Studio. - iOS: Bridges over native
usbmuxdUSB loopback, with optional LAN WebSocket + Bonjour discovery (enableLan = falseby default so pure USB debug builds never trigger unexpected iOS Local Network permission dialogs). - Hot-Standby Failover: When both USB and LAN are active, Connekt prefers USB for minimum latency and automatically promotes the already-warm LAN link the instant you unplug the cable.
2. Three Orthogonal Primitives
Every interaction across Rust, Kotlin, Swift, TypeScript, and Python flows through named channels (channel("...")) using just three primitives:
| Primitive | Direction & Targeting | Best For |
|---|---|---|
| Messages | Unidirectional · single peer, subset [a, b], or * | Telemetry, logs, live state sync, 60fps controller input |
| Request / Response | Bidirectional 1-to-1 RPC with timeouts & typed errors | Remote commands, inspector queries, mock injection, device control |
| Binary Streams | 0-RTT chunked streams with JSON metadata, multicast & early reject() / cancel() | File transfers, live video/audio frames, heap/profile dumps |
3. Multi-App & Multi-Device Native
Multiple apps on the same physical phone (and multiple browser tabs) each get a distinct peer_id (<device_hash>/<bundle_or_package>), share the underlying USB/LAN link cleanly, and can message both the PC Hub and each other through zero-copy Hub relay.
4. Built for Production Too
Core SDK libraries contain zero demo code (enforced automatically in CI). On mobile, drop-in No-Op artifacts — dev.mobra.connekt:connekt-sdk-no-op (Android) and ConnektNoOp (iOS) — compile out every permission, ContentProvider, and runtime dependency in Release builds without littering your codebase with #if DEBUG.
Next Steps
- Jump straight into Getting Started to connect your first device in under two minutes.
- Inspect the Architecture & Failover design.
- Explore the Unified API Contract across all 6 targets.