Project Case Study  ·  2025

Matruka AI Farm

An AI-powered bilingual platform built for Indian farmers — delivering crop intelligence, disease detection, mandi prices, and government scheme discovery in one place.

Project Type Full-Stack Web Application
Year 2025
Role Solo Developer — Design, Frontend, Backend, AI Integration
Deployed on Vercel  ·  matruka.vercel.app
Languages English & Hindi (हिंदी)
Stack
Html/Vanilla Css Node.js Firebase Gemini 2.5 flash OpenWeather API Vercel
scroll

What is Matruka?

Matruka is an AI-powered smart farming platform built specifically for Indian farmers, bridging the gap between cutting-edge agricultural technology and rural accessibility.

The platform operates entirely in both English and Hindi, ensuring farmers who aren't comfortable in English can still access every feature. From real-time weather and crop recommendations to uploading soil profiles and detecting plant diseases through images — Matruka puts an agronomist in every farmer's pocket.

Beyond AI features, Matruka aggregates real mandi (market) prices, locates the nearest mandis, and surfaces relevant government agricultural schemes — data that is often fragmented across dozens of portals and completely inaccessible to most farmers.

Built as a solo full-stack project, every layer — UI design, backend architecture, AI integrations, API aggregation, and deployment — was designed and shipped by a single developer.

6 Core AI Features
2 Languages Supported
1 Solo Developer
∞ Farmers It Can Reach

Why Matruka Exists

⚠️

The Problem

  • Indian farmers lack affordable access to expert agronomic guidance
  • Crop disease diagnosis requires visiting physical agriculture offices — slow and costly
  • Mandi prices are scattered across government portals with poor UX
  • Government schemes go unclaimed because farmers don't know they exist
  • Most agri-tech tools are English-only, excluding Hindi-speaking rural populations
  • Soil analysis data sits in labs — farmers can't act on it digitally
🌱

The Matruka Solution

  • AI-driven crop recommendations based on real-time weather and soil data
  • Photo-based crop disease detection — point, shoot, get a diagnosis in seconds
  • Unified mandi price dashboard — all market data in one clean interface
  • Curated government schemes feed with eligibility filtering
  • Full bilingual support — seamlessly switch between English and Hindi
  • Soil profile upload and digital analysis with actionable crop suggestions

What It Does

🌾

AI Crop Recommendations

Enter your location and the platform fetches live weather, cross-references soil conditions, and recommends the optimal crops for the current season using AI models.

AI · Open Weather API · Soil Data
🔬

Soil Profile Upload

Farmers can photograph or upload their soil test documents. The system parses and analyzes the profile to suggest suitable crops and fertilizer strategies.

Image Processing · AI Analysis
🦠

Crop Disease Detection

Upload a photo of a diseased crop leaf. The AI model identifies the disease, confidence level, and recommended treatment — all within seconds.

Computer Vision · ML Model
📋

Government Schemes

A curated, regularly updated database of Central and State government agricultural schemes — surfaced based on the farmer's state and crop type.

Data Aggregation · Official Govt Sites
📈

Live Mandi Prices

Real-time commodity prices from mandis across India, aggregated from government data sources. See price trends and find the best market for your produce.

Live Data · Commodity Online
📍

Mandi Near Me

Geolocation-powered nearest mandi finder — shows distance, current prices, and operating hours so farmers can plan their market visits efficiently.

Geolocation · Google Map

The Interface

Designed for low-literacy users in rural India — large touch targets, bilingual labels, high-contrast imagery, and a clean card-based layout that works on budget Android phones.

AI Crop Recommendation screen AI Crop Recommendations
Soil profile upload screen Soil Profile Upload
Disease detection screen Disease Detection
Government schemes screen Government Schemes
Mandi prices screen Live Mandi Prices
Mandi near me screen Mandi Near Me

Built With

Vanilla Css

Clean clutter free UI - minimal and clean. Supirior performance and creative freedom.

Node.js

Express server handling API proxying, AI calls, and data aggregation from external sources.

Firebase

Flexible document storage for schemes, mandi records, and user session data.

🤖
AI / ML APIs

Gemini 2.5 Flash vision models for disease detection; language models for crop advisory generation.

🌦️
Open Weather API

Real-time meteorological data powering location-aware crop recommendations.

📊
commodity Online

A site which shows live crop prices of your city, town or village.

JavaScript (ES2022+)

Modern async/await patterns, optional chaining, and module-based architecture throughout.

▲
Vercel

Deployed with zero-config CI/CD — automatic preview deployments on every push.


How It's Structured

Frontend
Html/Css Bilingual Context (EN / हिं) Responsive UI Image Upload Geolocation API
↕
Backend
Node.js / Express API Layer Firebase Auth Firebase Database File Handling
↕
AI Layer
Gemini 2.5 flash Disease Vision Model Soil Analysis Engine Language Model (Bilingual)
↕
External APIs
Open Weather API Maps / Geolocation Schemes Data Feed

What I Solved

01

Crop Advice

No personalized crop advice without an agronomist Farmers in rural India can't afford or access agricultural experts.

Solution

Matruka uses Gemini 2.5 Flash to analyze their location's real-time weather and give crop-specific recommendations instantly — no expert needed.

02

Government Schemes

Government schemes go completely unclaimed Billions in agricultural subsidies go unused every year because farmers don't know they exist.

Solution

Matruka surfaces official government scheme links directly — no middleman, no confusion, no missed benefits.

03

Mandi Prices

Mandi prices are a guessing game. Farmers often sell at a loss because they don't know what the same crop is fetching at a market 30km away.

Solution

Commodity Online's real-time price feed shows live rates across markets so farmers can negotiate from a position of knowledge.

04

Agri-Tech Tools

Agri-tech tools are English-only. Most farming apps assume English literacy, cutting out the majority of India's farming population.

Solution

Matruka is fully bilingual — every feature, every label works in Hindi.


// explore matruka

See It In Action.

The live site is deployed on Vercel. The source code is on GitHub.
Both links are right below.