Farmix is a voice-first, multilingual mobile assistant for Indian farmers. It supports the full loop from crop issue detection to community knowledge sharing and buyer-side income decisions.
framix-demo.mp4
Farmers often face three connected problems:
- Disease detection happens late, causing avoidable yield loss.
- Advisory is hard to access in local languages and field conditions.
- Income decisions are opaque due to unclear buyer trust and net earnings.
- End-to-end flow is designed for low-typing usage.
- Language selection from login drives UI text and speech behavior.
- English + Hindi are fully translated for core app journeys.
- Other supported languages use translated keys where available and English fallback for missing keys.
- Farmer captures crop image (camera/gallery).
- App runs online diagnosis flow and returns disease, severity, confidence, treatment, and prevention.
- If online analysis fails (quota/rate-limit/network), app gracefully falls back and still gives actionable guidance.
- Can trigger community alert radius by severity.
- Alerts are grouped by disease/location and sorted by severity + recency.
- Severity mapping for actionable radius:
- Low -> 3 km
- Moderate -> 8 km
- High -> 20 km
- Farmers can listen, share, mark checked, and call expert.
- Farmers can post:
- Problem faced
- What they tried
- What worked
- Crop + location
- Other farmers can mark lessons as Helpful.
- Enables practical “learn from past mistakes” sharing.
- Gamified contribution model:
- +10 points for posting a lesson
- +5 points when a lesson is marked helpful
- +20 points when outcome is verified by author
- +2 points for alert confirmation flows
- Badges and progress are shown in Home under My Impact.
- Shows nearby buyer cards with trust signals:
- Rating
- Successful deals
- Last active
- Payment mode
- Pickup window
- Earnings calculator shows:
- Gross earning
- Transport cost
- Net earning
- Suggests better buyer when higher net return is available.
- Scheme discovery with category filtering and detail cards.
- Mandi pricing with analysis support (sell/buy perspectives).
- OTP login flow authenticates user.
- Onboarding collects name, location, farm profile.
- Profile data is stored per user ID, so after logout/login the same farmer does not need to re-enter onboarding data.
selectedLanguageis set at login and stored in user profile.- UI text uses centralized
t(language, key)translation lookup. - English is fallback for unknown/missing keys.
- Posting lesson writes to local lesson store and adds reward points.
- Helpful action increments lesson helpful count and rewards.
- Verify outcome is author-only and awards bonus points.
- Home Impact card reads reward totals and badge level.
- Buyers are filtered by user district/state/crops (with fallback list).
- Net earning formula:
gross = quantityQuintal * pricePerQuintaltransport = distanceKm * transportCostPerKmnet = gross - transport
- React Native
- JavaScript
- Gemini API (online AI flows)
- AsyncStorage (local persistence)
- Jest
- ESLint
- Prototype is local-first for demo robustness.
- Some modules currently use static/mock datasets for hackathon reliability.
- API-ready structure is maintained so services can be replaced with live backends.
npm installCreate src/config/localSecrets.js:
module.exports = {
GEMINI_API_KEY: 'YOUR_GEMINI_API_KEY',
};Sample file: src/config/localSecrets.example.js
npm start
npm run androidnpm test -- --watchAll=false- OTP is currently mocked for prototype mode.
- Demo OTP code:
547333
- Replace local datasets with live buyer and mandi APIs.
- Add production auth + backend role model (farmer/buyer/admin).
- Add transaction verification and trust scoring with proof artifacts.
- Add logistics API integration for real transport/ETA costing.
- Expand full native translation quality for all supported languages.
Hackathon prototype with production-ready direction.