Connectivitizer
Connectivitizer lets an application reach a service (HTTP, WebSocket, any TCP protocol) on a device behind NAT without opening a port. Sessions run directly between the two endpoints when the networks allow it, and through a relay otherwise. Both ways are end-to-end encrypted between the two endpoints; the platform never holds the keys.
The web app: https://connectivitizer.com.
Programs use Connectivitizer through an SDK or the command-line tool cz. A device offers local services under names, and other devices or applications connect to those services. A device can do both, for example a lamp that can be controlled remotely and can also switch another lamp. With cz connect, a service can be accessed through a local port without integrating an SDK. The programs do not need to be written in the same language.
Choose a guide based on your platform and what you want to do.
Integration guides
- ESP32 (Arduino, PlatformIO, ESP-IDF): offers services, and connects to other devices
- TypeScript on Node.js: offers services and connects
- React Native: connects (phone apps)
- Plugins in other apps (relay only): connects from a web page or WebView, a backup only where nothing else can run: always through the relay, so all its traffic counts as relayed
- C# / .NET: offers services and connects
- Python: offers services and connects
- Java and Kotlin (JVM, Android): offers services and connects
- cz, the command line tool: any language, next to unchanged software
- Workspace tools: create keys and configure devices from the command line (
npx @huelake/connectivitizer) or as tools of an AI client (MCP), without a key ever being shown - Device screens: a page the device serves, shown in the Connectivitizer app and by
cz ui: the code for each language, colours, camera and location, examples - The Connectivitizer app: the app on the phone, and getting the shared key onto it (also as a QR code in the terminal)