Skip to content

itsAakashz/solution_challenge_proto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

99 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation


SoilGPT πŸŒ±πŸ€–

An AI-powered soil analysis and recommendation system built with Flutter.

πŸ“Œ Overview

SoilGPT is a mobile application designed to assist farmers, gardeners, and agricultural professionals in analyzing soil conditions using AI-powered insights. The app takes input from users about soil type, moisture, and location, and provides recommendations on crop selection, soil treatment, and sustainable farming practices.

πŸš€ Features

1️⃣ AI-Powered Soil Analysis

  • Uses machine learning models to analyze soil data.
  • Provides insights on soil composition, fertility, and crop compatibility.

2️⃣ Smart Recommendations

  • Suggests suitable crops based on soil properties.
  • Recommends fertilizers and soil treatment strategies.

3️⃣ Real-time Weather Integration

  • Fetches live weather updates to provide dynamic farming recommendations.
  • Offers alerts for extreme weather conditions.

4️⃣ Image-Based Soil Detection (Future Scope)

  • Uses image recognition to identify soil type from uploaded photos.
  • Provides automated analysis without manual input.

5️⃣ User-friendly Interface

  • Simple and intuitive UI for easy navigation.
  • Supports multiple languages (upcoming feature).

πŸ›  Tech Stack

Technology Purpose
Flutter Cross-platform mobile development
Dart Programming language for Flutter
Firebase Backend services (authentication, database)
Google Maps API Location-based soil insights
OpenWeather API Real-time weather data
TensorFlow Lite AI model for soil analysis (planned feature)

πŸ“₯ Installation & Setup

1️⃣ Prerequisites

2️⃣ Clone the Repository

git clone https://github.com/yourusername/SoilGPT.git
cd SoilGPT

3️⃣ Install Dependencies

flutter pub get

4️⃣ Configure Firebase

  • Create a Firebase project and add an Android/iOS app.
  • Download the google-services.json (Android) or GoogleService-Info.plist (iOS) and place it in the appropriate folder (android/app/ or ios/Runner/).

5️⃣ Run the App

For Android:

flutter run

For iOS:

flutter run --no-codesign

πŸ”‘ App Signing & APK Build

1️⃣ Generate a Keystore File

keytool -genkey -v -keystore ~/my-release-key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias my-key-alias

2️⃣ Create a keystore.properties File

Inside android/, create keystore.properties:

storeFile=your_keystore_file_path
storePassword=your_keystore_password
keyAlias=your_key_alias
keyPassword=your_key_password

3️⃣ Build the APK

flutter build apk --release

or for Android App Bundle:

flutter build appbundle

πŸ–₯️ Project Structure

SoilGPT/
│── android/           # Android-specific code
│── ios/               # iOS-specific code
│── lib/               # Main Flutter application code
β”‚   β”œβ”€β”€ models/        # Data models
β”‚   β”œβ”€β”€ screens/       # UI screens
β”‚   β”œβ”€β”€ services/      # API & backend services
β”‚   β”œβ”€β”€ widgets/       # Reusable components
β”‚   β”œβ”€β”€ main.dart      # Entry point of the app
│── assets/            # Images, icons, and other assets
│── pubspec.yaml       # Dependencies and configuration
│── README.md          # Project documentation

πŸ›£οΈ Future Enhancements

  • πŸ“Έ Image-based soil detection using AI
  • 🌎 Region-based crop recommendation
  • πŸ“² Offline support for remote farmers
  • πŸ“Š Data visualization & soil health trends

πŸ“© Contributing

We welcome contributions! πŸš€

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature-xyz
  3. Commit your changes: git commit -m "Add feature XYZ"
  4. Push to the branch: git push origin feature-xyz
  5. Create a pull request.

πŸ“ License

This project is licensed under the MIT License.


πŸ“§ Contact

For queries, suggestions, or collaborations:
πŸ“§ Aakash Gupta – gzatrop@gmail.com
🌍 Project Repository – GitHub


About

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors