One receiver. Many networks.
AISMesh Relay reads your receiver, checks each sentence, drops the duplicates and sends the stream to AISMesh and to the networks you already feed, at the same time. A live dashboard shows what your antenna hears.
In, checked, out
Everything your receivers hear goes in on the left. Each sentence is checked once, then goes out to each destination in the form that destination wants.
USB and serial receivers such as the dAISy, UDP from AIS-catcher or rtl-ais, TCP as client or server. Several at once, merged into one clean stream.
Each sentence must pass its NMEA checksum. Parts of a multi part message travel together or not at all. Bad lines are counted, not forwarded.
Two receivers on the same coast hear the same vessel. The Relay forwards the first copy and drops the repeat that arrives within 5 seconds.
AISHub, MarineTraffic, VesselFinder, the AIS-catcher community and your own app get their streams at the same time, each with the address and port from your account with them.
AISMesh gets the full stream, never thinned. Each other output can be thinned on its own, for example to one position per vessel every 30 seconds; static and safety messages pass in full.
If your internet or AISMesh drops, the last 10 minutes wait on disk and go out in order when the line returns, even after a restart.
No token to copy. The Relay shows a short code, you confirm it on aismesh.com and the station links by itself. At launch.
Releases will be signed, checked before they install and rolled back by themselves if the new version fails to start. You can turn it off. At launch.
Install
One line on each platform. The installer sets the Relay up as a service that starts with the computer and runs as its own user, not as root. It finds receivers plugged in by USB, then asks for your station token or leaves linking to the dashboard. At the end it shows the dashboard password once.
curl -fsSL https://get.aismesh.com/relay | sh
Raspberry Pi OS (32 and 64 bit), Debian, Ubuntu and Fedora on x86_64 and ARM. The script shows what it will do and asks before it changes anything. Prefer to look first: download it, read it, then run it.
brew install aismesh/tap/relay brew services start relay
macOS 12 or later, Apple silicon and Intel. A signed package for people without Homebrew comes at the same time.
winget install AISMesh.Relay
Windows 10 and 11, 64 bit. Or a signed installer. The Relay runs as a Windows service and lists the COM port of your receiver in the setup.
docker network create aismesh docker run -d --name aismesh-relay --restart unless-stopped \ --network aismesh --device /dev/ttyACM0 \ -p 127.0.0.1:8080:8080 -p 10110:10110/udp \ -v aismesh-relay:/data -e AISMESH_TOKEN=TOKEN \ aismesh/relay
One image for amd64, arm64 and armv7. Leave out --device if your receiver sends over the network. The dashboard is published on this computer only; its password is printed once in the log (docker logs aismesh-relay). The token stays in the container setting and is not written to the file. Containers in the same network, such as docker-shipfeeder, reach the Relay as aismesh-relay:10110.
Configure
Set it up from the dashboard, or in one plain text file. Both write the same file. You can switch between them.
# AISMesh Relay settings station_token = "TOKEN" # inputs: as many as you have [[input]] type = "serial" device = "/dev/ttyACM0" # COM3 on Windows baud = 38400 [[input]] type = "udp" listen = ":10110" # point AIS-catcher here [[input]] type = "tcp" connect = "receiver.local:5631" # outputs: all receive at the same time [[output]] name = "AISMesh" # the full stream, never thinned type = "aismesh" [[output]] name = "AISHub" type = "udp" to = "HOST:PORT" # from your AISHub account downsample = "30s" # optional, positions only [[output]] name = "My plotter" type = "tcp-server" listen = ":5631"
Inputs
| Type | Settings | For |
|---|---|---|
serial | device, baud (38 400 for most AIS receivers) | dAISy, USB and serial receivers, a transponder's pilot port |
udp | listen address and port | AIS-catcher, rtl-ais, OpenCPN, kplex |
tcp | connect to a source, or listen for one | Network receivers, multiplexers, another Relay |
Outputs
| Type | Settings | For |
|---|---|---|
aismesh | uses station_token; HTTPS batches with a reply per batch. UDP to AISMesh is off (udp = "off") until the shared intake opens | AISMesh, the full stream |
udp | to, optional downsample and types | AISHub, MarineTraffic, VesselFinder, the AIS-catcher community, your own app |
tcp | connect, optional downsample and types | Networks and apps that take TCP |
tcp-server | listen | OpenCPN and plotters on your own network |
Settings
| Setting | Default | What it does |
|---|---|---|
dedup_window | 5s | A sentence seen again within this time is dropped. |
downsample | off | Per output, never for AISMesh. One position per vessel per period; static and safety messages pass in full. |
dashboard | local | local (this computer only), lan (your home network) or off. Both need the password. |
latitude, longitude | none | Your antenna position, for range and farthest today on the dashboard. Stays on your computer. |
auto_update | true | Signed updates, rolled back if they fail. Waits for the first release at launch. |
The local dashboard
Open http://localhost:8080 on the computer that runs the Relay and sign in with the password made for your install. It shows what your antenna hears right now and links to your AISMesh station page. It answers on this computer only until you open it to your home network in Settings.
Sign in with AISMesh

No token to copy. When the Relay has no token yet, the dashboard offers Sign in with AISMesh:
- The Relay shows a short code.
- You sign in on aismesh.com and confirm the code.
- The station links by itself and the stream starts.
At launch
Safe by default
- No default password. The dashboard asks for a password made at random for your install and shown once, on this computer and on your network alike. It answers on this computer only until you open it to your home network in Settings.
- Not root. It runs as its own user with access to the serial port and nothing else.
- Signed updates. Releases will be signed and checked before they install. At launch.
- Your token stays local. It is kept in the settings file, readable by the Relay's user only, never shown on the dashboard and sent only to AISMesh.
- Outages. Up to 10 minutes of batches wait on disk and go out in order when AISMesh answers again.
- Light. Light enough for a Raspberry Pi; measured figures at launch.
Questions
Do I need the Relay to feed AISMesh?
Not with AIS-catcher: it sends straight to AISMesh over HTTPS with your token; see Get started. Programs that only send plain UDP (docker-shipfeeder, AIS Dispatcher, OpenCPN, kplex) go through the Relay, because plain UDP cannot carry your token. The Relay also helps when you feed several networks or run more than one receiver.
I already run AIS Dispatcher. Why change?
You do not have to. If you change, the Relay does the same work with an install on five platforms, no default password, per output thinning, an outage buffer and a live dashboard of your own coverage.
Will my other networks still get my data?
Yes, at the same time. Enter the address and port each network gave you. AISMesh asks for no exclusivity.
Does the Relay decode radio itself?
No. It takes NMEA sentences from a receiver or a decoder. For an RTL-SDR dongle, run AIS-catcher and point its UDP output at the Relay.
When can I download it?
When the network opens. Until then, nothing on this page installs anything.