Session Flow
Cadastre o cliente uma vez e a agenda do mês se monta sozinha, com o valor de cada sessão. Veja quem já pagou, quanto falta receber e cobre pelo WhatsApp.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗An India-first farm decision-support app: private field records, crop-photo checks, satellite views, local weather, mandi prices, government scheme information, planning, voice and 22 Indian languages, built to work on low-end phones and patchy networks.
Live: krishyak.vercel.app (farmer
workspace at /app/today, scenario planning at /app/more/planning).
Start here: Technical design document · Sample data and test cases · Demo farm, no sign-in · License: Apache-2.0
Release status, 10 October 2026: PR #1 and PR #2 are merged into main,
which deploys production automatically. Farmer accounts are enabled in
production on Neon Postgres + PostGIS, Upstash Redis and private Vercel Blob
storage, with passkey sign-in. A live browser journey (sign-up, weather, photo
check, satellite job, market, account deletion) passed against production.
Field validation with farmers, native-language review and agronomist review
have not happened yet; see known limitations.
Permissions (location, analysis, satellite, speech) are asked in context with a reason and can be withdrawn in Settings.
sin1) with SQLAlchemy/PostGIS, Alembic
migrations (v2_0001–v2_0010), opaque hashed sessions, CSRF and Origin
binding, and WebAuthn passkeys.CRON_SECRET); a dedicated worker process is also supported.See architecture, API, security and deployment.
The disease model is publisher-efficientnet-colab-v1 (EfficientNetV2B0,
38 classes, 14 crops): 94.39% validation, 93.71% internal test and 57.21% on
the external PlantDoc set (n=229). It abstains below 0.75 confidence or on a
crop mismatch; on the internal test it answers 88.7% of photos at 98.5%
accuracy, and on PlantDoc it cuts confident wrong answers from 42.8 to 5.2 per
100 photos. It has not been validated on Indian farm
photos, so results are presented as a first opinion with expert confirmation.
Disease care steps and weather advice are conservative drafts without product
names or doses and need agronomist review. Satellite indices cannot diagnose
disease, nutrients, yield or irrigation needs. Planning economics are
assumptions and uncertainty estimates, not guarantees.
Live-verified on 9–10 October 2026: Copernicus, Sarvam, Open-Meteo, private Blob storage, Neon and Upstash. data.gov.in's API host refused connections throughout, so live mandi data is unverified; the market screen says so and serves stored prices marked stale when available.
Use Python 3.12, Node 22+ and Docker Desktop. Install
backend/requirements-dev.txt in a venv and run npm ci in frontend. Full
configuration is in deployment.
docker compose -p krishyak-v2 --env-file .codex-tmp/v2-local.env -f docker-compose.v2.yml up -d
python scripts/run_v2_local.py migrate
python scripts/run_v2_local.py api
# Separate terminals:
python scripts/run_v2_local.py worker
cd frontend
npm run build
npm start
Local development may use synthetic test mobiles with code 123456 (no SMS is
sent); deployments reject that configuration. Never commit env files, photos,
tokens or backups.
Copy backend/.env.example to an ignored .env (every variable is documented
there) and frontend/.env.example to frontend/.env.local. The ones that
matter most:
| Variable | Where | Required | Purpose |
|---|---|---|---|
SECRET_KEY | API | yes | Signing key for legacy endpoints |
CORS_ORIGINS | API | yes | Exact frontend origins; also the passkey relying parties |
KRISHYAK_V2_ENABLED | API | for accounts | Turns on the v2 farmer workspace |
V2_DATABASE_URL (or DATABASE_URL) | API | for accounts | PostgreSQL + PostGIS |
V2_REDIS_URL (or KV_URL / REDIS_URL) | API | for accounts | Usage budgets and rate limits |
V2_AUTH_SECRET | API | for accounts | Session secret, 32+ random characters |
V2_STORAGE_PROVIDER, BLOB_READ_WRITE_TOKEN | API | for photos | local, s3 or vercel_blob private photo storage |
CRON_SECRET, V2_WORKER_MODE | API | for jobs | Daily worker call and worker mode (request or dedicated) |
KRISHYAK_PROXY_SECRET | API and frontend | recommended | HMAC key for the signed client header |
REMOTE_SENSING_ENABLED, CDSE_CLIENT_ID, CDSE_CLIENT_SECRET | API | optional | Copernicus Sentinel-2 satellite evidence |
SARVAM_API_KEY | API | optional | Voice input and read-aloud |
DATA_GOV_IN_API_KEY | API | optional | AGMARKNET mandi prices |
KRISHYAK_API_ORIGIN | frontend | yes in production | Where src/proxy.js forwards /api/v2 and /api/public |
Without the optional keys the app still runs; the matching screens say the source is unavailable instead of inventing data. Production settings are in deployment.
python -m unittest discover in backend/ (PostGIS integration tests need
V2_TEST_DATABASE_URL), npm test, npm run build and npm run test:e2e in
frontend/ (Chromium, Firefox, WebKit and a Pixel 7 profile).scripts/smoke_staging.py and
V2_E2E_STAGING=true npx playwright test e2e/staging.spec.js --project=chromium./health/live is liveness; /health/ready checks the schema head, PostGIS,
Redis and the worker (heartbeat, or no stranded jobs in request mode).Krishyak is open source under the Apache License 2.0. See NOTICE for attribution and third-party data and font licences.