explaingit

robertribbon25/harvest-ai

21TypeScriptAudience · pm founderComplexity · 3/5LicenseSetup · moderate

TLDR

A web app for East African farmers that combines crop and farm record-keeping with an AI chat assistant for farming questions and a photo-based plant disease scanner.

Mindmap

mindmap
  root((harvest-ai))
    Features
      Farm and crop records
      AI chat assistant
      Plant disease scanner
      Yield and market dashboard
    AI
      Gemini 2.5 Flash chat
      Gemini Vision image analysis
      Kinyarwanda and English
    Tech
      React 19 TanStack Start
      TypeScript throughout
      Cloudflare Workers deploy
    Roadmap
      Mobile money payments
      Live weather data
      Voice input and output
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Give a farmer an AI chat assistant that answers agronomic questions in English or Kinyarwanda.

USE CASE 2

Let a farmer photograph a sick plant leaf and instantly receive an AI diagnosis and treatment suggestion.

USE CASE 3

Track crop cycles across multiple farms and view yield trends and market price data on a single dashboard.

Tech stack

TypeScriptReactTanStack StartTailwind CSSshadcn/uiCloudflare Workers

Getting it running

Difficulty · moderate Time to first run · 30min

Requires a Gemini API key for chat and disease scanning, weather and market views need additional external API credentials.

MIT, use, copy, modify, and distribute freely for any purpose.

In plain English

This is a web application built for farmers, agricultural cooperatives, and agribusinesses. It combines farm and crop record-keeping with two AI features: a chat assistant for agronomic questions and a photo-based plant disease scanner. The project appears focused on the East African context, given that the chatbot supports Kinyarwanda (a language spoken in Rwanda) alongside English, and the roadmap mentions mobile money integrations like MTN and Airtel. The main features are: managing records for multiple farms and crop cycles, a streaming chat assistant that answers farming questions, a disease scanner where you upload a photo of a plant leaf and receive a diagnosis and suggested treatment, and a dashboard with yield trend charts and market price data. Weather and market data views are present in the interface but listed as needing external API credentials to fully activate. The underlying AI for both the chat and the image scanner runs through a service called the Lovable AI Gateway, which uses Google's Gemini 2.5 Flash model for chat and Gemini Vision for the image analysis. Authentication supports email and password login as well as Google sign-in. The database is a managed PostgreSQL instance, and every database table is protected so that users can only see and modify their own records. The tech stack is TypeScript throughout. The frontend uses React 19 with a file-based routing setup (TanStack Start), Tailwind CSS for styling, and component primitives from shadcn/ui. The backend runs server functions in the same process rather than as a separate service. Deployment goes to Cloudflare Workers via the Lovable platform with a single publish step. The roadmap lists several integrations that are stubbed out but not yet wired to real services, including live weather data, mobile money payments, USSD and SMS support, and voice input and output. The project is licensed under MIT.

Copy-paste prompts

Prompt 1
I'm building on harvest-ai. How do I wire up the weather data API so the weather view shows real data instead of placeholders?
Prompt 2
In harvest-ai, how do I add a third language to the chat assistant beyond English and Kinyarwanda?
Prompt 3
I want to extend harvest-ai's disease scanner to also estimate crop loss percentage from the leaf photo. How would I modify the Gemini Vision prompt to include that?
Open on GitHub → Explain another repo

← robertribbon25 on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.