No description
  • TypeScript 54.4%
  • Vue 32.3%
  • JavaScript 8.6%
  • HTML 2.7%
  • CSS 2%
Find a file
2026-02-14 07:12:14 +01:00
app Init 2026-02-14 05:01:31 +01:00
scripts Init 2026-02-14 05:01:31 +01:00
.gitignore Init 2026-02-14 05:01:31 +01:00
package.json Init 2026-02-14 05:01:31 +01:00
README.md Update readme 2026-02-14 07:12:14 +01:00
tailwind.config.js Init 2026-02-14 05:01:31 +01:00
tsconfig.json Init 2026-02-14 05:01:31 +01:00
vite.config.js Init 2026-02-14 05:01:31 +01:00

Bible Reader

Lightweight Web-App for bible reading

  • Supports transliterated search text
  • Favourites Bible list
  • No backend, no PHP only static files
  • Installable as offline App on Smarthones

Installation

Extract biblereader-v####.tgz and bibiles.tgz to root of Web-Server with folder structure:

\
  index.html
  manifest.json
  ...
  lang\
    langiages.json
  bible\
    bibles.json
    en_KJV1769.json
    de_LUT.json

Modify index.html and update og:url and og:image sections to fully support preview.

Optional: enable static compression support on server

If you own VPS server you should enable static compression support for faster download:

For Apache2 in file .htaccess:

<IfModule mod_rewrite.c>
  RewriteEngine On

  # Check if the browser supports gzip
  RewriteCond %{HTTP:Accept-Encoding} gzip
  # Check if a .gz version of the file exists
  RewriteCond %{REQUEST_FILENAME}.gz -s
  # Serve the .gz file instead
  RewriteRule ^(.+)$ $1.gz [L]

  # Set the correct Content-Encoding header so the browser knows to unzip it
  <FilesMatch "\.gz$">
    ForceType text/plain
    AddEncoding gzip .gz
  </FilesMatch>
</IfModule>

For nginx add gzip_static on; in http section

Build

pnpm i
npx vite build

Add bible modules

# donload and convert module to dist/bibile/
# or to app/public/bibile/ if want to include bible in release file
node scripts/convert.ts "https://www.ph4.org/_dl.php?back=bbl&a=KJV1769_plus_&b=mybible&c" dist/bibile/
# if you have extracted MyBible file
node scripts/convert.ts tmp/KJV1769.SQLite3 dist/bibile/

# Create index file: bibles.json
node script/createindex.js dist/bibile