Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

Gatchang-nyawargak/AgriWeather

Domain:

agriculture

Record type:

softwaretools
Creator:
Gat
Host:
Farm Intelligence for Kenya # AgriWeather — Farm Intelligence for Kenya > A weather intelligence dashboard and farm advisory app built for Kenyan smallholders, powered by the WeatherAI API. ## ✨ Features - **Real-time weather dashboard** — current conditions, 7-day forecast, hourly temperature chart - **Auto-detect location** via IP geolocation (`/v1/weather-geo`) - **City search** with geocoding (search any location worldwide) - **AI-powered summaries** — Gemini-generated insights alongside every forecast - **Farm Advisor** — upload drone/aerial images → tree count + canopy health + agronomic recommendations via `/v1/trees/analyze` - **Swahili / English toggle** — full bilingual support (`?lang=sw`) - **Mobile-first, dark UI** — designed for phone-primary Kenyan users ## 🛠 Tech Stack | Layer | Choice | |---|---| | Framework | Next.js 14 (App Router) | | Styling | Tailwind CSS + CSS variables | | Charts | Recharts | | Animations | Framer Motion | | API | WeatherAI REST API | | Geocoding | Open-Meteo (free, no key needed) | | Deployment | Netlify / Vercel / Render | ## APIs Consumed | Endpoint | Usage | |---|---| | `GET /v1/weather` | Current conditions + 7-day forecast with AI summary | | `GET /v1/weather-geo?ip=auto` | Auto-detect location from visitor IP | | `POST /v1/trees/analyze` | Farm image analysis — tree count, health, AI recommendations | ## 🚀 Setup ### 1. Clone the repo ```bash git clone github.com cd agriweather ``` ### 2. Install dependencies ```bash npm install ``` ### 3. Configure environment ```bash cp .env.local.example .env.local ``` Edit `.env.local` and add your WeatherAI API key: ```env WEATHER_AI_API_KEY=wai_your_key_here ``` Get your free API key at weather-ai.co. ### 4. Run locally ```bash npm run dev ``` Open localhost. ### 5. Build for production ```bash npm run build npm start ``` ## 🗂 Project Structure ``` agriweather/ ├── app/ │ ├── api/ │ │ ├── weather/route.ts # Proxy …

Visit

github.com

Languages

Swahili

Similar

Eyansky/agriweather

Eyansky/agriweather

Agricultural weather intelligence for Kenyan farmers — live forecasts, AI-powered advisories, farm-i