No description
  • Go 90.9%
  • Shell 7.9%
  • Dockerfile 0.7%
  • PLpgSQL 0.5%
Find a file
Shajal Shaheduzzaman 8b6c934430
All checks were successful
CI/CD Pipeline / build-and-test (push) Successful in 15s
CI/CD Pipeline / package-docker (push) Successful in 39s
CI/CD Pipeline / deploy-dev (push) Successful in 4s
CI/CD Pipeline / deploy-beta (push) Has been skipped
CI/CD Pipeline / deploy-prod (push) Has been skipped
feat(sqlitegen): Generate Quran DB workflow with per-environment files
The app's encrypted quran_<version>.db is now built per environment, from
that environment's database and with the key its API serves, and published
with a latest.json the app pipeline can read:

- dev: sqlitegen runs in the dev container on the homelab (dev Postgres,
  dev key) and writes to its sqllite_files folder; versions continue from
  the newest file there (0.0.41).
- prod: this commit's image runs on the runner with the Neon URL and key
  read from Key Vault, and the file goes to the Blob container quran-db;
  versions start at 1.0.0.

A published version is never overwritten. The table list moves from .env
to deploy/sqlite/tables.json so both environments ship the same tables, and
sqlitegen now refuses to run without it instead of writing a file with no
tables. provision.sh creates the quran-db container and lets the deploy
principal read the vault.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011YrC9ALGMfDdu4Yas9ffbK
2026-11-30 16:47:20 +00:00
.forgejo/workflows feat(sqlitegen): Generate Quran DB workflow with per-environment files 2026-11-30 16:47:20 +00:00
.github/workflows Added local mount for sqlite file 2026-05-23 17:04:53 +01:00
.vscode Added local mount for sqlite file 2026-05-23 17:04:53 +01:00
cmd feat(prod): Neon DATABASE_URL, Blob profile pictures, Azure deploy jobs 2026-11-28 22:08:26 +00:00
deploy feat(sqlitegen): Generate Quran DB workflow with per-environment files 2026-11-30 16:47:20 +00:00
docs feat: implement CI/CD pipeline, swagger documentation automation, and project environment settings 2026-05-27 12:57:11 +01:00
internal feat(sqlitegen): Generate Quran DB workflow with per-environment files 2026-11-30 16:47:20 +00:00
migrations fix(sync): require last_stat_synced and cap favorite note length 2026-10-18 14:47:59 +01:00
.dockerignore fix(sync): require last_stat_synced and cap favorite note length 2026-10-18 14:47:59 +01:00
.env feat(sqlitegen): Generate Quran DB workflow with per-environment files 2026-11-30 16:47:20 +00:00
.env.example feat(sqlitegen): Generate Quran DB workflow with per-environment files 2026-11-30 16:47:20 +00:00
.gitignore fix: harden sync, rate limiting, uploads, and sqlitegen per security review 2026-10-16 16:13:21 +01:00
auth_api.json feat: initialize API server with JWKS auth, rate limiting, and robust routing infrastructure 2026-06-12 17:34:03 +01:00
docker-compose.dev.yml feat: implement audio handler and endpoints for lemma, word, and ayah retrieval 2026-06-09 20:58:36 +01:00
Dockerfile fix: harden sync, rate limiting, uploads, and sqlitegen per security review 2026-10-16 16:13:21 +01:00
go.mod fix: harden sync, rate limiting, uploads, and sqlitegen per security review 2026-10-16 16:13:21 +01:00
go.sum fix: harden sync, rate limiting, uploads, and sqlitegen per security review 2026-10-16 16:13:21 +01:00