The web app
The web app reaches the sessions on your own machines from your phone or another computer: follow a session, answer a question, approve a command. The agent keeps running on your machine; the web app is a window onto it, over an end-to-end encrypted connection.
A machine shows up here once remote control is on there (matter remote enable): see
Remote control for turning it on, what the relay can and can't see, and revoking a
device.
Sign in
Open app.matter-engine.com and sign in with your Matter Engine email and password. It lists your machines, each with Connect. Below them, “This browser's name on your machines” is the name it pairs under; change it before pairing if you like.
In a browser tab, closing the tab signs you out. The installed app (below) stays signed in until you sign out or the device is revoked.
Pairing a machine
The first time a browser connects to a machine, the machine has to approve it:
- Choose Connect on the machine. The page shows a few words and asks whether your machine shows the same ones, in a “New device request”.
- On the machine, run
matter remote approve, or answer the request in the desktop app's inbox. It shows the device's name and the words, and asks whether they match the ones on the device; answer yes only if they do. (Without a terminal, pass the words the device shows:matter remote approve --words "...". With several devices waiting, it lists them; pick one with--id.--denyrefuses it.) - On the page, choose Match only if the machine shows a “New device request” with the same words. If it shows no request, or different words, choose Doesn't match: something other than your machine answered.
The device is paired only when both sides said yes: the machine's user approved it, and the device's user saw the same words on both. That is what the words protect. The page learns the machine's key from the relay. A relay (or anyone in the middle) could answer a pairing under its own key, but it can't make your machine show the same words, so checking them on both screens stops it. Skipping the check leaves that open.
Using it
Once connected, the bar at the top has two menus:
- The machine's name: your paired machines, this one marked and offline ones said, to switch to in one tap; then Connect… for the full list. With unsent text in the message box it asks first (Stay or Switch anyway).
- Your avatar, the account menu: who you're signed in as and the connection, then Enable or Disable Push Notifications, Account (your account page) and Sign out.
On a computer it looks like the desktop app: sessions in a sidebar, tabs, the inbox on the right, the palette on Ctrl+K. On a phone it shows one pane at a time, with a bar at the bottom:
- Sessions: your sessions by project (it opens here), each saying when it was last active. Tap one to open it; same-name sessions share one row with a count, and its arrow lists them all. With a GPU provider connected on the machine, Projects and GPU tabs: the GPU tab lists your instances.
- Chat: the open session.
- Inbox: questions, approvals, finished work and errors, to answer from here.
- Playbooks and Desk (messages and calendars).
On a touch screen a key bar adds Esc, Tab, Ctrl and the arrows. To rename a session, long-press its tab or its row; type the title and tap Rename.
As a phone app
The web app installs on your phone: "Install app" in Android's Chrome, or Share, then "Add to Home Screen" on iOS 16.4 or later. It opens offline from its cache, and the machine list comes back once you're online.
Notifications
The first time you connect to a machine, the page asks once whether to get notified; later, use Enable Push Notifications in the account menu. When something on the machine waits for an answer this device can give, the machine itself sends the notification through your browser's push service (Google's, Mozilla's, Apple's or Microsoft's), encrypted to your device and saying only which machine: "Something on laptop is waiting for you." Nothing about the session goes in it. On iPhone this needs the app on the home screen: until it is, the menu says so (“Share, then Add to Home Screen, and open it from there”). A browser holds one subscription, so notifications come from the last machine you turned them on for.
What a device can do
By default a paired device can use sessions, the inbox and approvals. Two things are off until you say yes on the machine:
- Shell access: shell tabs,
!commands and terminal input (matter remote enable --allow-shell). This is your full access to that machine: allow it only for devices you'd trust with your account. - GPU instances: starting or changing them, which costs money (
matter remote enable --allow-instances).
Without them, the page says what's off and which option turns it on. The machine's gateway, target, telemetry and window lock can only be changed on the machine itself (from a device the lock can only be shortened).
When it won't connect
- “… hasn't approved this browser yet”: approve it on the machine (the inbox, or
matter remote approve), then Connect again. - “… is online but won't take this browser's connection”: the machine probably revoked this browser. Use Forget … and pair again on the machine list.
- “…'s key has changed since this browser paired with it”: the page won't connect or pair again by itself. That is expected only after reinstalling Matter or setting up remote control again on that machine; if so, Forget and pair again, with the words checked again. Otherwise go Back. A connection that fails keeps the key.
- Offline: the page says your machines can't be reached until the connection is back.