{"id":50293251,"url":"https://github.com/arikmukherjee/holy-bible-reader","last_synced_at":"2026-05-28T07:06:08.069Z","repository":{"id":352694021,"uuid":"1216234368","full_name":"arikmukherjee/Holy-Bible-Reader","owner":"arikmukherjee","description":"KJV Bible","archived":false,"fork":false,"pushed_at":"2026-04-20T17:50:47.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-20T19:38:05.293Z","etag":null,"topics":["bible-api","html-css-javascript","json-api","kjv-bible","license"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arikmukherjee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-20T17:48:23.000Z","updated_at":"2026-04-20T17:55:35.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/arikmukherjee/Holy-Bible-Reader","commit_stats":null,"previous_names":["arikmukherjee/holy-bible-reader"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/arikmukherjee/Holy-Bible-Reader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arikmukherjee%2FHoly-Bible-Reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arikmukherjee%2FHoly-Bible-Reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arikmukherjee%2FHoly-Bible-Reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arikmukherjee%2FHoly-Bible-Reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arikmukherjee","download_url":"https://codeload.github.com/arikmukherjee/Holy-Bible-Reader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arikmukherjee%2FHoly-Bible-Reader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33597897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bible-api","html-css-javascript","json-api","kjv-bible","license"],"created_at":"2026-05-28T07:06:05.047Z","updated_at":"2026-05-28T07:06:08.060Z","avatar_url":"https://github.com/arikmukherjee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📖 Holy Bible Reader\n\nA clean, responsive Bible reading web app — no frameworks, no dependencies beyond Google Fonts.\n\n## 🗂 Folder Structure\n\n```\nHoly-Bible-Reader/\n├── index.html\n├── css/\n│   └── styles.css\n├── js/\n│   └── script.js\n└── data/\n    └── bible.json      ← Bible text lives here\n```\n\n## 🚀 Running the App\n\n**Option 1 — VS Code Live Server**\nRight-click `index.html` → Open with Live Server.\n\n**Option 2 — Python HTTP server**\n```bash\ncd bible-app\npython3 -m http.server 8080\n# Open http://localhost:8080\n```\n\n**Option 3 — Node.js**\n```bash\nnpx serve bible-app\n```\n\n\u003e ⚠️ Must be served over HTTP (not opened as a `file://` URL) because the app\n\u003e fetches `bible.json` via `fetch()`.\n\n---\n\n## 📊 Expanding bible.json — Full Bible\n\nThe included `bible.json` has: **Genesis 1–3, Psalms 23, John 1, John 3, Revelation 1**.\n\n### Data format\n\n```json\n{\n  \"Genesis\": {\n    \"1\": [\n      \"In the beginning God created the heaven and the earth.\",\n      \"And the earth was without form...\"\n    ],\n    \"2\": [ \"verse 1\", \"verse 2\", \"...\" ]\n  },\n  \"Matthew\": {\n    \"1\": [ \"The book of the generation of Jesus Christ...\", \"...\" ]\n  }\n}\n```\n\n- **Top-level key** = Book name (must match `BIBLE_BOOKS` array in `script.js`)\n- **Second-level key** = Chapter number as a **string** (`\"1\"`, `\"2\"`, …)\n- **Value** = Array of verse strings (0-indexed, verse 1 = index 0)\n\n### Free KJV sources\n\n| Source | Notes |\n|--------|-------|\n| [Getbible.net API](https://getbible.net/api) | JSON API, KJV available |\n| [Bible-api.com](https://bible-api.com) | Simple REST API |\n| [eBible.org](https://ebible.org/find/show.php?id=kjv) | Downloadable text |\n| [openbible.info](https://www.openbible.info/labs/kjv-text/) | Plain text |\n\n### Bulk import script (Node.js example)\n\n```js\n// fetch-bible.mjs — run once to build bible.json\nconst BASE = 'https://bible-api.com';\nconst books = ['Genesis','Exodus','Matthew','Mark']; // extend as needed\nconst out = {};\n\nfor (const book of books) {\n  out[book] = {};\n  // Fetch chapter count from your metadata source\n  for (let ch = 1; ch \u003c= 3; ch++) {\n    const r = await fetch(`${BASE}/${book}+${ch}`);\n    const d = await r.json();\n    out[book][String(ch)] = d.verses.map(v =\u003e v.text.trim());\n  }\n}\n\nimport { writeFileSync } from 'fs';\nwriteFileSync('data/bible.json', JSON.stringify(out));\n```\n\n---\n\n## ✨ Features\n\n| Feature | How it works |\n|---------|-------------|\n| 📚 66 Books | All listed in sidebar; grayed out if not yet in JSON |\n| 🔍 Search | Searches all loaded chapters; highlights matches |\n| 🌙 Dark Mode | Persisted in localStorage |\n| 🔖 Bookmarks | Per-verse, stored in localStorage |\n| 📊 Progress | Mark chapters read; progress bar per book |\n| 📋 Copy | Copies verse + reference to clipboard |\n| 🔤 Font size | ±2px per click, persisted |\n| 📱 Responsive | Collapsible sidebar, mobile-friendly |\n\n---\n\n## 🎨 Customisation\n\n**Change fonts** — edit CSS variables in `styles.css`:\n```css\n--font-reading: 'EB Garamond', Georgia, serif;\n--font-display: 'Cinzel', serif;\n```\n\n**Change accent colour:**\n```css\n--accent: #8b5e2f;   /* warm brown — change to any hex */\n```\n\n**Change base font size:**\n```css\n--font-size-base: 19px;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farikmukherjee%2Fholy-bible-reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farikmukherjee%2Fholy-bible-reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farikmukherjee%2Fholy-bible-reader/lists"}