ChakriYamasani/Farming-Wisdom-Archive
๐พ 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
- Geo Location (automatic or manual)
- User Details (Name + optional Email)
- Category of corpus submitted
- Title & Description (content body)
- Optional media (image/audio)
๐ Tech Stack
- Python + Streamlit
- JSON-based local storage (offline-first)
- Geolocation via
geocoderor 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
pip install -r requirements.txtRun
streamlit run app/main.py๐ Project Structure
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.
