From 40838b45170f92a4d78d78b53dcf3d2900ac0d85 Mon Sep 17 00:00:00 2001 From: Alejandro Repetto Date: Sun, 7 Jun 2026 06:22:47 -0300 Subject: [PATCH] =?UTF-8?q?docs:=20rewrite=20README=20=E2=80=94=20award=20?= =?UTF-8?q?story,=20NASA=20data,=20architecture,=20setup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 132 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 130 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e2823cc..8b29b1e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,130 @@ -# NASA_SpaceApps2025 -Challenge: NASA Farm Navigators: Using NASA Data Exploration in Agriculture +
+ +# ๐ŸŒพ FarmHero + +**NASA Space Apps Challenge 2025 โ€” Rosario Winner ๐Ÿ† & Global Nominee ๐ŸŒ** + +[![Live Demo](https://img.shields.io/badge/demo-live-success?logo=vercel)](https://farmhero-sepia.vercel.app) +[![NASA Space Apps](https://img.shields.io/badge/NASA%20Space%20Apps-2025-0B3D91?logo=nasa)](https://www.spaceappschallenge.org/) +[![Next.js](https://img.shields.io/badge/Next.js-15-black?logo=next.js)](https://nextjs.org/) +[![TypeScript](https://img.shields.io/badge/TypeScript-5-3178C6?logo=typescript)](https://www.typescriptlang.org/) + +*A turn-based farm management simulator that uses real NASA Earth observation data to teach sustainable agriculture decisions.* + +[**โ–ถ Play now โ†’**](https://farmhero-sepia.vercel.app) + +
+ +--- + +## ๐ŸŒ The Challenge + +**"Farm Navigators: Using NASA Data Exploration in Agriculture"** + +Smallholder farmers in Argentina and LATAM manage critical decisions โ€” irrigation, crop rotation, nitrogen management โ€” with little access to actionable Earth-science data. FarmHero bridges that gap with a playable simulation that puts NASA satellite insights into practice. + +--- + +## ๐ŸŽฏ What FarmHero Does + +FarmHero is a **browser-based educational simulator** where players manage a 9-plot farm across multiple seasons. Every decision has real-world consequences based on NASA and CONAE Earth data: + +- ๐ŸŒฑ **Choose crops** across 9 plots โ€” each with growth stages and phenological data +- ๐Ÿ’ง **Manage resources** โ€” water, nutrients, soil health, soil capital, and money +- ๐Ÿ”„ **Plan crop rotation** โ€” to prevent soil degradation across seasons +- ๐Ÿ’ก **Learn irrigation methods** โ€” from drip irrigation to flood, with water-efficiency tradeoffs +- ๐Ÿ„ **Handle livestock decisions** โ€” understand nutrient cycles and environmental impact +- ๐ŸŒฟ **Optimize nitrogen management** โ€” balance yield and environmental footprint +- ๐Ÿ“ **Select your region** โ€” different climate zones affect every strategy +- ๐Ÿ“Š **Review season reports** โ€” learn what worked and why + +--- + +## ๐Ÿ›ฐ๏ธ NASA Data Integration + +FarmHero was built around the **NASA Space Apps challenge**, using Earth observation data to drive game mechanics: + +| Data Source | Used For | +|---|---| +| NASA Earth observation datasets | Crop growth models, regional climate parameters | +| Phenological data | Seasonal crop stage progression | +| CONAE (Argentine Space Agency) | Regional soil and precipitation context | + +--- + +## ๐Ÿ—๏ธ Architecture + +``` +FarmHero (Next.js 15, TypeScript) +โ”œโ”€โ”€ app/ +โ”‚ โ”œโ”€โ”€ page.tsx โ€” Game state machine (welcome โ†’ region โ†’ dashboard โ†’ results) +โ”‚ โ””โ”€โ”€ layout.tsx โ€” Root layout +โ”œโ”€โ”€ components/ +โ”‚ โ”œโ”€โ”€ farm-dashboard.tsx โ€” Main gameplay loop +โ”‚ โ”œโ”€โ”€ farm-map.tsx โ€” 9-plot grid visualization +โ”‚ โ”œโ”€โ”€ crop-selector.tsx โ€” Crop choice UI +โ”‚ โ”œโ”€โ”€ resource-panel.tsx โ€” Water / nutrients / money / sustainability +โ”‚ โ”œโ”€โ”€ season-report.tsx โ€” End-of-season review +โ”‚ โ”œโ”€โ”€ phenology-display.tsx โ€” NASA-driven crop stage visualization +โ”‚ โ”œโ”€โ”€ region-selection.tsx โ€” Climate zone selection +โ”‚ โ””โ”€โ”€ ... โ€” irrigation, livestock, nitrogen, tooltips +โ”œโ”€โ”€ types/ +โ”‚ โ”œโ”€โ”€ region.ts โ€” Regional definitions +โ”‚ โ””โ”€โ”€ crops.ts โ€” Crop types and seasons +โ””โ”€โ”€ lib/ + โ””โ”€โ”€ utils.ts +``` + +--- + +## ๐Ÿš€ Run Locally + +**Prerequisites:** Node.js 18+ ยท pnpm (or npm) + +```bash +git clone https://github.com/Repetto-A/FarmHero.git +cd FarmHero +pnpm install +pnpm dev +# Open http://localhost:3000 +``` + +```bash +pnpm build # Production build +pnpm start # Production server +``` + +--- + +## ๐Ÿ† Hackathon Story + +FarmHero was built in 48 hours at **NASA Space Apps Challenge 2025** in Rosario, Argentina. + +- ๐Ÿฅ‡ **Won the Rosario local event** โ€” selected as the top project +- ๐ŸŒ **Global Nominee** โ€” advanced to the worldwide round +- ๐ŸŽฏ **Challenge:** Farm Navigators โ€” NASA Data Exploration in Agriculture +- ๐Ÿ“‹ [See the full presentation](./Presentacion%20.pdf) + +The core insight: agricultural education doesn't require expensive tools. A well-designed browser simulation using real satellite data can teach sustainable farming decisions to anyone with a smartphone. + +--- + +## ๐Ÿค Team + +Built at NASA Space Apps Rosario 2025. See [presentation PDF](./Presentacion%20.pdf) for full team credits. + +--- + +## ๐Ÿ“„ License + +MIT โ€” see [LICENSE](./LICENSE) for details. + +--- + +
+ +**โญ Star this repo if FarmHero inspired you!** + +[Live Demo](https://farmhero-sepia.vercel.app) ยท [NASA Space Apps](https://www.spaceappschallenge.org/) ยท [Report an issue](https://github.com/Repetto-A/FarmHero/issues) + +