Show HN: DeviceLab – 将办公室里的手机变成一个设备实验室

1作者: omnarayan7 天前
班加罗尔办公室 + 旧金山办公室 + 家 = 一个统一的实验室。 您的 APK/IPA、测试数据、网络调用——所有这些都通过 WebRTC P2P(DTLS 加密)直接在您的机器之间传输。我们只处理信令(哪个设备在哪里)。 设置: ``` # 带有手机的机器 curl -fsSL https://app.devicelab.dev/device-node/KEY | sh # CI 运行器 curl -fsSL https://app.devicelab.dev/test-node/KEY | sh ``` 通过 Google/Cloudflare STUN 进行 NAT 穿越。通过 Cloudflare TURN 进行回退中继(约 15% 的情况)——仍然是端到端加密,他们只能看到数据包,看不到内容。 这不适用于: - “在 100 个型号上测试” - 使用 BrowserStack - 100% 隔离(TURN 破坏了这一点) 适用于 Appium、Maestro、Espresso、XCUITest。 还开源了 Maestro iOS 真机支持:github.com/devicelab-dev/maestro-ios-device https://devicelab.dev | 99 美元/设备 | 第一个永远免费 还有其他人在运行多地点设备实验室吗?最先坏掉的是什么?
查看原文
Devices in Bangalore office + SF office + home = one unified lab.<p>Your APK&#x2F;IPA, test data, network calls - all flow directly between your machines via WebRTC P2P (DTLS encrypted). We only handle signaling (which device is where).<p>Setup:<p><pre><code> # Machine with phones curl -fsSL https:&#x2F;&#x2F;app.devicelab.dev&#x2F;device-node&#x2F;KEY | sh # CI runner curl -fsSL https:&#x2F;&#x2F;app.devicelab.dev&#x2F;test-node&#x2F;KEY | sh </code></pre> NAT traversal via Google&#x2F;Cloudflare STUN. Fallback relay via Cloudflare TURN (~15% of cases) - still E2E encrypted, they see packets not content.<p>What this isn&#x27;t for: - &quot;Test on 100 models&quot; - use BrowserStack - 100% air-gapped (TURN breaks this)<p>Works with Appium, Maestro, Espresso, XCUITest.<p>Also open sourced Maestro iOS real device support: github.com&#x2F;devicelab-dev&#x2F;maestro-ios-device<p><a href="https:&#x2F;&#x2F;devicelab.dev" rel="nofollow">https:&#x2F;&#x2F;devicelab.dev</a> | $99&#x2F;device | First one free forever<p>Anyone else running multi-location device labs? What broke first?