{"id":29288680,"url":"https://github.com/esam1973/mazraaty","last_synced_at":"2026-06-29T14:31:29.870Z","repository":{"id":278645331,"uuid":"930469700","full_name":"EsAm1973/Mazraaty","owner":"EsAm1973","description":"Mazraaty is a smart agricultural companion app designed for beginners and enthusiasts. It offers plant care education, AI-powered disease prediction, a comprehensive plant library, interactive AI chat, and user-friendly management tools—all in one platform. Empower your farming journey, learn, and grow with confidence!","archived":false,"fork":false,"pushed_at":"2025-07-09T13:10:37.000Z","size":21367,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-12T14:37:41.188Z","etag":null,"topics":["agriculture","ai","backend","beginner-friendly","chatbot","deep-learning","education","farm-management","flask","flutter","machine-learning","mazraaty","mobile-app","plant-care","plant-disease","plant-disease-detection","plant-identification","plant-library","smart-farming"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EsAm1973.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-10T17:25:04.000Z","updated_at":"2025-10-20T04:14:43.000Z","dependencies_parsed_at":"2025-02-20T22:31:17.434Z","dependency_job_id":"16a1ba31-4691-4451-8e35-a3725a0fb60c","html_url":"https://github.com/EsAm1973/Mazraaty","commit_stats":null,"previous_names":["esam1973/plant-disease-detection","esam1973/mazraaty"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EsAm1973/Mazraaty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EsAm1973%2FMazraaty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EsAm1973%2FMazraaty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EsAm1973%2FMazraaty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EsAm1973%2FMazraaty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EsAm1973","download_url":"https://codeload.github.com/EsAm1973/Mazraaty/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EsAm1973%2FMazraaty/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34931584,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agriculture","ai","backend","beginner-friendly","chatbot","deep-learning","education","farm-management","flask","flutter","machine-learning","mazraaty","mobile-app","plant-care","plant-disease","plant-disease-detection","plant-identification","plant-library","smart-farming"],"created_at":"2025-07-06T03:12:21.148Z","updated_at":"2026-06-29T14:31:29.837Z","avatar_url":"https://github.com/EsAm1973.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mazraaty\n\nMazraaty is a smart agricultural companion app designed especially for people interested in agriculture who may not have sufficient experience or expertise. The app provides educational resources, actionable insights, and supportive tools to help beginners and enthusiasts learn, care for their plants, and make informed decisions in their agricultural journey. Whether you're a hobbyist, a new gardener, or simply curious about plants, Mazraaty empowers you to grow with confidence.\n\n## 🌱 Vision\n\n\u003e \"Mazraaty aims to bridge the knowledge gap for aspiring agriculturists and plant lovers. By offering easy-to-use tools, a comprehensive plant library, and AI-powered guidance, Mazraaty supports users who lack professional experience, helping them learn, care for their plants, and enjoy successful agricultural experiences.\"\n\n## 🚀 Features\n\n- **Splash \u0026 Onboarding:** Smooth onboarding experience for new users.\n- **User Authentication:** Register, log in, and manage your credentials securely to personalize your experience and access all app features. If you forget your password, you can easily recover and reset it through the app's password recovery process.\n- **Educational Guidance:** Step-by-step support and tips for plant care and agriculture basics.\n- **Library of Plants:** Explore a vast collection of plant species with detailed information, care methods, and common diseases.\n- **AI Plant Chat:** Chat with an AI assistant to get answers about specific plants and their care.\n  - **Note:** The AI Chat feature uses a limited API key from DeepSeek: R1 (free). If you find that AI Chat is not working, please visit the OpenRouter website, search for \"DeepSeek: R1 (free)\", retrieve a new API key, and update the `deepSeekApiKey` variable in the `ai_chat_view_body.dart` file.\n- **Scan Feature (Points System):** The plant disease detection feature operates on a points system. Users must have enough points to use the scan feature; points can be purchased through the app. This system helps support the app and ensures fair usage.\n  - **Supported Plants:** The Scan Feature can predict diseases for the following plant types: **Apple, Corn, Blueberry, Cherry, Grape, Orange, Peach, Pepper, Potato, Raspberry, Soybean, Squash, Strawberry, Tomato**.\n- **Disease History:** Track your plants' health and history over time.\n- **Common Diseases:** Learn about common plant diseases and how to prevent or treat them.\n- **User Profile:** Manage your account, crop your profile image, change your password, and delete your account if needed. Password change and recovery options are available for your security and convenience.\n- **Subscription \u0026 Payments:** Access premium features and purchase points via Paypal or MyFatoorah payment gateways.\n\n## 🗂️ Project Structure\n\n```\nlib/\n  Core/           # Core utilities, data, models, widgets\n  Features/\n    authentication/   # User authentication (login, register, change password)\n    history/          # Disease history tracking\n    home/             # Main dashboard and feature highlights\n    onboardeing/      # Onboarding screens\n    payment/          # Subscription and payment methods\n    plant_library/    # Plant database, AI chat, plant details\n    profile/          # User profile management\n    scan_plant/       # Plant disease scanning, camera, points system\n    settings/         # App settings\n    splash/           # Splash screen\n  main.dart       # App entry point\n```\n\n## 🛠️ Technologies \u0026 Dependencies\n\n- **Flutter** (Dart SDK ^3.5.3)\n- **State Management:** flutter_bloc, get_it\n- **Networking:** dio, http\n- **Routing:** go_router\n- **UI:** google_fonts, font_awesome_flutter, lottie, animated_text_kit, fl_chart, awesome_dialog, curved_navigation_bar, flutter_markdown\n- **Camera \u0026 Image:** camera, image_picker, image_cropper, flutter_image_compress, cached_network_image\n- **Persistence:** sqflite, path_provider, path\n- **Permissions:** permission_handler\n- **Other:** dartz, equatable, url_launcher, clipboard, timeago, geolocator, intl, uuid, google_sign_in\n\nSee `pubspec.yaml` for the full list and versions.\n\n## 🌐 Backend/API\n\nMazraaty uses a custom backend API:\n```\nhttp://rmrmrm-001-site1.mtempurl.com/api-mobile/\n```\n\n## 📦 Assets\n- Images: `assets/images/`\n- Animations: `assets/animations/`\n- Fonts: `assets/fonts/`\n\n## 📊 Dataset\n\nThe AI model for plant disease prediction was trained using the dataset and code available at:\n[Plant Disease Classification (ResNet) on Kaggle](https://www.kaggle.com/code/atharvaingle/plant-disease-classification-resnet-99-2)\n\n## ▶️ Getting Started\n\n1. **Install Flutter:** [Flutter Install Guide](https://flutter.dev/docs/get-started/install)\n2. **Clone the repository:**\n   ```sh\n   git clone https://github.com/EsAm1973/Mazraaty.git\n   cd mazraaty\n   ```\n3. **Install dependencies:**\n   ```sh\n   flutter pub get\n   ```\n4. **Download and Run the Flask Server for Scan Feature:**\n   - The Scan Feature (plant disease detection) requires a local Flask server.\n   - Download the `flask_server` folder from the following link:\n     [Download flask_server from Google Drive](https://drive.google.com/drive/folders/1M5P0d3RaGXA8bjyGcZYmI5S5kI53jqgw?usp=sharing)\n   - After downloading, navigate to the `flask_server` folder and run the `all_disease_flask.py` file:\n     ```sh\n     cd flask_server\n     python all_disease_flask.py\n     ```\n   - Make sure the server is running before using the Scan Feature in the app.\n   \n   \u003e **Important:**\n   \u003e - If you use the Scan Feature on an Android emulator, the base URL in `api_scan_service.dart` should be:\n   \u003e   ```python\n   \u003e   url = 'http://10.0.2.2:5000/predict'\n   \u003e   ```\n   \u003e - If you run the app on a real device or deploy the Flask server to a remote server, you must change the URL in `api_scan_service.dart` to the new server address.\n5. **Run the app:**\n   ```sh\n   flutter run\n   ```\n   - For web: `flutter run -d chrome`\n   - For Android/iOS: Connect your device or use an emulator/simulator\n6. **Build for release:**\n   - Android: `flutter build apk`\n   - iOS: `flutter build ios`\n\n## 🤝 Contributing\n\nPull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.\n\n## 📄 License\n\nThis project is for educational and demonstration purposes. Please contact the author for commercial use.\n\n## 🙏 Credits\n\n- Developed by:\n  - Mohamed Esam El-Din (Flutter)\n  - Mohamed Walaa (Backend)\n  - Ramadan Mohamed (Backend)\n  - Mohamed Alaa El-Din (UI)\n  - Ahmed Ali (UI)\n  - Gamal Abdel Nasser (Frontend)\n- Special thanks to the Flutter community and open-source contributors.\n\n---\n\n*Empower your farming journey with Mazraaty!*\n\n## 🖼️ Screenshots\n\nHere are some screenshots showcasing the UI of Mazraaty:\n\n### Splash\n\u003cdiv style=\"display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start;\"\u003e\n  \u003cimg src=\"screenshots/splash.png\" width=\"200\" alt=\"Splash Screen\" /\u003e\n\u003c/div\u003e\n\n### Onboarding\n\u003cdiv style=\"display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start;\"\u003e\n  \u003cimg src=\"screenshots/onboarding1.png\" width=\"200\" alt=\"Onboarding 1\" /\u003e\n  \u003cimg src=\"screenshots/onboarding2.png\" width=\"200\" alt=\"Onboarding 2\" /\u003e\n  \u003cimg src=\"screenshots/onboarding3.png\" width=\"200\" alt=\"Onboarding 3\" /\u003e\n  \u003cimg src=\"screenshots/onboarding4.png\" width=\"200\" alt=\"Onboarding 4\" /\u003e\n\u003c/div\u003e\n\n### Login \u0026 Signup\n\u003cdiv style=\"display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start;\"\u003e\n  \u003cimg src=\"screenshots/login_screen.png\" width=\"200\" alt=\"Login Screen\" /\u003e\n  \u003cimg src=\"screenshots/signup_screen.png\" width=\"200\" alt=\"Signup Screen\" /\u003e\n  \u003cimg src=\"screenshots/ForgetPassword1.png\" width=\"200\" alt=\"Forget Password 1\" /\u003e\n  \u003cimg src=\"screenshots/ForgetPassword2.png\" width=\"200\" alt=\"Forget Password 2\" /\u003e\n  \u003cimg src=\"screenshots/ForgetPassword3.png\" width=\"200\" alt=\"Forget Password 3\" /\u003e\n\u003c/div\u003e\n\n### Home\n\u003cdiv style=\"display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start;\"\u003e\n  \u003cimg src=\"screenshots/Home_Screen1.png\" width=\"200\" alt=\"Home Screen 1\" /\u003e\n  \u003cimg src=\"screenshots/Home_Screen2.png\" width=\"200\" alt=\"Home Screen 2\" /\u003e\n  \u003cimg src=\"screenshots/Home_Screen3.png\" width=\"200\" alt=\"Home Screen 3\" /\u003e\n\u003c/div\u003e\n\n### Plant Library\n\u003cdiv style=\"display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start;\"\u003e\n  \u003cimg src=\"screenshots/Plant_Library.png\" width=\"200\" alt=\"Plant Library\" /\u003e\n  \u003cimg src=\"screenshots/Plant_Details1.png\" width=\"200\" alt=\"Plant Details 1\" /\u003e\n  \u003cimg src=\"screenshots/Plant_Details2.png\" width=\"200\" alt=\"Plant Details 2\" /\u003e\n  \u003cimg src=\"screenshots/Plant_Details3.png\" width=\"200\" alt=\"Plant Details 3\" /\u003e\n  \u003cimg src=\"screenshots/Plant_Details4.png\" width=\"200\" alt=\"Plant Details 4\" /\u003e\n  \u003cimg src=\"screenshots/Plant_Details5.png\" width=\"200\" alt=\"Plant Details 5\" /\u003e\n  \u003cimg src=\"screenshots/Plant_Details6.png\" width=\"200\" alt=\"Plant Details 6\" /\u003e\n\u003c/div\u003e\n\n### AI Chat\n\u003cdiv style=\"display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start;\"\u003e\n  \u003cimg src=\"screenshots/AI_Chat1.png\" width=\"200\" alt=\"AI Chat 1\" /\u003e\n  \u003cimg src=\"screenshots/AI_Chat2.png\" width=\"200\" alt=\"AI Chat 2\" /\u003e\n\u003c/div\u003e\n\n### Scan Disease\n\u003cdiv style=\"display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start;\"\u003e\n  \u003cimg src=\"screenshots/Scan_Screen1.png\" width=\"200\" alt=\"Scan Screen 1\" /\u003e\n  \u003cimg src=\"screenshots/Scan_Screen2.png\" width=\"200\" alt=\"Scan Screen 2\" /\u003e\n\u003c/div\u003e\n\n### Scan Disease Details\n\u003cdiv style=\"display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start;\"\u003e\n  \u003cimg src=\"screenshots/Disease_Details1.png\" width=\"200\" alt=\"Disease Details 1\" /\u003e\n  \u003cimg src=\"screenshots/Disease_Details2.png\" width=\"200\" alt=\"Disease Details 2\" /\u003e\n  \u003cimg src=\"screenshots/Disases_Details3.png\" width=\"200\" alt=\"Disease Details 3\" /\u003e\n\u003c/div\u003e\n\n### History\n\u003cdiv style=\"display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start;\"\u003e\n  \u003cimg src=\"screenshots/History_Screen1.png\" width=\"200\" alt=\"History Screen 1\" /\u003e\n  \u003cimg src=\"screenshots/History_Screen2.png\" width=\"200\" alt=\"History Screen 2\" /\u003e\n  \u003cimg src=\"screenshots/History_Screen3.png\" width=\"200\" alt=\"History Screen 3\" /\u003e\n\u003c/div\u003e\n\n### Profile\n\u003cdiv style=\"display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start;\"\u003e\n  \u003cimg src=\"screenshots/Profile_Screen1.png\" width=\"200\" alt=\"Profile Screen 1\" /\u003e\n  \u003cimg src=\"screenshots/Profile_Screen2.png\" width=\"200\" alt=\"Profile Screen 2\" /\u003e\n\u003c/div\u003e\n\n### Payment\n\u003cdiv style=\"display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start;\"\u003e\n  \u003cimg src=\"screenshots/Payment_Methods.png\" width=\"200\" alt=\"Payment Methods\" /\u003e\n  \u003cimg src=\"screenshots/Payment_Packages.png\" width=\"200\" alt=\"Payment Packages\" /\u003e\n\u003c/div\u003e\n\n### Delete Account\n\u003cdiv style=\"display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start;\"\u003e\n  \u003cimg src=\"screenshots/Delete_Account.png\" width=\"200\" alt=\"Delete Account\" /\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesam1973%2Fmazraaty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fesam1973%2Fmazraaty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesam1973%2Fmazraaty/lists"}