Pashu Aahar is an Android app built for the MindMatrix internship project to help dairy farmers plan cattle nutrition, compare homemade feed with market feed, and manage herd health with a simple offline-friendly interface.
Try the app in the browser using Appetize:
https://appetize.io/app/b_ztsk75xhtcg67de6eooeme26vm
- Interactive demo: Appetize live emulator
- Repository: GitHub project link
Many small dairy farmers rely on rough estimates for cattle feeding. That can lead to:
- unbalanced nutrition
- higher feed costs
- reduced milk yield
- poor visibility into herd health and daily care
This project aims to make basic cattle nutrition planning easier and more practical through a mobile app designed around local feed ingredients and simple workflows.
- Farmer onboarding with language and farmer-level selection
- Herd management with cow profiles
- Daily nutrition planning based on cow profile data
- Custom feed mix builder using local market ingredients
- Savings dashboard comparing homemade feed with standard market feed
- Daily care tracking and body condition feedback
- Vaccination and reminder-style dashboard cards
- Offline-first local app flow for core features
- Open the app and finish onboarding.
- Select your preferred language and farmer level.
- Add or manage cattle profiles in the herd section.
- Review the daily nutrition planner for the selected cow.
- Customize the ration using grazing hours and local ingredients.
- Check the savings dashboard to compare homemade feed with market feed.
- Use the health screen for body condition guidance and daily care follow-up.
- Kotlin
- Jetpack Compose
- Android ViewModel
- StateFlow / Compose state
- Android DataStore
- Firebase Analytics
- Gradle Kotlin DSL
app/src/main/java/com/mindmatrix/pashuaahar/
├── data/ # seed data, repositories, local preferences
├── domain/ # business models and nutrition/health logic
└── presentation/ # screens, UI components, theming, view model
data/: local repository, onboarding preferences, ingredient datasetsdomain/: nutrition calculator, health calculator, savings engine, modelspresentation/screens/: onboarding, dashboard, herd, nutrition, health, savingspresentation/components/: reusable UI components and visual building blocks
The complete source code is included in this repository.
- Main Android source:
app/src/main/java/com/mindmatrix/pashuaahar/ - Resources and UI strings:
app/src/main/res/ - Unit tests:
app/src/test/java/com/mindmatrix/pashuaahar/ - Gradle configuration:
build.gradle.kts,settings.gradle.kts,app/build.gradle.kts
- Android Studio with Android SDK 34
- JDK 17
- Android device or emulator
- Clone the repository:
git clone https://github.com/SH047/Pashu-Aahar-Mindmatrix-Project-19.git
cd Pashu-Aahar-Mindmatrix-Project-19-
Open the project in Android Studio.
-
Let Gradle sync all dependencies.
- Start an Android emulator or connect a physical Android device.
- Open the
apprun configuration in Android Studio. - Click
Runto install and launch the application.
./gradlew test
./gradlew assembleDebugFor a clean verification run:
./gradlew clean test assembleDebugOn Windows, use:
gradlew.bat test
gradlew.bat assembleDebug- Unit tests verified locally with
./gradlew teston May 15, 2026 - Debug build verified locally with
./gradlew assembleDebugon May 15, 2026
This repository includes the files typically expected for a complete Android submission:
build.gradle.ktssettings.gradle.ktsgradle.propertiesgradlewandgradlew.bat- Gradle wrapper files under
gradle/wrapper/ - Android app module under
app/
This repository contains project-specific implementation for a real dairy farming use case:
- nutrition calculation based on cattle profile and milk yield
- local feed ingredient catalogue with cost and protein data
- custom feed mixing workflow
- homemade versus market feed cost comparison
- herd profile management
- health scoring and daily care tracking
This is not a default starter template. The app contains custom:
- cattle nutrition calculation logic
- body condition and health scoring
- local ingredient dataset
- herd and feed workflow screens
- homemade-vs-market savings comparison
- Onboarding
- Dashboard
- Nutrition Planner
- Custom Feed / Mix workflow
- Savings Dashboard
- Farm Management
- Herd Management
- Health Tips
- Add more Indian language options
- Store and compare past feed plans over time
- Add richer analytics for milk yield trends
- Add export and sharing options for farmers and cooperatives
- Support more region-specific ingredient pricing
- The app currently targets Android API 34.
- Firebase Analytics is configured in the project.
- Core app logic is designed to work without requiring continuous internet access.
Submission repository:
https://github.com/SH047/Pashu-Aahar-Mindmatrix-Project-19
Shreyas S Rai USN: 1RR22RA023 Branch: Robotics and Automation College: Rajarajeshwari College of Engineering