n30nex 162fb40f3e Update x/net for 0.13.2 security qualification (#63)
Pin golang.org/x/net 0.62.0 with Actions-resolved checksums for GO-2026-6860. Preserve all security, privacy, performance and native-image release gates.
2026-11-06 15:48:29 -05:00

CartoLite Server

CartoLite Server

A live, visual home for your MeshCore network.

Install with Docker · Live examples · Latest release · Deployment guide

Turn a MeshCore MQTT feed into a geographic map, an interactive topology diagram and optional visual experiments. One small service, no database, and no map key required. Published images run on Intel/AMD and ARM64, including 64-bit Raspberry Pi hosts.

CartoLite Server's current map and compact layer controls

Current-release interface, captured in Actions with synthetic traffic. More screenshots and verification.

Live examples

Community installations may run different releases and enable different pages.

Quick start

You need Docker Engine, Docker Compose v2 and access to a MeshCore MQTT broker. CartoLite subscribes to that broker; it does not include an MQTT server or listen on port 1883. Your observers publish to the broker, and CartoLite reads the feed from it.

In a new installation directory, download:

curl -fLO https://github.com/n30nex/CartoLite-Server/releases/latest/download/compose.yml
curl -fL https://github.com/n30nex/CartoLite-Server/releases/latest/download/default.env.example -o .env

Edit .env: set MQTT_BROKER_URL, MQTT_TOPIC and any required username/password. Keep the file private. Then:

docker compose pull
docker compose up -d --no-build
curl --fail http://127.0.0.1:8080/readyz

Open Map or Netgraph. Use curl.exe in Windows PowerShell. Upgrading? Keep your existing .env and data volume; follow upgrades and rollback instead of overwriting them.

The default bind is loopback-only. For a public site, use a TLS reverse proxy. For trusted LAN access, explicitly set CARTOLITE_BIND_ADDR=0.0.0.0. See deployment for both. A broker running on the host is not localhost from inside the container: use an address reachable from CartoLite's Docker network.

# Container status and recent operational logs
docker compose ps
docker compose logs --tail=100 -f cartolite

/healthz checks the process; /readyz also checks feed readiness. A connected, quiet mesh can be ready without new packets. No separate log-file path or inbound MQTT port is needed.

Choose your pages

Map and Netgraph are always enabled. Other pages are optional:

View What you can do
Map Watch confirmed hops on a geographic map; explore terrain, buildings, heatmaps and optional 3D.
Netgraph Follow the topology with recognizable geographic groups, optional 3D, region filters and draggable region layouts.
Terminal Turn the map into a live BBS display with Braille, ASCII, pixel and cel-shaded modes, six presets, custom colours and fonts.
Chronoscope Orbit a growing, session-only sculpture of observed packets and routes.
Firehose Watch linked packet beads tumble into a 3D box; tilt it to pour them out.
Pachinko Watch individual packets bounce into colour-coded buckets and overflow into a drain.

Enable any subset in .env, then apply the matching release's Compose file:

EXTRA_PAGES=terminal,chronoscope,firehose,pachinko

Leave it empty for Map and Netgraph only. This also applies to upgrades: set the extra pages you want to keep before recreating the service. The icon dock groups the experiments, and phones use one compact View picker. Labs and the native Android app belong to the Canada edition.

Luminous packets falling into the Firehose box Packets falling through Pachinko into type-specific buckets

Built for everyday use

  • Find, inspect and follow: search public node names, inspect confirmed neighbours and routes, or use ten-second Live Follow with a countdown, area/node scopes and Hold/Next controls.
  • Make it yours: Aurora, Glacier, Ember and Violet interface palettes; light/dark panels; Night, Daylight and Streets scenes; six route presets and advanced line controls. Terminal has its own colour/font studio.
  • Hear the mesh: 31 opt-in sound voices, including Dial-up Modem, with preview and volume controls. Only eligible visible live hops make sound.
  • Phone-friendly: one compact view picker, coordinated sheets, touch controls, reduced-motion support and recovery after sleep or a lost connection.
  • A small service: one Go process, bounded memory and one atomic topology checkpoint. No database, accounts, chat, visitor analytics or persistent packet history.

Your feed and map provider

The default subscription is meshcore/#, using standard meshcore/<region>/<publisher>/packets and .../status topics. Use MQTT_TOPIC to narrow the feed or an exact comma-separated REGION_ALLOWLIST when sharing a broker. An empty allowlist accepts valid regions worldwide. Credentials remain server-only.

OpenFreeMap supplies the default vector map and buildings, with Mapterhorn terrain. No account or key is needed. Optional CARTO configuration uses an operator-supplied browser key at startup; it is not compiled into the image. See provider configuration.

The container runs as a non-root user with a read-only filesystem, dropped capabilities, a persistent checkpoint volume and bounded logs/resources. Do not remove those settings when adapting Compose. See architecture for retention and sizing context.

Repeater scopes

Map → Layers → Map details → Repeater scopes shows native repeat reports in 1h, 6h or 24h windows. Select a visible-area legend row to highlight or isolate members, and inspect a node for proportions, timestamps and separately labelled reported configuration. Settings stay on this device; Copy scope link shares exact, case-sensitive focus and window settings.

Color requires one largest observed repeat count. Ties, missing evidence, unresolved scoped traffic and palette overflow stay neutral. Reports can include several observers of one transmission; they are not RF airtime or unique packet counts. Windows include the current partial UTC hour, with coverage gaps stated. Filtering markers does not claim that a connection carried a particular scope.

Worldwide uses only this installation's MQTT. It needs no scope provider, MeshMapper key, Canadian catalogue or Beacon service. Imported Canada scope checkpoint extensions are ignored while existing topology remains compatible.

Privacy and scope

Public data contains sanitized node labels, locations and confirmed topology. It does not expose keys, observer identities, raw paths, packet hashes, payloads, message text, credentials or resolver details. Route interpretation stays fail-closed; terrain and diagram heights are visual context, not radio coverage or antenna measurements. See privacy, public API v2 and security reporting.

Development and releases

Maintainer builds, tests, lockfile refreshes, screenshots and releases run in GitHub Actions. The toolchains are Node 24.22.1 LTS, Go 1.27.3 and Playwright 1.61.1 with its matching pinned browser image. CI covers all npm dependencies, Go tests/vet/race, synthetic MQTT and privacy checks, browser/mobile rendering, long-session and performance checks, and container scanning.

The CI workflow's Refresh dependency lockfiles option exports a patch tied to its source commit for review. It does not run the qualification suite or publish an image. Apply the reviewed patch on the same branch, then run normal PR CI. See the maintenance review.

Green main publishes an attested sha-<full-commit> candidate. Versioned releases promote that tested digest without rebuilding and include installation files, a manifest, checksums and Actions screenshots.

Worldwide CI verifies native AMD64 and ARM64 images, anonymous pulls and checkpoint-preserving upgrades. Source builds remain available separately; the default Compose file consumes the published image.

Documentation

Deployment, upgrades and rollback · Architecture · Data sources · Netgraph · Terminal · Chronoscope · Firehose · Pachinko · Sound · Roadmap

MIT licensed. Derived from CartoLite Canada.

Languages
TypeScript 78.9%
Go 11.4%
CSS 5.7%
HTML 2.8%
Shell 0.8%
Other 0.4%