Under construction. We are still working on this page. Details may change.
Open source
How the Elemental Hub and the Elemental Uplink work.
You can buy both in our shop: built, tested, and with updates and support. But everything we make is open source. This page lists what is inside, part by part, so you can check it, repair it or build one yourself.
The hardware is standard parts that anyone can buy. The software is open source, most of it made by others and public today. Our own code is being published, see the source below.
Elemental Hub
What it does
The Hub is a small computer that sends out its own Wi-Fi network. You connect a phone, tablet or laptop to that network and open the web app in the browser. Messages, files and maps are stored on the Hub itself, so it keeps working without internet or mobile coverage.
Hubs that belong to the same network copy each other's data whenever they have a connection. A Hub that was offline catches up by itself once it is reachable again.
Hardware
Raspberry Pi 5, 8 GB. The computer. Its built-in Wi-Fi is the access point, its network port takes the cable to an Uplink or an existing network.
microSD card, 128 GB. The storage: the system, the web app and all your data.
Aluminium case. Protects the board and cools it.
USB-C power supply, 27 W. The official Raspberry Pi one.
Wi-Fi network.NetworkManager runs the access point and hands out addresses. nginx answers on the Hub's local name and passes requests to the web app.
The web app. Our own code, written in PHP with Laravel and Livewire. It runs in one Docker container, served by Caddy.
Everything is a file. Messages, uploads and map layers are plain files on the card, not rows in a database. Only logins and sessions live in a small SQLite database that never leaves the Hub.
Sync.Syncthing copies those files between the Hubs of one network, encrypted on the way. Messages, files and maps each sync on their own.
Documents.PDF.js and docx-preview open PDF and Word files in the browser.
Protection. A firewall that refuses incoming connections by default, and a hardware watchdog that restarts a Hub that hangs.
Updates. A Hub downloads nothing by itself. We roll out each update on purpose, with Ansible, the same tool that sets up a new Hub.
Remote support. When a Hub is online we can reach it for support over a private network made with Tailscale.
Elemental Uplink
What it does
The Uplink gives a Hub a way out to the internet, so Hubs at different locations can reach each other. It is one router with two connections at the same time: the mobile network and a Starlink satellite link. When one fails, the router carries on over the other by itself.
The Uplink is optional. Without it a Hub keeps working on its own.
Hardware
Router. A Teltonika RUT241, an industrial 4G router with its own antennas and power adapter. A 5G router is possible on request.
SIM. A data SIM for the mobile network, in the router.
Satellite. A Starlink dish, plugged into the router's WAN port.
One network cable. From the router to the Hub.
Software
The router's own firmware. The router runs the software of its maker. Switching between the two connections is a standard feature of it: the satellite link goes first, the mobile network is the fallback.
Our settings. We set up each router with a script: its addresses, the mobile connection, and a speed and data limit so a SIM is not used up by accident.
The satellite link. The dish runs Starlink's own software. That part is not ours and not open source.
Sync over a distance. Over the Uplink, Syncthing on each Hub finds the other Hubs of its network. When two Hubs cannot reach each other directly, the data travels through a relay, encrypted from end to end.
The source
Our own code is being published. It is not public yet. We are preparing the repositories, and the links will appear on this page as each one opens.
What we wrote ourselves:
The Hub web app. Messages, files, maps and the sync settings. Being published.
The Hub setup. The scripts that write the card and the Ansible playbooks that turn a bare Raspberry Pi into a Hub. Being published.
The Uplink setup. The scripts that configure the router. Being published.
Everything else in the lists above is open source made by others. Each name links to its public source.