Fix Greek word lookup: replace broken Bolls BDAG with OpenScriptures Strong's dictionary

The Bolls.life BDAG endpoint (/dictionary-definition/BDAG/) now returns
empty arrays for all queries, and the search endpoint returns 404.

Switched Greek lookups to the OpenScriptures Strong's Greek Dictionary
served via jsDelivr CDN. The ~1.2 MB dictionary is fetched once on first
lookup and cached in a useRef for the session, so subsequent lookups are
instant. Hebrew lookups (Bolls BDBT) are unchanged and still working.

Supports Strong's number lookup (G4102, 4102) and English word search
(faith, apostle), returning lemma, transliteration, short definition,
and an extended definition with derivation and KJV keyword list.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
nmemmert
2026-05-28 07:49:55 -04:00
parent 6034aa26a2
commit 48b3790cd2
2 changed files with 69 additions and 25 deletions
+2 -1
View File
@@ -5,7 +5,8 @@
"name": "study-app",
"runtimeExecutable": "npm",
"runtimeArgs": ["run", "dev"],
"port": 5173
"port": 5173,
"autoPort": false
}
]
}