A lightweight prototype web app for short-term coastal rain prediction.
It follows the flow we discussed:
- Upload a horizon photo.
- Capture GPS location.
- Pull current weather from Open-Meteo.
- Combine those inputs in an analysis step.
- Return a 1–2 hour rain probability with reasoning.
node server.jsThen open http://localhost:8000 (or http://localhost:$PORT if you set the PORT environment variable).
- The current
/api/analyzeendpoint is a deterministic prototype heuristic using weather signals (humidity, pressure, precipitation, wind). - It is structured so you can later replace that step with a real vision model call.
- Weather data source: Open-Meteo Forecast API.
- Add a real AI vision backend (OpenAI/other).
- Store user feedback (
rain arrived/stayed dry) to improve local calibration. - Add optional radar context.