CoolFace
Apppublic

ChakriYamasani/Farming-Wisdom-Archive

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
App README

๐ŸŒพ Farming Wisdom Archive

A multilingual, open-source Streamlit application to collect, preserve, and share traditional Indian agricultural knowledge โ€” including farming techniques, home remedies relevant to farming, local crop wisdom, and related folk stories or proverbs. Built for offline-first, low-bandwidth use so contributors in under-connected regions can participate. Also serves as a corpus collection engine for open-source AI research aligned with the viswam.ai challenge.


๐ŸŒŸ Purpose

Preserve Indiaโ€™s agricultural heritage by crowdsourcing ancestral farming wisdom in multiple Indian languages. Every submission helps build an open dataset for language technology, agricultural studies, and AI models that understand Indian contexts.


โœ… Key Features (MVP)

  • โ€”User contributions: title + description/body text
  • โ€”Geo Location: auto-detected (IP) with manual override
  • โ€”User Details: contributor name + optional email
  • โ€”Category selection (Farming Technique, Home Remedy, Folk Story, Proverb, Other)
  • โ€”Optional image/audio upload
  • โ€”Local JSON storage (offline-friendly)
  • โ€”Browse community entries
  • โ€”Data export (JSONL / CSV) for corpus building
  • โ€”Sidebar navigation + โ€œComing Soonโ€ future features

๐Ÿ“‹ Mandatory Fields per Submission

  1. 1.Geo Location (automatic or manual)
  2. 2.User Details (Name + optional Email)
  3. 3.Category of corpus submitted
  4. 4.Title & Description (content body)
  5. 5.Optional media (image/audio)

๐Ÿ›  Tech Stack

  • โ€”Python + Streamlit
  • โ€”JSON-based local storage (offline-first)
  • โ€”Geolocation via geocoder or IP lookup fallback (requests)
  • โ€”Media saved locally (future: cloud object storage)
  • โ€”Deployment: Hugging Face Spaces (Streamlit template)
  • โ€”Planned AI: language detection, translation, summarization, audio transcription

๐Ÿš€ Getting Started

Prerequisites

Python 3.9+ recommended.

Install

bash
pip install -r requirements.txt

Run

bash

streamlit run app/main.py

๐Ÿ“‚ Project Structure

bash

farming-wisdom-archive/
โ”œโ”€โ”€ app/
โ”‚   โ”œโ”€โ”€ main.py             # Streamlit app (with Geo + User details)
โ”‚   โ””โ”€โ”€ helpers.py          # Utility functions (validation, geolocation helpers, etc.)
โ”œโ”€โ”€ data_entries/           # JSON + media (created at runtime; may use /tmp on HF)
โ”œโ”€โ”€ .streamlit/             # Optional Streamlit config
โ”œโ”€โ”€ README.md               # Project overview (this file)
โ”œโ”€โ”€ REPORT.md               # Full 4-week lifecycle + metrics
โ”œโ”€โ”€ requirements.txt        # Python dependencies
โ”œโ”€โ”€ CONTRIBUTING.md         # How to contribute
โ”œโ”€โ”€ CHANGELOG.md            # Version history
โ”œโ”€โ”€ LICENSE                 # MIT License

๐Ÿงช Week 2 Beta Testing Checklist

Collect at least 10 real submissions (different users)

Test low-bandwidth (hotspot / 2G)

Confirm geolocation writes to JSON

Confirm user name/email saved

Validate categories render in Browse view

Log bugs & fixes in CHANGELOG.md

๐Ÿ“ˆ Weeks 3โ€“4 Growth Strategy Snapshot

Share link via WhatsApp community groups

Partner with local schools / NGOs for collection drives

Run โ€œRecord your grandmotherโ€™s farming wisdomโ€ campaign

Track metrics: unique users, entries, languages, media attachments, geo coverage

๐Ÿ”ฎ Roadmap (Post-MVP)

AI language auto-detect + suggested translation

Summaries for long agricultural narratives

Speech-to-text for oral histories

Contributor profiles & community badges

Cloud sync for persistent corpus

๐Ÿ“„ License

Released under the MIT License. See LICENSE for full text.