- Hono Worker + MapLibre GL 3D terrain map (satellite + Terrarium DEM, no API key) - Deterministic survey simulator: lawnmower flight + georeferenced detections - Species markers, flight path, timeline scrubber, confidence + type filters - D1 schema + POST /api/ingest for real drone data feeding the same dashboard Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
20 lines
682 B
TOML
20 lines
682 B
TOML
name = "critterscope"
|
|
main = "src/index.js"
|
|
compatibility_date = "2024-11-01"
|
|
compatibility_flags = ["nodejs_compat"]
|
|
|
|
routes = [{ pattern = "critterscope.theradicalparty.com", custom_domain = true }]
|
|
|
|
[vars]
|
|
BASE_URL = "https://critterscope.theradicalparty.com"
|
|
# Default map center [lon, lat] and survey radius (metres). Override per-survey via ?lat=&lon=&r=
|
|
DEFAULT_LON = "150.3119"
|
|
DEFAULT_LAT = "-33.7300"
|
|
DEFAULT_RADIUS_M = "1000"
|
|
|
|
# D1 is optional for the demo (falls back to the live simulator when empty).
|
|
# Uncomment + set database_id after: wrangler d1 create critterscope
|
|
# [[d1_databases]]
|
|
# binding = "DB"
|
|
# database_name = "critterscope"
|
|
# database_id = "REPLACE_ME"
|