Live Map of Meshcore MQTT feed https://live.bostonme.sh/
  • Python 53.6%
  • JavaScript 37.1%
  • HTML 5.1%
  • CSS 4.1%
  • Dockerfile 0.1%
Find a file
2026-11-16 18:14:28 -05:00
.github Keep Dependabot on supported runtime lines 2026-11-16 18:14:28 -05:00
backend license: adopt GPL-3.0-only and align project metadata 2026-11-10 13:37:03 -05:00
data Initial commit 2025-12-24 04:32:48 +00:00
deploy release: prepare v1.9.6 2026-08-18 23:38:08 -04:00
tests fix: restore propagation rendering under worker CSP 2026-11-09 11:57:39 -05:00
tools fix: keep map stats and peer panels within their layout 2026-11-04 09:24:17 -05:00
.env.example replace CARTO dark map with OpenFreeMap 2026-08-30 21:25:27 -04:00
.gitignore Prepare 1.9.8 with supported runtimes and secure MapLibre ESM assets 2026-10-24 18:35:44 -04:00
AGENTS.md chore: prepare v1.9.9 dependency patch baseline 2026-11-04 09:03:41 -05:00
ARCHITECTURE.md chore: prepare v1.9.9 dependency patch baseline 2026-11-04 09:03:41 -05:00
channel_secrets.example.json v1.7.5 route details and channel secrets 2026-03-22 17:46:27 -04:00
CONTRIBUTING.md fix: keep map stats and peer panels within their layout 2026-11-04 09:24:17 -05:00
docker-compose.yaml release: prepare v1.9.6 2026-08-18 23:38:08 -04:00
docs.md docs: refresh live map README and reference guides 2026-11-10 13:30:21 -05:00
example.gif Add README preview gif 2025-12-27 02:01:56 +00:00
example2.gif Move example2 gif to repo root 2026-01-04 03:45:29 +00:00
howto.md docs: refresh live map README and reference guides 2026-11-10 13:30:21 -05:00
LICENSE license: adopt GPL-3.0-only and align project metadata 2026-11-10 13:37:03 -05:00
live-map-example.gif docs: merge GPL licensing and use updated live map GIF 2026-11-10 14:14:47 -05:00
map_boundary.example.json v1.7.7 polygon boundary mode 2026-03-22 21:21:48 -04:00
PRIVACY.md replace CARTO dark map with OpenFreeMap 2026-08-30 21:25:27 -04:00
pytest.ini v1.4.0: mixed-prefix routing + pytest suite 2026-03-04 21:16:16 -05:00
README.md Change project title in README 2026-11-10 14:26:26 -05:00
requirements-dev.txt merge: sync pytest dependency PR with current dev 2026-11-04 09:00:18 -05:00
VERSION.txt chore: prepare v1.9.9 dependency patch baseline 2026-11-04 09:03:41 -05:00
VERSIONS.md fix: restore propagation rendering under worker CSP 2026-11-09 11:57:39 -05:00

MeshCore Live Map

Watch your MeshCore network in real time.
Self-hosted nodes, routes, activity, and radio-planning tools powered by MQTT.

Latest release Tests on main Docker build on main Docker pulls

Live demo · Quick start · Documentation · Configuration · Changelog · Report an issue

Live MeshCore map showing nodes and animated routes

Features

  • Live node markers, explicit device roles, node search, and MQTT presence indicators.
  • Animated routes with 1-, 2-, and 3-byte hop prefixes, path filters, and packet details.
  • Activity heatmaps, optional trails, retained route history, and incoming/outgoing peer statistics.
  • Line-of-sight profiles and propagation tools for exploring terrain and antenna placement.
  • Optional MeshMapper or legacy coverage layers, plus radar and wind overlays.
  • Light, dark, topo, and satellite maps, shareable views, contact QR codes, and installable PWA support.
  • Persistent state, optional automatic backups, customizable site metadata, and subpath hosting.

Routes come from decoded packet paths, not a survey of every possible RF link. Missing coordinates, missing hops, and ambiguous short prefixes can prevent lines from being drawn. Planning tools provide estimates, not guaranteed radio coverage.

Quick start

Run the prebuilt Docker image

Images are available on Docker Hub. No local build is required:

  • yellowcooln/meshcore-mqtt-live-map:latest: production image from main.
  • yellowcooln/meshcore-mqtt-live-map:dev: development image from dev.

Install Docker with the Compose plugin and prepare a new directory:

mkdir meshcore-mqtt-live-map
cd meshcore-mqtt-live-map
curl -fsSL https://raw.githubusercontent.com/yellowcooln/meshcore-mqtt-live-map/main/.env.example -o .env

Edit .env before starting:

  1. Set your MQTT broker, credentials, transport, TLS settings, and subscription topic.
  2. Set MAP_START_LAT, MAP_START_LON, MAP_START_ZOOM, and the geographic boundary for your mesh. MAP_RADIUS_KM=0 disables radius filtering; the template otherwise starts around Boston.
  3. Set your site title and public URL. For public hosting, review PROD_MODE, a new PROD_TOKEN, and optional Turnstile settings. Do not use the template token for production.

In Docker, MQTT_HOST=localhost points at the map container, not your host. Use a reachable broker hostname/IP or a service name on a shared network. With meshcore-mqtt-broker, normally use a subscriber account rather than node publisher credentials. See the setup guide.

Create docker-compose.yaml alongside .env:

services:
  meshmap:
    image: yellowcooln/meshcore-mqtt-live-map:latest
    ports:
      - "${WEB_PORT:-8080}:8080"
    env_file:
      - .env
    volumes:
      - ./data:/data
      - ./backup:/backup
    healthcheck:
      test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/health', timeout=3).read()"]
      interval: 30s
      timeout: 5s
      retries: 3
      start_period: 30s
    restart: unless-stopped

Pull and start:

docker compose pull meshmap
docker compose up -d --no-build meshmap

Open http://localhost:8080, or use your server's address and configured WEB_PORT.

The healthcheck detects MQTT or broadcaster failures, but Docker Compose does not restart a container solely because it becomes unhealthy. Automatic recovery from those failures needs an orchestrator or separate recovery policy.

Build from source instead

git clone https://github.com/yellowcooln/meshcore-mqtt-live-map.git
cd meshcore-mqtt-live-map
cp .env.example .env

Configure .env as above, then use the repository's build-based Compose file:

docker compose up -d --build meshmap

Additional examples: image-based Compose, Docker Swarm, and Kubernetes. The Compose file in deploy/ uses paths relative to that directory; adjust them before copying it to a different location.

Configuration

See .env.example for template values, the setup guide for deployment, and the configuration reference for detailed settings.

Setting Purpose
MQTT_HOST, MQTT_PORT, MQTT_USERNAME, MQTT_PASSWORD Broker address and subscriber credentials.
MQTT_TRANSPORT, MQTT_WS_PATH, MQTT_TLS, MQTT_CA_CERT TCP/WebSocket and TLS settings. Keep MQTT_TLS_INSECURE=false normally.
MQTT_TOPIC Subscription topic; comma-separated subscriptions are supported.
SITE_TITLE, SITE_URL, SITE_ICON Site identity, public URL, and icon.
MAP_START_LAT, MAP_START_LON, MAP_START_ZOOM Initial map view.
MAP_RADIUS_KM, MAP_BOUNDARY_MODE, MAP_BOUNDARY_FILE Radius or polygon filtering.
MAP_DEFAULT_LAYER, DISTANCE_UNITS Starting map layer and km/mi units.
PROD_MODE, PROD_TOKEN, TURNSTILE_ENABLED Production access controls and optional visitor verification.
ROUTE_HISTORY_ENABLED, ROUTE_HISTORY_HOURS Route-history visibility and retention. Peers remain independent.
COVERAGE_API_URL, COVERAGE_API_KEY, COVERAGE_API_KEYS Optional coverage integration and MeshMapper keys.
WEATHER_RADAR_ENABLED, WEATHER_WIND_ENABLED Optional weather layers.
BACKUP_ENABLED, BACKUP_INTERVAL_SECONDS, BACKUP_RETENTION_DAYS Automatic state backups; disabled in the template.

Dark maps use keyless OpenFreeMap. CARTO is optional for satellite labels and server-generated dark social previews, not a prerequisite for the interactive dark map. See optional CARTO configuration.

Production authentication: Turnstile is active only with PROD_MODE=true. Its browser authentication covers map/WebSocket sessions; protected API endpoints still require PROD_TOKEN. A browser verification cookie is not an API credential. See production access.

Updates and persistence

Keep ./data and ./backup mounted, and preserve .env, operator overrides, and custom assets. Back up configuration and state before upgrading. Do not overwrite working settings with the template.

For a prebuilt-image installation:

docker compose pull meshmap
docker compose up -d --no-build --pull never --force-recreate meshmap

For source builds, select the intended source revision, build with docker compose build meshmap, then use the same recreation command. A plain docker compose restart does not reload Compose env-file values.

Do not bind-mount a copied app.py over the image's /app/app.py; whole-file overrides hide future packaged fixes. Review existing overrides before every upgrade.

Check logs and health without publishing test traffic:

docker compose logs --tail=100 -f meshmap
curl -fsS http://localhost:8080/health

A broker connection alone does not prove useful data is arriving. Confirm node metadata and packet activity advance. In production mode, include the configured token when querying protected data endpoints.

Documentation

For automated source checks:

pip install -r requirements-dev.txt
npm ci --prefix backend
pytest -q

Community maps

Community deployments may run different versions and configurations.

Running a map for your mesh? If you'd like it listed here, open an issue with your mesh name and map URL.

About these projects

I build these projects with the help of AI when I see a need for software I want to use myself. The goal is to make something useful, run it on my own systems, and share it with anyone else who might find it helpful.

This is something I do for fun, in my free time outside of work and family. If you find these tools useful and would like to support the time that goes into them, a little support on Ko-fi is always appreciated. No pressure. Using the software, reporting bugs, and contributing ideas helps too.

Star History

Star History Chart