Weather that speaks farmer. Real-time conditions, 7-day forecasts, and AI-powered agronomic advice. Built for farmers across Africa.
# Sky Shamba
> **Weather that speaks farmer.** Real-time conditions, 7-day forecasts, and AI-powered agronomic advice. Built for farmers across Africa.
**Live demo:**
sky-shamba.vercel.app
---
## Features
| Feature | Description |
| ---------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| Location search | Debounced autocomplete via OpenStreetMap Nominatim — no extra API key needed |
| Current conditions | Temperature, humidity, UV index, wind speed and gusts, with a contextual farming tip |
| 12-hour strip | Hour-by-hour conditions for the rest of the day |
| 7-day forecast chart | Recharts composed chart showing high/low temps and rain probability |
| AI agronomic insight | Gemini-powered summary with farming context from WeatherAI |
| Tree & canopy analysis | Upload a drone or satellite image. WeatherAI counts trees, grades canopy health, and returns actionable recommendations |
---
## Project structure
```
sky-shamba/
├── app/
│ ├── api/
│ │ ├── weather/route.ts # Proxy → WeatherAI /v1/weather
│ │ ├── forecast/route.ts # Proxy → WeatherAI /v1/daily
│ │ ├── geocode/route.ts # Proxy → Nominatim
│ │ └── trees/route.ts # Proxy → WeatherAI /v1/trees/analyze
│ ├── dashboard/
│ │ ├── page.tsx # Suspense boundary for useSearchParams
│ │ └── dashboard-client.tsx # Client component. All weather UI lives here
│ ├── layout.tsx
│ └── page.tsx # Landing page with search …