šæ Official Logo & Favicon: favicon.ico
Empowering farmers with Satellite Precision, AI-Driven Diagnostics, and Real-Time Market Intelligence.
AgriSat is a production-grade, multi-platform ecosystem that bridges advanced space technology with ground-level farming. By combining Sentinel-2 satellite imagery, TensorFlow-powered crop disease detection, and hyper-local weather intelligence, AgriSat gives every farmer actionable insights to maximize yield and minimize risk.
| Feature | Description |
|---|---|
| š°ļø NDVI Satellite Monitor | Real-time crop health via Sentinel-2 L2A data with interactive field mapping |
| š§ AI Crop Diagnosis | Deep learning disease detection with treatment plans |
| š Smart Market Prices | Live mandi rates + price trend predictions + profit calculator |
| ā Agri Weather | 7-day hyper-local forecasts with spray/sow decision windows |
| š Govt Scheme Finder | Real-time DBT subsidy & benefit alerts |
| š± Knowledge Hub | Cultivation guides, pest management library |
| š± PWA + Native App | Offline-ready, installable PWA + Android via Capacitor |
| š Multi-lingual | English, Hindi, Odia (i18n) |
graph TD
subgraph Client ["š„ļø Frontend ā React 18 + Vite"]
UI[Glass UI / Tailwind CSS]
Map[Leaflet / NDVI Maps]
i18n[i18next ā Multi-lingual]
PWA[Service Worker / PWA]
end
subgraph Server ["āļø Backend ā FastAPI / Python"]
Auth[JWT Authentication]
ML[AI/ML Engine ā TensorFlow]
Sentinel[Sentinel Hub Service]
Weather[Weather Aggregator]
News[News Proxy API]
end
subgraph Data ["š¾ Data Layer"]
DB[(PostgreSQL / SQLite)]
S2[Sentinel-2 Satellite]
OW[OpenWeatherMap API]
Market[Agri Market APIs]
end
Client <-->|REST / JSON| Server
Server <--> DB
Sentinel <--> S2
Weather <--> OW
Frontend:
- Framework: React 18 + Vite 5
- Styling: Tailwind CSS + Framer Motion + Glassmorphism Design System
- Maps: Leaflet + React-Leaflet (NDVI overlay)
- Charts: Chart.js + React-Chartjs-2
- Mobile: Capacitor 7 (Android/iOS native bridge)
- PWA: Workbox + Custom Service Worker
Backend:
- Framework: FastAPI (Python 3.10+)
- ORM: SQLModel (SQLAlchemy + Pydantic)
- Database: SQLite (dev) / PostgreSQL+PostGIS (prod)
- Services: SentinelHub SDK, Loguru, JWT Auth, Passlib
DevOps:
- Frontend Host: Vercel (Edge CDN)
- Backend Host: Render / DigitalOcean
- DB: Supabase (PostgreSQL)
- Node.js v18+
- Python v3.10+
- Sentinel Hub API credentials (optional ā mock NDVI available)
- OpenWeatherMap API key
cd backend python -m venv venv source venv/bin/activate # Windows: venv\Scripts\activate pip install -r requirements.txt cp .env.example .env # Fill in your credentials uvicorn main:app --reload --port 8000
cd frontend npm install npm run dev # Starts on http://localhost:5173
Create AgriSat/.env (root):
DATABASE_URL=sqlite+aiosqlite:///./agrisat.db SENTINELHUB_CLIENT_ID=your_id SENTINELHUB_CLIENT_SECRET=your_secret OPENWEATHER_API_KEY=your_key JWT_SECRET=supersecretkey
Create frontend/.env:
VITE_API_URL=http://localhost:8000 VITE_WEATHER_API_KEY=your_key VITE_MARKET_API_KEY=your_key VITE_PLANTNET_API_KEY=your_key VITE_GNEWS_API_KEY=your_key VITE_YOUTUBE_API_KEY=your_key
cd frontend npm run build npx cap sync npx cap open android # Opens Android Studio
AgriSat/
āāā backend/
ā āāā routes/ # Auth, Farms, NDVI, Weather, Market, AI
ā āāā models.py # SQLModel schemas
ā āāā sentinel_service.py
ā āāā weather_service.py
ā āāā main.py # FastAPI entry point
āāā frontend/
ā āāā public/
ā ā āāā favicon.ico # ā Official Brand Icon
ā ā āāā logo.png # ā Primary Logo
ā ā āāā manifest.json
ā āāā src/
ā āāā components/ # Reusable UI (Header, BottomNav, Cards...)
ā āāā pages/ # Dashboard, NDVI, Weather, Market...
ā āāā index.css # Global Design System (tokens, glass, neon)
āāā capacitor.config.json
| Method | Endpoint | Auth | Description |
|---|---|---|---|
| POST | /auth/signup |
ā | Register new user |
| POST | /auth/login |
ā | Get JWT token |
| GET | /farms/ |
ā | List user farms |
| POST | /farms/ |
ā | Create farm boundary |
| POST | /ndvi/analyze |
ā | Run satellite NDVI scan |
| POST | /ndvi/ml/classify |
ā | ML crop classification |
| POST | /ndvi/yield/predict |
ā | Yield prediction |
| GET | /weather |
ā | Hyper-local forecast |
| GET | /api/news |
ā | Agricultural news feed |
| GET | /market/prices |
ā | Commodity market rates |
| Layer | Recommended Service |
|---|---|
| Frontend | Vercel |
| Backend | Render or Railway |
| Database | Supabase (PostgreSQL + PostGIS) |
| Files | Cloudinary / Supabase Storage |
Made with ā¤ļø for the Global Farming Community by Subhranshu Nanda
AgriSat ā Where Satellites Meet the Soil