Mesh and your devices

Desktop Vaults

A desktop Vault is a Mac or a Linux box that keeps a copy of your vault and stays on. You can have as many as you like. Each one is reached over the mesh, by its web address, or both, and each gets its own sync and its own status. There is no "main" one any more. Desktop Vaults replaces the old one-address Desktop vault sync page.

Open Desktop Vaults

  • iPhone and iPad: Settings → Your Vault → Desktop Vaults, or Settings → Your Devices → Advanced → Desktop Vaults.
  • Android: Desktop Vaults on your Vault page (it shows how many you have), or Settings → Your Devices → Advanced → Desktop Vaults.
  • Mac: the Mac is a desktop Vault itself, so it has no list. Its own page is Settings → Public on the web (below).
  • Linux box: also a desktop Vault itself. Its page has My Devices and Public on the web (below).

Add a desktop Vault

Tap Add a desktop Vault. A Vault needs at least one way in:

  • Over the Mesh: Pair a new desktop over the Mesh starts the two scans (Link a device), or pick a desktop you already paired under Paired desktop. A desktop you pair joins your Vaults by itself.
  • Web address: type its https:// address.
  • Both. Then the mesh comes first and the web address is the fallback.

An address or a desktop that is already one of your Vaults is refused, so each one is listed once. When a paired Mac tells your phone the web address it serves, and that matches a Vault you typed, the two become one Vault.

What goes over which path

Each Vault's row says how it's reached: Mesh only, Web only or Mesh and web, with its address.

Mesh onlyWeb onlyMesh and web
Public posts, reactions, lists, profilemeshwebmesh first, web as fallback
Photos and files in public postsmeshwebeither
Direct messages and their filesmeshwebmesh first, web as fallback
Drafts, private notes, chats, settings, accounts, private filesmeshnevermesh only
  • A web-only Vault says so: "Holds your public posts, photos and messages. Drafts and private files need Mesh."
  • Direct messages may go over the web, like on any Nostr app: they are encrypted end to end before they leave your phone. See Messages.
  • The mesh never uses your Nostr key. Your devices use their own mesh keys (more).
  • Every Vault catches up on its own. When your phone hands a new post to a Vault to send for you, it picks the first Vault in your list that answers over the mesh.

Several Vaults, and their order

The list's order is the order your Vaults go into your public lists. On iPhone and iPad, drag a Vault to move it; on Android, use the up and down arrows. The first Vault comes first in your public lists, and other apps upload your media to the first media server. Moving a Vault republishes only the lists whose Vault entries change order.

  • Turning a list switch on puts this Vault after your other Vaults and before your own entries. It never moves an entry that is already there.
  • Two Vaults can both be public on the web. Nothing asks you to move it from one to the other, and nothing turns itself off.
  • Other apps may only use the first few: about 4 relays and 3 DM inboxes. The Vaults stay in your order, so you choose which come first.

Listed publicly

Open a Vault to see its name, kind, How it's reached, its Last copy, and Listed publicly. These switches put the Vault's web address in your public lists, so other apps can reach it:

  • Your relays: others read your posts here (your relay list).
  • DM inbox: others send you messages here.
  • Media servers: others load and upload your media here.
  • Media over the Mesh Beta: below.

The switches are read from the lists you published, so every device shows the same thing. Each tap fetches your newest list, changes only this Vault's entry, and publishes it. If your lists can't be loaded, nothing is published and the switch goes back.

  • A bare IP address can't be listed, because it would make your home address public. Use a domain name. The Vault still syncs over that address.
  • A switch that would leave a list empty is refused: add another relay or media server first.
  • To change a Vault's web address, turn its list switches off first.
  • On Settings → Relays and Media Servers, Vault entries show under From your desktop Vaults, and Media Servers lists each web Vault under Added for You: uploads also go to each of them. They're read only there: tap one to open its Vault's page and change it there. Saving those pages keeps them as they are.

Media over the Mesh (Beta)

Media over the Mesh lists the Vault's mesh address on your media servers, after the web ones. Apps that speak the mesh can load your media from it, and Auto-Mirror copies there over the mesh. It is off by default and marked Beta. What is this? (NIP-F1) opens NIP-F1, the draft it follows.

  • Your media server list always keeps at least one web server. A list of mesh entries only is refused.
  • A Mac that already listed its own mesh address before this update shows the switch on. Turn it off if you don't want it public.
  • Listing a Vault as a mesh relay is not offered yet.

Delete a Vault

Delete this Vault asks "Also take <name> out of your public lists?"

  • Yes, take it out (the default) removes its addresses from your relays, DM inbox and media servers, in every spelling, and nothing else.
  • No, leave my lists as they are leaves them there as ordinary entries.

This phone stops syncing with it. A paired desktop stays in Your Devices until you remove it there. You can unlist a Vault even while it is off.

Your Vault list on your other devices

Your list of Vaults (names, kinds, addresses and order) copies between your own devices over the mesh, with your other settings. It is never in a public post. Each Vault is merged on its own, so a Vault added on one phone and another edited on a second both survive, and a deleted one stays deleted. The copy carries up to 32 Vaults: past that, the first 32 in your order.

A copied Vault grants nothing. If this device isn't paired with that desktop, it doesn't sync with it over the mesh until you pair them here (Pair over the Mesh on the Vault's page). The copy never adds a device to your paired devices.

Rankings for the far rings

A desktop Vault ranks the people three, four and five hops out from you and sends the scores to your paired phones over the mesh. That is what unlocks Hop 3, Hop 4 and Hop 5 on the WoT globe.

  • A newly paired phone gets the far rings straight away: it asks the Vault for the scores alone, with no first copy of your vault needed. Pull in My Web asks every paired desktop, the ones on the mesh first.
  • A Mac ranks while Nostr Vault is open on it.
  • A Linux box ranks too, for the account it was set up with and each account signed in on it, and hands the scores only to the devices paired with it. Remove a device on the box and it gets no more. A box can't nudge your phone when it has new scores, so your phone picks them up at its hourly check or its next catch-up.

On a Mac or a Linux box

A Mac or a box is a Vault, so its page is about itself:

  • Mac: Settings → Public on the web. With your own domain and a tunnel, Make this vault public on the web puts this Mac in your relay list and DM inbox, after your other Vaults. Your other Macs can be public too. The same page has this Mac's Media over the Mesh switch, Beta and off by default. Mesh must be on with a device added first.
  • Linux box: the box's page has Public on the web with the same switch and the same rules, and My Devices, where you pair and remove your devices (A Linux box in My Devices).
  • When a Mac or a box applies the copied Vault list, it leaves itself out.

After the update

Your old setup becomes Vaults on its own, and nothing is republished:

  • A desktop vault you had by its mesh address becomes a Mesh only Vault.
  • One you had by web address becomes a web Vault. If a paired Mac serves that address, the two become one Mesh and web Vault.
  • Every other Mac you paired as Desktop vault · full history becomes a mesh Vault, after the first one.
  • The switches show exactly what your lists already say. Several Macs that were each public on the web stay that way.