Problem: BibleWeb needs a high-quality, modern English Bible translation as its foundation. The translation must be freely available for use in a web application, closely aligned to the original Greek and Hebrew texts, and readable in contemporary English.
Solution: The Berean Standard Bible (BSB) serves as the default and primary English translation. Published by the Berean Bible Society (berean.bible), the BSB prioritizes accuracy to the source languages while remaining accessible to modern readers. It is freely licensed for use.
Not included: Other English translations (KJV, ESV, NIV, etc.) — those would require the multiple external translations infrastructure. The BSB is the built-in English text.
Every verse in BibleWeb has English text from the Berean Standard Bible. When users open any chapter, they see BSB text by default. The BSB is identified in the app settings, credited in the About section, and its text is used for search indexing.
User flow:
Edge cases:
bsb_gloss) used by the interlinear popupNo dedicated UI — BSB is the default state. Users see BSB text whenever the language is set to EN or Both.
Credits in Settings:
Data storage:
verses.text (TEXT NOT NULL) — every verse row always has BSB textbible_translations table, id=1, code='BSB', language='en', isDefault=trueverse_texts_fts with translation_id=1 for full-text searchgreek_words.bsb_gloss column stores BSB word alignments for the interlinear popupQuery optimization:
getVersesByChapter() in verses.ts short-circuits for BSB — reads directly from verses table without joining verse_texts (denormalized for performance)Persistence:
translation cookie (1-year, SameSite=Lax), localStorage, and optionally URL param ?translation=BSBData source: Imported from the Berean Bible Society's open-source dataset into verses.text at database seeding time.
Files:
packages/db/src/schema/bible.ts — verses.text column definitionapps/web/src/lib/server/queries/verses.ts — getVersesByChapter(), getVerse() with BSB short-circuitapps/web/src/routes/(app)/read/[[book]]/[[chapter]]/+page.server.ts — cookie-based translation selectionapps/web/src/routes/(app)/settings/+page.svelte — BSB credit in About sectionCurrent: DONE Milestone: Foundation (pre-v1) Priority: Core — the entire app is built on BSB text
History:
verses.text column has been stable since the initial database buildbsb_gloss) were added during the interlinear feature developmentDependencies: