The desktop and phone apps are coming soon.

Join the waitlist
On this page

Building a URI

In four chapters: the URI shopper://products/:productId?sort=price is typed, and 5412 is filled in for the path variable. It is sent to a Pixel 8 on USB; the phone opens the Shopper app on product 5412, and Diver answers: Sent to Pixel 8, opened. Sent to this computer instead, which has no app for the link, Diver answers: No app on this device can open that URI. Then the link files for shop.example.com are checked: apple-app-site-association is redirected, which Apple will not follow; assetlinks.json is served and claims the app.

Example: the desktop app, coming soon, drawn with made-up links. It sends to a phone on USB, which opens the link; then to a computer with no app for it; then the link file check. In the browser build today you build the same URI and send it to a device on your account.

The builder holds one URI two ways: as text, and as its parts. Edit either, and the other follows.

In one minute

  1. Type the URI, or fill in Scheme, Host, Port, Path and Fragment.
  2. Every :name in the path gets a field under Path variables.
  3. Query parameters each have a type, so the value fits what the app expects.
  4. The star keeps a URI in your favourites.

Text and fields#

Type or paste a URI into the field at the top (its placeholder reads scheme://host/path) and Diver splits it into fields; change a field and the URI is rewritten. The fields are Scheme, Host, Port, Path, Fragment, then Path variables and Query parameters. An empty value is left out of the URI.

Beside Send are Copy URI and Share URI, so a finished link can go into a ticket as it is.

Path variables#

A segment that starts with a colon, such as :productId in /products/:productId, is a path variable: a name of letters, digits and underscores. Each gets a field of its own under Path variables. Until it has a value, the URI keeps :productId as it is, and Send refuses with Fill in every path variable before sending.

Two more refusals keep a URI from going out half-made: Enter a URI before sending. and Add a scheme before opening the URI.

Query parameters#

Each parameter has a name, a type and a value. The type decides the control: a text field, a switch, a list of values or a choice. Query parameters has the four types.

Favourites#

The star beside the URI adds it to your favourites (Add to favorites), whether or not it has a scheme yet; press it again to remove it (Remove favorite). Favourites have no limit, one row per URI, kept on the device.

A template from your team#

Open a deep link template from your team's apps and the builder starts on it, locked to its shape: the URI field is read-only, names and types are fixed, and only the blanks are yours to fill. The padlock (Unlock all fields) frees every field; unlocking cannot be undone for that builder. On a phone the template opens in a builder of its own; in a wide window it opens in a new tab, marked Opened from a deeplink.

Environments#

An app has one or more environments, each with a custom scheme, an https link domain, or both. A template opened from one can switch environment and keep the values already typed. With both forms set, the same template is a custom-scheme link or an https link, and the template's host becomes the first path segment in the https form:

text
acme://product/42
https://links.acme.com/product/42

An https link only opens the app once the domain serves its link files: Link files.

Tabs#

In a window 720 pixels wide or more, the builder has tabs: each holds a URI of its own, and they come back when Diver is opened again. Closing the last tab empties it instead. The desktop app lists the keyboard shortcuts.