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 - aimanfazal/terraq: Terraq is a satellite-powered agricultural analytics platform built with React, TypeScript, Mapbox, Google Earth Engine, and Gemini. It provides NDVI analysis, soil and climate data, land-use classification, satellite imagery, and AI-powered crop planning through an interactive map dashboard.

BranchesTags
Open more actions menu

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
api
api
 
 
public
public
 
 
scripts
scripts
 
 
src
src
 
 
supabase
supabase
 
 
.gitignore
.gitignore
 
 
20260520120000_enable_rls.sql
20260520120000_enable_rls.sql
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
bun.lock
bun.lock
 
 
bun.lockb
bun.lockb
 
 
components.json
components.json
 
 
eslint.config.js
eslint.config.js
 
 
index.html
index.html
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
postcss.config.js
postcss.config.js
 
 
tailwind.config.ts
tailwind.config.ts
 
 
tsconfig.app.json
tsconfig.app.json
 
 
tsconfig.json
tsconfig.json
 
 
tsconfig.node.json
tsconfig.node.json
 
 
ui-improvements-plan.md
ui-improvements-plan.md
 
 
vercel.json
vercel.json
 
 
vite.config.ts
vite.config.ts
 
 
vitest.config.ts
vitest.config.ts
 
 

Repository files navigation

Terraq

React TypeScript Vite TailwindCSS Mapbox Gemini EarthEngine License

Satellite-powered agricultural and land analytics platform. Draw regions on a map, get NDVI vegetation analysis, soil profiling, climate data, land use classification, and AI crop planning — all in one dashboard.

Stack

Layer Technology
Frontend React 18 + TypeScript 5 + Vite 5
Styling Tailwind CSS 3 + shadcn/ui
Mapping Mapbox GL JS 3
Backend Vercel Edge Functions (/api/*)
Satellite Google Earth Engine (Sentinel-2, ESA WorldCover, SRTM, CHIRPS)
AI Google Gemini 2.5 Pro
Weather Open-Meteo (free, no key)
Soil ISRIC SoilGrids (free, no key)

Local Development

Requires Vercel CLI to run the frontend and API routes together.

npm i -g vercel
git clone https://github.com/your-org/terraq
cd terraq
npm install

Create a .env file in the project root:

MAPBOX_TOKEN=pk.eyJ1...
GEE_PROJECT_ID=your-google-cloud-project-id
GEE_SERVICE_ACCOUNT_JSON={"type":"service_account","private_key":"-----BEGIN RSA PRIVATE KEY-----\n..."}
GEMINI_API_KEY=AIza...

GEE_SERVICE_ACCOUNT_JSON must be the full JSON key on a single line.

Link to Vercel (one-time):

vercel link   # Create new project, answer "no" to all customisation prompts

Run:

vercel dev    # http://localhost:3000

npm run dev starts Vite only — /api/* routes will not work without vercel dev.

Deployment

vercel deploy --prod

Set these in Vercel → Settings → Environment Variables:

Variable Required
MAPBOX_TOKEN Yes
GEE_PROJECT_ID Yes
GEE_SERVICE_ACCOUNT_JSON Yes
GEMINI_API_KEY Yes
VITE_SUPABASE_URL No
VITE_SUPABASE_PUBLISHABLE_KEY No

License

GNU AFFERO GENERAL PUBLIC LICENSE v3

About

Terraq is a satellite-powered agricultural analytics platform built with React, TypeScript, Mapbox, Google Earth Engine, and Gemini. It provides NDVI analysis, soil and climate data, land-use classification, satellite imagery, and AI-powered crop planning through an interactive map dashboard.

Topics

gemini-aigeospatialgoogle-earth-engineland-analysismapboxndvisatellite-imagery

Resources

Readme
AGPL-3.0 license
Activity

Stars

0 stars

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.