Uplink Docs Get Uplink
Privacy and settings

Routes

How messages travel between Uplink apps: the relay, your own relay, Direct, the local network, LoRa radio, texts, and testing them.

Between Uplink apps (friends, groups, encrypted texts), messages can travel more than one way. Settings › Routes shows the ways your phone reaches others, tried from the top: one that fails or gets no answer gives way to the next.

Routes
Routes
Relay serverThrough a server on the internet. The server sees who talks to whom, never what is said.
SMSAs data texts over the phone network. Each counts as a text on your plan.

The ways this phone reaches another, tried from the top.

People you can reach
MCMaya ChenLast by the relay server

Press one to send a test and see which route carries it.

Settings › Routes on the phone.

The relay server

Uplink's relay server (at gogho.st) passes sealed packets between apps: friends, circles, spaces and calls' setup. It can't read them; it sees only which installs are talking, as any server would. It's also where your username, your sealed account backup and a circle's sealed files are kept.

Your own relay server

Anyone can run the relay on a server of their own and use it in place of ours. Under Settings › Routes › Relay server, type its address (relay.example.com is enough) and press Check it and use it. Nothing changes unless an Uplink relay answers there; when one does, the app tells you what moving means and switches only when you say so. The section always shows which relay is in use, and Go back to Uplink's relay switches back in one press. Running the server itself is on Run your own relay.

Routes
Relay server
Your own relay: relay.example.comIn use · connected
Passes messages to other relaysA friend on another relay, added as @name@their.relay, is reached through this one.
Go back to Uplink's relaygogho.st, where everyone else is.
Check it and use itNothing changes unless an Uplink relay answers there.

Relays can pass messages to each other. Add a friend on another relay as @name@their.relay. Everything else is still kept on each relay apart.

Settings › Routes on a relay of your own.

Friends on another relay

Relays can pass sealed messages to each other, so a friend doesn't have to use the same relay as you. Each of you goes on using your own, and the two relays hand each other what you write. Neither can read it.

To add someone on another relay, open Contacts, tap Add a friend, and type their username with their relay after it: @maya@relay.example. Nobody is asked while you type: their relay is asked when you tap Add, through yours where it talks to theirs. They are kept, and shown, under that name, and their card says which relay they are on.

Add a friend
Mmaya@relay.exampleOn relay.example: Add asks that relayAdd
Adding someone on another relay.

Whether a relay talks to others is up to whoever runs it, and it is off until they switch it on. Settings › Routes says which yours is: Passes messages to other relays, or Doesn't pass messages to other relays. It takes both relays: where yours doesn't, the app asks their relay itself (as nobody: not as you), tells you the request can't be passed on yet, and sends it again by itself for two weeks. Where yours says theirs won't take messages from it, that is the answer.

How to run one (Docker, or systemd behind Caddy or nginx, with coturn for calls) is on its own page: Run your own relay. The sample files are in the repository, in relay/deploy/.

Direct

A second way between Uplink apps, tried after the relay server: straight from one device to another. The relay stays first, because it is fast and keeps a message for someone who is away. The direct route is the way through when the relay can't carry something, for instance when it can't be reached, and the way your app checks what the relay says (below).

It starts off. Switch it on under Settings › Routes on an Android phone or a computer (the Mac, Windows or Linux); it isn't in the iPhone app or the browser yet. Until you switch it on, none of it runs on your device. Before you do, Settings says what it means.

Your device links only with your own other devices and with your friends' devices. They are told where it is in sealed messages; nobody else is, and nothing is put in any public directory. What crosses a direct link is sealed exactly as it is through the relay.

Routes
Routes
Relay serverThrough a server on the internet. The server sees who talks to whom, never what is said.
DirectOff. Straight between your devices and your friends', for when the relay server can't carry something. Their devices learn this device's network address, and nobody else is told it.
SMSAs data texts over the phone network. Each counts as a text on your plan.

The ways this phone reaches another, tried from the top.

Direct
Only through link helpersFriends' devices then see the link helper's address and not this device's. It is slower.

A link helper sees which devices link and how much they send, never who they are or what is said.

Settings › Routes, before Direct is switched on.
Routes
Direct
Knows 3 friends' devicesAnd 1 other device of your own.
Linked to 1 device now1 straight.
Only through link helpersFriends' devices then see the link helper's address and not this device's. It is slower.

A link helper sees which devices link and how much they send, never who they are or what is said.

Settings › Routes, with Direct switched on.

Local network

A third way between Uplink apps: straight between devices on the same Wi-Fi or wired network, with no server and no internet at all. It comes after the relay server and Direct, as the way through when neither can carry something, and by itself it keeps you talking where there is a network and no internet: a cabin, a plane's Wi-Fi with nothing behind it, an office whose line is down.

It starts off. Switch it on under Settings › Routes on an Android phone or a computer (the Mac, Windows or Linux); it isn't in the iPhone app or the browser. The first time, a Mac asks whether Uplink may find devices on your local network, and Windows asks whether it may be reached on private networks: say yes, or the route stays down and Settings says so.

Routes
Routes
Relay serverThrough a server on the internet. The server sees who talks to whom, never what is said.
Local networkReady. Straight between your devices and your friends' while they are on the same Wi-Fi or wired network as this one, with no server and no internet.
SMSAs data texts over the phone network. Each counts as a text on your plan.

The ways this phone reaches another, tried from the top.

Local network
Found 2 devices on this networkYour own devices and your friends', while they have Uplink open on the same network with this route switched on.
Linked to 2 devices nowMaya Chen at 192.168.1.20. Your other devices at 192.168.1.14.

Anyone else on the network sees that a copy of the app is at this address, never who you are.

Settings › Routes, with the local network switched on.

LoRa radio

A fourth way between Uplink apps: by radio, through a small LoRa board running Meshtastic, with no internet and no phone signal. Two boards reach each other a few kilometres apart in the open, and further where other Meshtastic boards are about, since every board passes packets on. It is slow and the air is shared, so it comes last: it carries what no other route reaches.

What you need: a Meshtastic board for each of you, such as a Heltec WiFi LoRa 32 (V2 or V3), set to your country's region and to the same channel. Meshtastic's own flasher and app set a board up.

  1. Plug the board into your Android phone

    Use a USB cable (USB-C to USB-C, or an OTG adapter). Android offers to open Uplink for it. Tick Always and Uplink can use the board from then on without asking. With Uplink already open, it takes the board as soon as you plug it in.
  2. Uplink switches LoRa on by itself

    The LoRa route turns on and uses the board, and Uplink looks for your friends on the mesh: it says a short, sealed hello to the friends you were most recently in touch with. Each one whose board and app hear it answers.
  3. See who's on the mesh

    Under Settings › Routes › LoRa board are the friends heard on the mesh, each with their board. When nothing else reaches one of them, what you write goes to them by radio.
Routes
Routes
Relay serverThrough a server on the internet. The server sees who talks to whom, never what is said.
SMSAs data texts over the phone network. Each counts as a text on your plan.
LoRaReady. By radio, through a Meshtastic board. Needs no internet or phone signal. Slow, so only small things go this way.
LoRa boardusb
Maya Chen!bd4fb508

The ways this phone reaches another, tried from the top.

Settings › Routes, with a LoRa board plugged into the phone.

On a computer (a Mac or Linux), plug the board in by USB and pick its port under Settings › Routes › LoRa board (it lists the ports it finds, like /dev/cu.usbserial-0001), then press Use this board. A board on your Wi-Fi works from any device: type its address (192.168.1.20, or Meshtastic.local) instead.

Routes
Routes
LoRa boardNone. Name where your Meshtastic board is to send by radio when nothing else reaches.
/dev/cu.usbserial-0001
Use this board
Choosing the board on a Mac.

How the relay is checked

The relay is fast and keeps messages for people who are away, so it comes first. Your app also checks what it says, so a relay that drops something, keeps it back, or gives someone's username to another key doesn't go unnoticed.

Routes
Checking the relay
Last checked 5 min ago, with 3 devicesOf Uplink's relay (gogho.st), over direct links with your friends' devices.
212 messages matched this week1 came straight after the relay didn't bring it.
Maya's device says the relay passed on a message to you, and it never came by the relay21 Nov
Check nowDials the friends the relay says are here, and compares.
Asks the relay about 4 friends' usernames each dayLast asked 2 h ago.

What is compared is which messages went and came, and when: never their words.

Settings › Routes, Checking the relay, in a build with Direct.

Without Direct, the relay is checked by the username lookups alone, and Settings › Routes says so. Check now dials the friends the relay says are online, once a minute at most; with no direct link in use, a few are checked by themselves while the app is open.

SMS as a route

When the relay can't be reached, a message to a friend can go as a data text over the phone network instead: still sealed, needing no internet, and reaching a phone whose app is closed. Each one counts as a text on your plan, so only small messages go this way.

Which route each conversation is on

Settings › Routes lists each conversation with someone the routes reach, the one used last first, with the route that last carried something to them, the one that last brought something from them, and when. A group of friends goes person by person, because each of its people is reached by a route of their own: one may be on the relay server while another, sitting beside you, is on the local network.

Routes
Which route each conversation is on
Maya ChenLast sent by Local network, 2 min ago; last came by Local network, 1 min ago.
WeekendMaya by Local network, Sam by Relay server; nothing lately to or from 1 other.
Sam OkaforLast sent by Relay server, 3 h ago; last came by Relay server, 2 days ago.

Circles and spaces always go by the relay server they were made on, and texts by the phone's carrier. Kept on this device only, out of any backup, for a week, and deleted when you sign out.

Settings › Routes, Which route each conversation is on.

The list is kept on your device from one time you open the app to the next, for a week, in a file that no backup takes, and it is deleted when you sign out. It holds which route and when, never anything that was said. A circle or a space is a room on its relay, so it always goes by the relay server; texts go by the phone's carrier.

Test a route

Under People you can reach, press someone and choose Send a test, By the relay server only, By a direct link only, By the local network only (each where that route is on), or By SMS only (one text on your plan). Lately shows how recent messages went.

Invite someone by text

Invite someone by text opens a new chat with an invitation written. Choose who, change the words if you like, and send it as any text. Once they have the app and you text each other, it offers to turn encryption on between you.

Something wrong or missing here? Tell us in the Alpha testers circle, or at the app's GitHub.