The Original Douay-Rheims Bible online: the first complete English Catholic Bible, translated from the Latin Vulgate between 1582 and 1610. Read at thedouayrheims.com.
npm install
npm run dev
The dev server runs at http://localhost:5173.
npm run build
The prebuild step (scripts/prepare-data.ts) compiles raw source data into optimised JSON bundles consumed at runtime. This runs automatically before every build.
Deployments are handled by GitHub Actions on push to main. The workflow:
npm run buildSecrets required: CLOUDFLARE_API_TOKEN, CLOUDFLARE_ACCOUNT_ID, CLOUDFLARE_ZONE_ID.
src/
routes/ # SvelteKit pages and API endpoints
odr/ # Bible reader (routed through Worker for cache safety)
compare/ # Side-by-side translation comparison
search/ # Full-text search
history/ # Editorial articles on the Bible's history
lib/
components/ # Shared UI components
data/ # Data loaders and type definitions
scripts/
prepare-data.ts # Build-time data pipeline
static/ # Favicons, webmanifest, robots.txt
ODR chapter pages (/odr/*/*) are served through the Cloudflare Worker rather than as static assets. This ensures the HTML always references the current build's asset hashes, preventing stale-chunk MIME errors when Cloudflare's CDN caches old HTML.
All rights reserved. Source available for reference.