Agrinix is a mobile application designed to aid farmers in early detection of crop diseases using AI. The app allows farmers to take a picture of their crops, and a trained AI model predicts the disease type, symptoms, prevention methods, and more. Agrinix also features a community forum, crop library, and weather services to empower farmers with knowledge and support.
lib/
config/ # Fonts, theme, and app-wide config
core/ # Core logic and services
data/ # Static and mock data
models/ # Data models
providers/ # Riverpod providers
routes/ # App routing
screens/ # UI screens (auth, community, library, etc.)
services/ # API and business logic
widgets/ # Reusable widgets
assets/
images/ # App images and logos
fonts/ # Custom fonts
animations/ # Animations
git clone https://github.com/techpepson/agrinix-client.git
cd agrinix_app
flutter pub get
.env.example (if available) to .env and fill in your API keys and server URLs.PERENUAL_API_KEY = "sk-SyJZ685ff5348f2ad11197"
PERENUAL_API_CROP_PEST_ENDPOINT = "https://perenual.com/api/pest-disease-list"
WEATHER_API_KEY = '0e6b4ee78e214404b2b23400250707'
SERVER_BASE_URL = 'https://agrinixserver.forxai.me/api'
flutter run
flutter run -d chrome
If you change the splash screen config in pubspec.yaml, regenerate it:
flutter pub run flutter_native_splash:create
flutter_native_splash section in pubspec.yaml to change the splash image, background color, or branding.flutter pub run flutter_native_splash:create
flutter test
git checkout -b feature/YourFeature)git commit -m 'Add some feature')git push origin feature/YourFeature)This project is licensed under the MIT License. See the LICENSE file for details.
Empowering farmers with AI and community.