Logo Lanfrica

maxine-mwanda/farm-intel

Domain:

agriculture

Record type:

software
Creator:
max
Host:
Farm intelligence tool. Weather forecasts and tree canopy analysis powered by the WeatherAI API. # Farm Intel A farm intelligence tool built on the WeatherAI API. Get real-time weather forecasts and run computer vision tree canopy analysis on drone, aerial, or satellite images — built with the agricultural context of smallholder farming in mind. ## Features - **Weather Forecast** — current conditions, 7-day outlook, and AI-generated agronomic summary where available - **Tree Analysis** — upload a farm image to get tree count, canopy coverage, density per acre, and health breakdown via computer vision, with Gemini-powered insights where available - GPS auto-detect for location - Metric / imperial toggle ## Stack - **Backend**: Python + FastAPI (proxies WeatherAI API, keeps key server-side) - **Frontend**: Vanilla HTML/CSS/JS — no build step ## Local Setup **Requirements**: Python 3.10+ ```bash git clone github.com cd farm-intel python -m venv venv source venv/bin/activate pip install -r requirements.txt ``` Create a `.env` file in the project root: ``` WEATHERAI_API_KEY=wai_your_key_here ``` Then run: ```bash uvicorn main:app --reload ``` Open localhost Get your API key at weather-ai.co → Dashboard → API Keys. ## Project Structure ``` farm-intel/ ├── main.py # FastAPI app — 3 proxy routes ├── requirements.txt ├── .env # not committed — holds your API key ├── static/ │ └── index.html # full frontend, single file └── README.md ```

Languages