{"id":25065667,"url":"https://github.com/programming-sai/fertilizer-recommendation-system","last_synced_at":"2025-04-14T18:51:09.129Z","repository":{"id":268373563,"uuid":"904143712","full_name":"Programming-Sai/Fertilizer-Recommendation-System","owner":"Programming-Sai","description":"The Fertilizer Recommendation System is an expert system designed to recommend fertilizer mixes based on soil and crop analysis. This system processes input data from users, performs inference logic using an engine, and provides personalized fertilizer recommendations, including the necessary amounts of Nitrogen (N), Phosphorus (P), and Potassium (","archived":false,"fork":false,"pushed_at":"2025-02-02T12:54:23.000Z","size":12059,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T07:11:40.650Z","etag":null,"topics":["ai","expert-system","frontend-web","full-stack","team"],"latest_commit_sha":null,"homepage":"https://programming-sai.github.io/Fertilizer-Recommendation-System/","language":"JavaScript","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/Programming-Sai.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}},"created_at":"2024-12-16T10:33:02.000Z","updated_at":"2025-02-02T12:54:27.000Z","dependencies_parsed_at":"2025-01-31T10:27:53.621Z","dependency_job_id":"28a442ed-dca6-446a-8a9d-9a6f173625a3","html_url":"https://github.com/Programming-Sai/Fertilizer-Recommendation-System","commit_stats":null,"previous_names":["programming-sai/fertilizer-recommendation-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Programming-Sai%2FFertilizer-Recommendation-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Programming-Sai%2FFertilizer-Recommendation-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Programming-Sai%2FFertilizer-Recommendation-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Programming-Sai%2FFertilizer-Recommendation-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Programming-Sai","download_url":"https://codeload.github.com/Programming-Sai/Fertilizer-Recommendation-System/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248941480,"owners_count":21186914,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ai","expert-system","frontend-web","full-stack","team"],"created_at":"2025-02-06T19:44:43.405Z","updated_at":"2025-04-14T18:51:09.110Z","avatar_url":"https://github.com/Programming-Sai.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fertilizer Recommendation System - Expert System\n\n## Project Overview\n\nThe **Fertilizer Recommendation System** is an expert system designed to recommend fertilizer mixes based on soil and crop analysis. This system processes input data from users, performs inference logic using an engine, and provides personalized fertilizer recommendations, including the necessary amounts of Nitrogen (N), Phosphorus (P), and Potassium (K), as well as a suitable fertilizer type and application plan.\n\nThe project features two main download options for users:\n\n1. **Download JSON Report**: Users can download the detailed recommendation data in JSON format.\n2. **Download PDF Report**: A formatted, printable PDF report is available for download, including all recommendation details.\n\nThe expert system uses a simple rule-based inference engine to suggest optimal fertilizer choices. The system also allows for easy scalability and can be integrated with other soil and crop analysis technologies.\n\n## Key Features\n\n- Personalized fertilizer recommendations based on crop type and soil analysis.\n- NPK values and application modes included in recommendations.\n- Dynamic recommendations and reasoning for why a specific fertilizer was chosen.\n- Multiple report formats: JSON for raw data and PDF for a printable summary.\n- Mobile-friendly design with PDF scaling based on screen size.\n- Simple integration of the expert system for other agricultural applications.\n\n## Technologies Used\n\n- **Frontend**: React.js, React Router, html2canvas, jsPDF\n- **Backend (Inference Engine)**: Custom-built inference logic (assumed to be an external `inferRecommendations` function)\n- **Styling**: CSS\n- **Version Control**: GitHub\n\n## Installation \u0026 Setup\n\n### Prerequisites\n\n- **Node.js** (v16.0 or higher)\n- **npm** (Node package manager)\n\n### Setup Steps\n\n1. Clone this repository:\n\n   ```bash\n   git clone https://github.com/Programming-Sai/Fertilizer-Recommendation-System.git\n   cd Fertilizer-Recommendation-System\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   npm install\n   ```\n\n3. Run the app locally:\n\n   ```bash\n   npm run dev\n   ```\n\n   The app should now be available at `http://localhost:3000`.\n\n## How the System Works\n\n1. **Data Input**: The user provides crop type and soil data through a form.\n2. **Inference Engine**: The `inferRecommendations` function processes the input data and returns fertilizer recommendations.\n3. **Recommendation Display**: The frontend renders the recommendations, including NPK values, fertilizer type, and application details.\n4. **Download Options**:\n   - **JSON**: The user can download the recommendation data in JSON format for further analysis or record-keeping.\n   - **PDF**: The system generates a neatly formatted PDF containing the recommendations for printing.\n\nGot it! Here's an updated section that focuses on contributors adding a comprehensive knowledge base:\n\n---\n\n## Contributing\n\nWe welcome contributors to help enhance the system. Here's how you can contribute:\n\n1. **Fork the repository** and create your branch:\n\n   ```bash\n   git checkout -b add-knowledge-base\n   ```\n\n2. **Expand the knowledge base** by adding more rules, facts, or fertilizer recommendations based on different crop types and soil conditions. Ensure that the knowledge base is well-documented for easy understanding. (basically try and add as many combinations of the options in each field in the Knowledge base skeleton)\n\n3. **Commit your changes**:\n\n   ```bash\n   git commit -m \"Expand knowledge base with new fertilizer recommendations\"\n   ```\n\n4. **Push to your branch**:\n\n   ```bash\n   git push origin add-knowledge-base\n   ```\n\n5. **Open a pull request** to merge your changes into the `main` branch.\n\n## Expected Contributions\n\n- Expanding the knowledge base by adding new fertilizer recommendations for a variety of crops and soil conditions.\n- Updating existing rules with more detailed and accurate information.\n- Ensuring all additions are well-documented for future contributors.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogramming-sai%2Ffertilizer-recommendation-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogramming-sai%2Ffertilizer-recommendation-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogramming-sai%2Ffertilizer-recommendation-system/lists"}