Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 899 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 899 Bytes

meshtastic-populator

This program queries a PostgreSQL database and generates a Leaflet based webpage with a bunch of markers.

Currently used to populate https://map.technicallyrural.com/, which looks something like this: Global Meshtastic Nodes

Expecting a schema as described in this file

For configuration, requires a .env file (or environment variables) as follows:

POSTGRES_DATABASE=meshtastic
POSTGRES_HOST=localhost
POSTGRES_PASSWORD=reallysecure
POSTGRES_PORT=5432
POSTGRES_USER=postgres

It's designed to be invoked cron style with a script like:

#!/bin/bash

./meshtastic-populator

mv -f index.html public/index.html