πΏ 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 8000cd frontend
npm install
npm run dev # Starts on http://localhost:5173Create 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=supersecretkeyCreate 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_keycd frontend
npm run build
npx cap sync
npx cap open android # Opens Android StudioAgriSat/
βββ 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