From 214d4c565bf5dbf7279aa66fbbd4c3518df1d246 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 30 Nov 2025 01:18:06 -0500 Subject: [PATCH] Add offline debug page with service worker status and cached pages list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Shows service worker registration status - Lists all cache storage names - Checks if Bible data (31,102 verses) is cached - Displays all cached pages grouped by category (clickable links) - Shows online/offline connection badge - Includes Bible reader for reading any chapter from cached JSON Visit /offline to see what's available without internet. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- kjvstudy_org/templates/offline.html | 365 +++++++++++++++++++++------- 1 file changed, 274 insertions(+), 91 deletions(-) diff --git a/kjvstudy_org/templates/offline.html b/kjvstudy_org/templates/offline.html index a75e153..fccf1b6 100644 --- a/kjvstudy_org/templates/offline.html +++ b/kjvstudy_org/templates/offline.html @@ -3,7 +3,7 @@ - Offline Bible Reader - KJV Study + Offline Mode - KJV Study -

Bible Reader Offline

-

King James Version - Available without internet

+

Offline Mode checking...

+

KJV Study - Available without internet

+

Service Worker Status

+
+
+
Service Worker
+
Checking...
+
Cache Storage
+
Checking...
+
Bible Data (verses-1769.json)
+
Checking...
+
Pages Cached
+
Checking...
+
+
+ +

Cached Pages 0

+

These pages are available offline:

+ + +

Bible Reader

+

Read any chapter using cached Bible data: