mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-05-05 01:55:29 +00:00
1cd5ce873a
- Extract shared geofilter Go module (internal/geofilter/) with Config struct and geometry functions (PointInPolygon, DistToSegmentKm, PassesFilter) — eliminates duplication between server and ingestor - Replace GeoFilterConfig struct in both config.go files with a type alias pointing to geofilter.Config - Slim geo_filter.go in both packages to delegate to shared module - Add --geo-filter-color CSS variable to style.css; use it in map.js and live.js overlay code instead of hardcoded #3b82f6 - Update prune-nodes-outside-geo-filter.py to read polygon/bufferKm from config.json (--config flag, default /app/config.json) instead of having deployment-specific coordinates hardcoded in the script Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
25 lines
718 B
Modula-2
25 lines
718 B
Modula-2
module github.com/corescope/server
|
|
|
|
go 1.22
|
|
|
|
require (
|
|
github.com/gorilla/mux v1.8.1
|
|
github.com/gorilla/websocket v1.5.3
|
|
github.com/meshcore-analyzer/geofilter v0.0.0
|
|
modernc.org/sqlite v1.34.5
|
|
)
|
|
|
|
replace github.com/meshcore-analyzer/geofilter => ../../internal/geofilter
|
|
|
|
require (
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/ncruces/go-strftime v0.1.9 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
golang.org/x/sys v0.22.0 // indirect
|
|
modernc.org/libc v1.55.3 // indirect
|
|
modernc.org/mathutil v1.6.0 // indirect
|
|
modernc.org/memory v1.8.0 // indirect
|
|
)
|