The Connectivitizer app: a device's own screen on the phone
The Connectivitizer app (Android) shows the devices of a workspace and opens the screen each device brings: one HTML page that the device serves itself. You do not have to build or publish an app for your device. The page reaches the device through the app's session: end-to-end encrypted, peer to peer where the networks allow it.
There are three parts: the app (you sign in with your Connectivitizer account), a page on the device (Device screens), and the device's shared key on the phone.
In the app
- Install the app and sign in with the account you use at https://connectivitizer.com. With several workspaces, choose one.
- The list shows the devices of the workspace. A device appears after its first connection; devices are added in the web app, not in the app.
- Add your shared key once (Account › Keys › Add a key, below). This works before the device exists.
- Tap a device. The app connects and shows the device's screen.
- Account (top right) has the keys: Keys lists the keys on the phone and the devices each one fits, and removes keys. It also has sign-out. Signing out keeps the keys on the phone: they are there again when you sign in with the same account. Keys leave the phone only when you remove them under Account › Keys.
If devices are limited to certain clients (Clients allowed to connect on the device's page in the web app), the app is the client Connectivitizer.
On the device: a screen of its own
The device serves one HTML page, and the app shows it when you tap the device. A device without one shows "This device brings no screen of its own". How to write and serve the page, with the code for each language, colours, the camera and finished examples: Device screens.
cz ui <device> shows the same page in the browser of a computer: the cz guide.
The shared key on the phone
Sessions are encrypted with the key the device has (czs_…, see the device guides). Connectivitizer never has this key, so it cannot hand it to the app: you add it to the phone once.
A key is not tied to a device. One key for all devices works, and so does one key per device. The phone keeps the keys of a workspace together. When the app connects to a device for the first time, it tries them one after another and remembers the one that fits. A key that does not fit only makes the device answer that the key is wrong: the device learns nothing about it. With several keys, the first connection to a new device takes a few seconds longer.
Account › Keys › Add a key has three ways:
- QR code: Credentials → Generate a shared key in the web app shows the key as a QR code. Scan it right away or later. For a key that already exists, print the code in a terminal (below).
- Key text: point the camera at the key on a screen or on paper and tap Read the key. The text is recognised on the phone (on Android by Google ML Kit, from Google Play services; on iPhone by Apple's Vision), and the photo is deleted right after. Keys made since November 2026 contain only capital letters and digits that cannot be mixed up (no I, O, 0 or 1), and the app reads them in capitals, so case mix-ups like
Wandwdo not matter. Older keys use all 64 characters; for them, compare what the app read with the original (l,Iand1, orOand0) and correct it on the same screen, or generate a new key. - Paste: the key, or any text with the key in it.
A new phone
- By itself: when you set up the new phone with Android's transfer from the old one, or restore it from your Google backup, the keys come along. Sign in with the same account, and the app adds them. Android encrypts that backup with your screen lock, so neither Google nor Connectivitizer can read it; without a screen lock it does not back the keys up at all. Account › Move with your phone turns this off.
- By hand: Account › Export keys makes one line of text, encrypted with a password you choose. Send it to yourself, then on the other phone, signed in with the same account, Account › Import keys with the same password. Keys that phone already has stay as they are.
The keys on the phone belong to the account that added them. Another account signed in on the same phone sees only its own keys. Signing out, or being signed out because the app was not opened for a month or the session was ended elsewhere, leaves the keys on the phone and in its backup; sign in again and they are there. To take keys off the phone, remove them under Account › Keys.
Show a key as a QR code in the terminal
With cz, a key it holds (cz key new or cz key add) is drawn as a code, never as text:
cz key qr <name>--plain draws it without colour codes, --svg key.svg writes an SVG file instead (--open also opens it). Without cz:
qr.mjs is one Node.js file (Node 18 or later) without packages. It prints the code dark on light, so it scans from any terminal:
curl -fsSLO https://connectivitizer.com/downloads/tools/qr.mjs
node qr.mjs czs_…--plain prints without colour codes (for terminals that show them as text), and --svg key.svg writes an SVG file instead (--open also opens it in the default image viewer). --from secrets.json takes the key from a file (any format: JSON, .env, source code) instead of the command line and prints only its last four characters; the placeholder czs_… is refused. With Python, pip install qrcode and then qr "czs_…" do the same, but only where adding a package is fine.
With an AI coding assistant: the assistant does not need to see the key either. Once the shared key is in your project's git-ignored secrets file, let the assistant run the script above, not a QR encoder of its own (easy to get subtly wrong) and not a package it installs. The script reads the key from the file and opens the code as an image, so the key never passes through the conversation:
node qr.mjs --from <secrets file> --svg <git-ignored folder>/key-qr.svg --openThe assistant should not read the secrets file, put the key on the command line, or print the code into its output: a QR code in its output is the key in readable form. If you want the code in the terminal, run node qr.mjs --from <secrets file> in a terminal window of your own, not through the assistant, and not as a command passed into its session (such as a ! command), whose output reaches it too. Delete the SVG once the key is scanned. An instruction to paste into the assistant:
Show my Connectivitizer shared key as a QR code so I can scan it with the app. Download https://connectivitizer.com/downloads/tools/qr.mjs and run
node qr.mjs --from <secrets file> --svg key-qr.svg --openin a git-ignored folder. Do not read the key, install packages or write your own encoder, and delete the image after I have scanned it.
A shared key is a secret: whoever has it can pose as the device towards the app, or as the app towards the device. Show the code on your own screen only, and do not paste the key into chats or cloud tools.
When something does not work
| The app says | |
|---|---|
| "None of the … keys on this phone fits", "The key on this phone does not fit" | Add the key you gave this device. If you read the key from its text, a character may have been misread: remove it (Account › Keys) and scan its QR code or paste it instead. |
| "The device has no shared key" | Give the device a key (the device guides), then put the same key on the phone. |
| "This app may not reach the device" | Clients allowed to connect on the device's page in the web app excludes the client Connectivitizer, or the app's access rules (Credentials) do not include the device. |
| "The session was not allowed what the app asked for" | The app asked for a service the session was not opened for, or for a path the service's path policy does not allow. Open the device again; if it keeps happening, check the service's settings on the device's page. |
The page itself (no screen, an empty screen, buttons that do nothing): Device screens, "When something does not work".