GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - subhranshu-dev/AgriSat: AI-powered precision agriculture platform leveraging satellite imagery, crop health analytics, disease detection, weather intelligence, and smart farming insights.

BranchesTags
Open more actions menu

Latest commit

 

History

62 Commits
62 Commits

Folders and files

NameName
Last commit message
Last commit date
backend
backend
 
 
frontend
frontend
 
 
node_modules
node_modules
 
 
.gitignore
.gitignore
 
 
NULL
NULL
 
 
README.md
README.md
 
 
agrisat.db
agrisat.db
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

šŸ›°ļø AgriSat — Precision Agriculture Intelligence Platform

AgriSat Logo


🌿 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.


✨ Key Features

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)

šŸ—ļø Architecture

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
Loading

šŸ› ļø Tech Stack

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)

šŸš€ Getting Started

Prerequisites

  • Node.js v18+
  • Python v3.10+
  • Sentinel Hub API credentials (optional — mock NDVI available)
  • OpenWeatherMap API key

1. Backend Setup

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

2. Frontend Setup

cd frontend
npm install
npm run dev                     # Starts on http://localhost:5173

3. Environment Variables

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

šŸ“± Mobile (Android) Deployment

cd frontend
npm run build
npx cap sync
npx cap open android            # Opens Android Studio

šŸ“‚ Project Structure

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

šŸ”Œ API Reference

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

ā˜ļø Production Deployment

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

About

AI-powered precision agriculture platform leveraging satellite imagery, crop health analytics, disease detection, weather intelligence, and smart farming insights.

agri-sat.vercel.app

Topics

agritechcrophealthcropmonitoringearth-observationgeospatialndviprecision-agricultureremote-sensingsentinel-2smartfarmingweatherdata

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Ɨ600. No cookies required.