Sharing and organizations

Relay

Relay keeps a workspace in step across your devices. Each device keeps its own full copy, and changes travel between them. Choose how in Settings › Relay. The choice belongs to this computer and to the workspace that's open, so each workspace can have its own.

The three choices

  • This device only. No relay needed: the default. Nothing leaves this computer.
  • Local network server on this device: Nocturnal runs its own Relay while the app is open. It finds your other devices on the same network and syncs with the ones you pair. There's nothing to set up.
  • Hosted by Wayfarers (always on): a Relay that's always reachable, even when your other devices are off. Coming later, with a subscription.

The first time the local network server starts, Windows may ask whether Nocturnal can use your network. Allow it on private networks (home or work), not public ones.

Pairing two devices

Both devices need the same workspace, both set to Local network server on this device. A computer without the workspace joins it instead (below).

  1. On one device, select Pair a device. A code like 7KQ2-M9XD-4HTA appears for five minutes.
  2. On the other, select Enter a code, pick the device from the list (or type its network address, such as 192.168.1.20), type the code, and select Pair.

A code works once. After five wrong tries it stops working; show a new one.

Paired devices are listed as Connected, or with when they last synced. Eject stops one syncing with this computer for good: the next time it connects it's told so, over the encrypted connection, and a computer that joined this one removes the shared Spaces it holds (its own work stays). Until it connects, it's listed as ejected, with Forget now to drop it without telling it. On a computer that joined another, Remove forgets the other computer here.

How many computers

A workspace shares with up to five other computers. An organization license (Settings › About) raises that to the number it covers. The Relay page shows how many are paired, like 3 of 5 computers; once it's full, pairing and joining wait until there's room.

If an organization's license lapses, nothing is deleted: the first five computers paired keep syncing, and the rest show Waiting until it's renewed.

Joining from another computer

A computer that doesn't have the workspace can join it without copying anything over first. It gets its own copy holding the Spaces the other computer shares.

  1. On the computer with the workspace, set Local network server on this device and turn on at least one Space under Shared Spaces. Until one is shared, the workspace takes no new computers: it isn't listed, and a joining computer is told it shares no Spaces yet.
  2. Select Pair a device. While its code shows, other computers on the network list it by the computer's name (This device on the same page).
  3. On the joining computer, choose Join a workspace on this network… from the workspace menu at the top of the sidebar (or in Settings › Relay). Pick the computer from the list, or choose Another address and type its network address, then type the code and select Join. A computer serving more than one workspace gives each its own port, shown as Listening on port … under the choice; type the address with that port, like 192.168.1.20:47471.
  4. Nocturnal makes the new workspace, syncs it, asks who's using this computer, and opens it. It appears in the workspace menu, named after the other computer's workspace.

The code works once, for joining or pairing, with the same five tries. Once it's used, canceled or expired, the computer stops showing up in the list.

Who sees which Space

On the computer the others joined, Settings › Relay lists the workspace's Spaces under Shared Spaces. A Space that's off stays on that computer. A Space that's on goes to Everyone who joined, or only to the people you choose with the button beside its switch: a household can share a Financials Space between two people and keep each person's own Space to themselves.

Under Who uses each computer, name the person on each computer that joined. A computer gets the Spaces shared with everyone and the ones shared with its person; one with no one named gets only the Spaces shared with everyone, and can't change them: this computer refuses what it sends there until you name its person, since who it says is using it isn't proof. Its own Spaces it shares through this one still sync. A computer with no one named says so under Paired devices, with how many of its changes wait, and the Sync row counts such computers; Name takes you to its choice under Who uses each computer. Once you name someone, it sends those changes again, and they're checked against that person's role. Leaving someone out, or turning a Space off, removes it from their computer on its next sync and leaves it here.

What each person may do in what they get is their role, set in Settings › Permissions on this computer (Member unless you choose another; see Permissions). This computer checks every change the others send against their person's role and refuses what it doesn't allow (noc sync status counts what was refused). A List or Doc their role can't see never reaches their computer.

Refused changes

A change can be made on a computer that joined while its person's role still allowed it, and arrive after the role changed. The computer they joined refuses it and tells their computer which changes it refused and why, on the next sync. There, Settings › Relay lists them under Refused changes, and the Sync row counts them:

  • Undo puts the row back as the computer they joined has it: a task renamed there gets its old name, a task deleted there comes back with its comments, a page gets that computer's text (the text written here stays in the page's history on this computer). Something made there that the other computer never had is taken away.
  • Deleting a task deletes its subtasks and checklists with it, and each shows as its own refused change. Undo on the task brings back the ones refused along with it too: its subtasks, their checklists and items, links and so on. The same goes for a task made here: undoing it takes away its refused subtasks with it.
  • Dismiss keeps the change on this computer as it is and stops showing it. The other computer still doesn't have it.
  • Undo all and Dismiss all do the same for every one.
  • Moving a shared task into one of your own Spaces keeps it shared: the other computers leave it where it was, and it shows here as Still shared, with a notification on the task. Put back moves it back where the other computers have it. Keep here leaves it in your Space on this computer only; changes to the task and its subtasks then stay on this computer, and the next one shows here again. Comments on it still reach the other computers.

Either way the computer they joined is told on the next sync and stops listing them. If the same thing is refused again later, it shows again. noc sync refused, noc sync undo and noc sync dismiss do the same from the command line, and AI agents have the same as tools. A computer with an older Nocturnal is never sent the list; it only has the count on the computer it joined.

Spaces made on a computer that joined stay on that computer until you share them from there: Settings › Relay on that computer lists them under Your Spaces, with the same switch and choice of people. Only that computer changes who gets them. The computer you joined keeps a copy of each one you share, so whoever uses it can open them. Turning one off removes it from every other computer, that one included, and leaves yours as it is.

Backups of your Spaces

On a computer that joined, Back up your Spaces (Settings › Relay) keeps an encrypted backup of the Spaces made there and not shared on the computer it joined. That computer can't read it: only your recovery key opens it. Turning backups on shows the recovery key once; write it down or keep it in a password manager, and type back the group it asks for. A new backup is made when something in those Spaces changes, at most every 10 minutes, attached files included up to 256 MB.

To get your Spaces back on a new or replaced computer, join the workspace from it, and on the computer you joined, name you as the person using it (Who uses each computer). Your backups then show under Backup from another computer: select Get it, then Restore…, and type your recovery key. The Spaces come back as that computer's own, and backups go on from there with the same recovery key.

Turning backups off deletes the copy on the other computer on the next sync.

Each person keeps their Spaces private on their own computer, or in their own Windows account on a shared one: anyone signed in to Windows as you can open your copy of the workspace.

Enrollment tokens (organizations)

With an organization license, computers can join without a code, so many can be set up at once.

  • On the organization's base, Settings › Relay › New token… makes a token with a name, an expiry (a day, a week, 30 days or never) and how many computers may join with it. Copy it into your device management, or send it to the people setting up. Copy gets it again later.
  • On a joining computer, Join a workspace on this network… › Have an enrollment token?, paste it and select Join. The token says where the base is; type an address only if the base has moved since.
  • The list shows how many computers used each token. Revoke stops one working; computers that already joined stay.

A token holds a secret, so treat it like a password. Tokens work only while the license does, and never past the license's number of computers.

More than one workspace

Every workspace on this computer that's set to Local network server on this device is served while Nocturnal runs, whichever workspace is open, and while the window is closed to the notification area. Each listens on its own port: the first on 47470, and the others on the next free port, which other devices find on the network.

When devices sync

Every few minutes, and a few seconds after you change something, while syncing is on. Sync now syncs straight away. Turn syncing off to pause it without unpairing.

Attached files travel too, after the changes: pictures in pages, files on tasks and comments. A computer that joined gets only the files in the Spaces shared with it. Both devices need the same version of Nocturnal. When they differ, the error says which computer to update; they never fall back to an older way of connecting.

Changes made on two devices

Devices can be changed while apart; syncing keeps both sets of changes.

  • Tasks, Lists and other items: each field takes its latest change, so edits to different fields both stay. Deleting something wins over an edit made to it elsewhere.
  • Doc pages: edits merge. Changes to different paragraphs both stay, and text typed into one paragraph on both devices is kept from both. A paragraph deleted on one device stays deleted even if the other device edited it. A block moved, or changed into a heading or a list item, on one device keeps what was done inside it on the other: typing and deleting, bold and other formatting, a box checked or a heading's level, mentions added or removed. When both devices change the same setting of a block, the later change wins. A block moved on both devices ends up in one of the two places, the same on every device.
  • Page history keeps a device's text from just before a sync changed it (saved by Relay), so anything a merge dropped can be put back from there.

Options

Port is where the server listens (47470 unless changed). Change it only if another program uses that port; other devices then find this one at the new port.

Privacy and security

Everything sent between devices is encrypted with a key only your paired devices hold. Pairing uses the one-time code to agree on that key; the code itself never travels. Every connection also makes a new key of its own that's thrown away when it ends, so someone who recorded your network traffic can't read it later, even if they get hold of a paired device's key or the code. Keys are kept in Windows Credential Manager, never in the workspace or settings files. Devices announce themselves on the network with a scrambled workspace identifier and a port only. While a pairing code shows, the announcement also carries the device's name, so a joining computer can list it; never any content. What a joining computer learns about the workspace (its name, the shared Spaces and the people) is sent only after the code is proved, encrypted.

If the workspace is encrypted on disk (Settings › Security), a computer that joins encrypts its copy too, with its own key. Joining shows that copy's recovery key once and asks you to type part of it back; keep it somewhere safe, like the first one.