divan/api/src
Anas Rashid 13610569cc deploy/sync.sh: daily Wikisource -> divan-data -> PostgreSQL sync for the server
- updates a divan-data checkout, fetches new/edited works (incremental), rebuilds, upserts
  into Postgres; optional commit/push of data (DIVAN_DATA_PUSH=1); flock against overlap
- import prints progress only on a terminal
Validated locally: full run 1m46s, 382 poets / 11,087 poems imported.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 21:00:15 +02:00
..
db.ts Divan v2: Node.js API + PostgreSQL (proof of concept) 2026-10-08 20:24:20 +02:00
import.ts deploy/sync.sh: daily Wikisource -> divan-data -> PostgreSQL sync for the server 2026-10-08 21:00:15 +02:00
server.ts Show Gregorian (عیسوی) years alongside Hijri for poets 2026-10-08 20:53:53 +02:00
urdu.test.ts Divan v2: Node.js API + PostgreSQL (proof of concept) 2026-10-08 20:24:20 +02:00
urdu.ts Divan v2: Node.js API + PostgreSQL (proof of concept) 2026-10-08 20:24:20 +02:00