Commit Graph

121 Commits

Author SHA1 Message Date
Alex Vanderpot b7bcca6bf3 release-prep: docs, migration dialect fix, drop unused UDF
- Add a deploy-focused root README; update the web app README (meshcore-only,
  point Docker usage at the unified root compose).
- Fix the migration runner: set the goose clickhouse dialect (it defaulted to
  postgres and failed to create its version table). Migrations now apply cleanly.
- Remove the unused meshcore decrypt UDF (meshcore_try_decrypt was never called
  by any view/query/code) and simplify the ClickHouse image to a single stage.

Verified end-to-end: `docker compose up` brings up clickhouse -> migrate ->
meshcoreingest + meshexplorer; live ingestion from the real MQTT brokers lands
packets in ClickHouse and the web API serves decoded meshcore nodes via the
readonly user.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-29 01:01:33 -04:00
Alex Vanderpot 6a1536410c release-prep: unified docker-compose + .env.example
Single root compose brings up the whole stack on one internal network:
clickhouse (healthchecked) -> migrate (one-shot) -> meshcoreingest + meshexplorer,
with the discord-bot behind a "bot" profile. Web app/bot connect as the readonly
ClickHouse user; ingest/migrate use the default user. Named volume replaces the
host /tank path. .env.example documents every variable with placeholders; root
.gitignore keeps real .env out of git. Drops the per-project compose files.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-29 01:01:33 -04:00
Alex Vanderpot cd1a345242 release-prep: remove meshtastic from web app
Meshtastic was UI-filtering only (no meshtastic data backend). Drop it as a
node type/option, and simplify the map marker/cluster/popup rendering now that
every node is meshcore. Update product copy to MeshCore-only. The nodeTypes
query plumbing stays (the unified view's type is always 'meshcore').
Production build passes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-29 01:01:33 -04:00
Alex Vanderpot 83978609f0 ingest: meshcore MQTT->ClickHouse stack
Vendor the ingest service under ingest/ and move the web app under meshexplorer/.
The ingest builds the meshcoreingest daemon and the goose migration runner,
applies the meshcore ClickHouse schema (packets, adverts, unified node view),
and loads its MQTT broker list and ClickHouse settings entirely from environment
variables (MQTT_BROKERS as a JSON array, CLICKHOUSE_*). No credentials are baked
into the source.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-29 01:01:33 -04:00
ajvpot 815d465566 Bump nextjs 2026-01-06 03:11:33 +01:00
ajvpot e6e74589c1 save map position, stroke width slider 2025-09-29 18:06:11 +02:00
ajvpot b173351011 path display overhaul 2025-09-23 04:04:17 +02:00
ajvpot 665b91f1fa add analyze links to PathVisualization 2025-09-23 03:13:10 +02:00
Alex Vanderpot 580c315a20 Merge pull request #24 from CoryNQ1E/main
Support Lowercase Public Keys in Node API Endpoints
2025-09-22 19:38:14 -04:00
ajvpot b12d570142 analyze link in discord bot relay 2025-09-23 01:28:47 +02:00
ajvpot add14fa37b fix concurrency in bot 2025-09-23 00:05:56 +02:00
ajvpot b296017331 Add anchors to stats pages (closes #26) 2025-09-19 17:43:00 +02:00
ajvpot a1416bcc05 handle numeric values in useQueryParams (closes #25) 2025-09-19 17:34:12 +02:00
ajvpot f34836763c min packet thresh 2025-09-18 01:58:48 +02:00
ajvpot 4faa6491c2 ui rearranging 2025-09-18 01:53:15 +02:00
ajvpot 0f1327469d hide meshcore overlay setting 2025-09-18 01:41:52 +02:00
ajvpot f3ad947b9a All neighbors, map layer settings 2025-09-18 01:40:45 +02:00
ajvpot fe6e44cc80 path magic 2025-09-17 17:46:43 +02:00
ajvpot ea32ccea77 support # channels 2025-09-15 23:03:29 +02:00
ajvpot ed9943e091 missing file 2025-09-15 22:52:25 +02:00
ajvpot 4c7e7d8e1c highlights for discord 2025-09-15 04:36:14 +02:00
ajvpot 0aac045c1b discord bot: support threads 2025-09-15 04:14:58 +02:00
ajvpot 9f1056095b all neighbors 2025-09-15 04:14:50 +02:00
ajvpot 7addbb3165 update stats and path viz to use 2 day last seen time 2025-09-14 18:26:47 +02:00
ajvpot e41dfe83d3 stuff 2025-09-14 18:25:56 +02:00
ajvpot 3ade624a51 emoji 2025-09-13 03:31:30 +02:00
ajvpot 8ac7d5eece Discord bot, profile picture endpoint, channel management ux, streaming apis, refactor region logic 2025-09-13 02:57:52 +02:00
ajvpot 2afbe80c1b fix clickhouse constructor 2025-09-11 18:29:27 +02:00
ajvpot 1dd6781113 override region for node info page with detected region info 2025-09-11 18:28:12 +02:00
ajvpot 46606abbf9 Replies/highlights 2025-09-11 17:53:13 +02:00
CoryNQ1E 170bcf394a Support Lowercase Public Keys in Node API Endpoints 2025-09-10 13:45:05 -07:00
ajvpot cdd66725ec fix build 2025-09-10 03:52:26 +02:00
ajvpot 93cfd969a8 link target for embed view 2025-09-10 03:49:39 +02:00
ajvpot fbe31eb092 create embeddable map view, finish migration to route groups 2025-09-10 03:42:31 +02:00
ajvpot 6171bf812a restructure: use app route group and replace relative imports with @ imports 2025-09-10 03:21:40 +02:00
ajvpot 6fab8a112a move stats to tanstack query, implement cancelation 2025-09-10 02:47:44 +02:00
ajvpot a5638fe924 fix search params for path vis 2025-09-10 02:17:24 +02:00
ajvpot f92895ca8f optimize neighbors, fix aggregation 2025-09-10 02:12:18 +02:00
ajvpot 83b41619ac Store map lat/lng, fix state handling 2025-09-10 01:58:26 +02:00
ajvpot e43dd51336 persist selectedtab in usequeryparams 2025-09-10 01:47:45 +02:00
ajvpot 901cec1820 cache decryption results 2025-09-10 01:41:42 +02:00
ajvpot 9eb1c4d62c Search batching, display nodes on graph, spinner for loading neighbors 2025-09-10 01:33:29 +02:00
ajvpot 256886f2e8 Node info page improvements, search, neighbors 2025-09-09 04:01:19 +02:00
ajvpot 8b9ae36072 path display 2025-09-08 17:32:38 +02:00
ajvpot abd421a2a1 some kind of node info page 2025-09-07 02:22:20 +02:00
ajvpot 8a4b591776 Server side message decryption and api docs 2025-09-06 03:10:34 +02:00
Alex Vanderpot 3d9f2cca21 Merge pull request #20 from bryantkelley/fix/7-region-selection-too-big
Update styling for region selection and chat box
2025-09-05 14:27:13 -07:00
Bryant Kelley 91a6df25a6 Update styling for region selection and chat box 2025-09-04 15:58:11 -07:00
ajvpot b03aef4f74 First seen time 2025-09-01 10:16:41 +02:00
ajvpot fb3338d1d8 word wrap messages 2025-08-25 22:59:09 +02:00