Empowering Farmers with Mathematical Precision. A project submitted for the "Build the Future" Showcase.
Krishi-Ganit Optimizer is a web application designed to help farmers maximize their yield and minimize waste. By combining farming knowledge with mathematical logic, this tool allows users to input their land details and resource constraints to get optimized recommendations.
Built with React, TypeScript, and Vite, it bridges the gap between traditional agriculture and modern resource management.
- Smart Input System: Easy-to-use interface for farmers to input land size and available resources.
- Auto-Conversions: Built-in utility to handle various agricultural units (e.g., acres to hectares, kg to quintal).
- Optimization Logic: Calculates the best distribution of resources.
- Instant Results: Clear, actionable feedback displayed in a modal.
- Framework: React 18
- Language: TypeScript
- Build Tool: Vite
- Styling: CSS / Tailwind
krishi-ganit-optimizer/ ├── src/ │ ├── components/ │ │ ├── HeroHeader.tsx # Main landing section │ │ ├── InputCard.tsx # Form for user data entry │ │ └── ResultModal.tsx # Popup showing calculation results │ ├── utils/ │ │ └── conversions.ts # Logic for unit conversions (Math core) │ ├── App.tsx # Main application layout │ ├── index.tsx # Entry point │ └── types.ts # TypeScript interfaces ├── public/ ├── package.json └── vite.config.ts
Follow these steps to run the project locally:
-
Clone the repository:
git clone [https://github.com/YOUR_USERNAME/krishi-ganit-optimizer.git](https://github.com/YOUR_USERNAME/krishi-ganit-optimizer.git)
-
Navigate to the project folder:
cd krishi-ganit-optimizer -
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
Open your browser: The app usually runs at
http://localhost:5173.
As a student passionate about Mathematics and a Farmer by background, I realized that small calculation errors in fertilizers or seed distribution can lead to losses. This app uses simple math to solve that daily problem.
Contributions are welcome! Please fork the repository and create a pull request.
MIT License © 2025
