awesome-python/farm-aggregator/start.bat
Claude db1ba75274
feat(farm-aggregator): standalone farm data aggregator service
Node.js service for the farm server that replaces the Chrome extension concept.
Pulls from AG-Refine REST API and Dropbox (DairyComp/FeedLync logs), synthesises
with Claude Haiku on a cron schedule, pushes summaries back to Dropbox and WhatsApp.

- Hourly pulse, daily digest (Haiku), weekly summary (Sonnet)
- TomTom geofence webhook receiver — entry/exit events → WhatsApp + Dropbox log
- WhatsApp Business API send (gracefully disabled if no credentials)
- Express HTTP server with /health, /status, manual /run/* trigger endpoints
- Windows start.bat for farm server deployment
- .env.example documents all credentials (none committed)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KBD2dN2KEjzz3UQFa9hEpu
2026-06-28 03:51:49 +00:00

14 lines
281 B
Batchfile

@echo off
cd /d "%~dp0"
if not exist node_modules (
echo Installing dependencies...
npm install
)
if not exist .env (
echo ERROR: .env file not found. Copy .env.example to .env and fill in your keys.
pause
exit /b 1
)
echo Starting Farm Aggregator...
node index.js
pause