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.