Public
Like
AgriAi
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
index.ts
https://morispolanco--afe643f034c811f08b609e149126039e.web.val.run
A comprehensive application to help farmers monitor and manage pests and diseases in their crops efficiently.
- Image Recognition: Upload photos of plants to identify pests and diseases
- Diagnosis & Identification: AI-powered analysis to identify issues affecting crops
- Treatment Recommendations: Get specific recommendations for managing identified problems
- Monitoring & Tracking: Track the health of crops over time with historical data
- Educational Resources: Access guides and information about agricultural best practices
├── backend/
│ ├── database/ # Database schema and queries
│ ├── routes/ # API route handlers
│ └── index.ts # Main API entry point
├── frontend/
│ ├── components/ # UI components
│ ├── index.html # Main HTML template
│ └── index.tsx # Frontend entry point
└── shared/
└── types.ts # Shared type definitions
- Backend: Hono.js, SQLite, OpenRouter AI API
- Frontend: React, TailwindCSS
- Image Analysis: OpenGVLab InternVL3-14B model via OpenRouter
- Visit the application URL
- Upload an image of your crop showing signs of pest or disease
- Review the AI-generated diagnosis
- Follow the recommended treatment options
- Track progress by maintaining a history of your crop's health
This application uses the OpenRouter AI API with the InternVL3-14B model for image analysis and recognition.