Commit Graph

958 Commits

Author SHA1 Message Date
kennethreitz feb40f5ce8 Reorganize stats and indexes under /about/ namespace
Changed URLs:
- /stats → /about/stats
- /indexes/commentary → /about/commentary
- /indexes/cross-references → /about/cross-references

Creates a cleaner URL structure with all informational/meta pages
grouped under /about/.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 18:08:31 -05:00
kennethreitz 2343fcf923 Move commentary and cross-references indexes to /indexes/ namespace
Changed URLs from:
- /commentary → /indexes/commentary
- /cross-references → /indexes/cross-references

Updated stats page links to use new URLs. Old routes removed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 18:06:58 -05:00
kennethreitz 560f3b9e2a Add table of contents to commentary and cross-references indexes
Added a TOC at the top of both index pages with:
- Grid layout showing all books with commentary/cross-references
- Anchor links to jump directly to each book section
- Hover effects for better UX
- Responsive design that adapts to screen width

Makes it much easier to navigate to a specific book without scrolling.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 18:02:02 -05:00
kennethreitz edbe4a2624 Sort commentary and cross-references indexes in biblical order
Changed both index pages to display books in biblical order (OT then NT)
instead of alphabetical order. Now starts with Genesis and ends with
Revelation, matching the order readers expect.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 17:56:19 -05:00
kennethreitz 048b0d331a Fix URL encoding for book names with spaces in index pages
Updated both commentary and cross-references index templates to use:
- Proper URL format: /book/{book}/chapter/{chapter}/verse/{verse}
- urlencode filter to handle spaces in book names (e.g., "1 Chronicles")

Previously used incorrect format /book/{book}/{chapter}:{verse} which
caused 422 errors for books with spaces in their names.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 17:54:55 -05:00
kennethreitz cbe1ec7f0d Add cross-references index page at /cross-references
New browseable index showing all 24,900 verses with cross-references:

Features:
- Organized by book and chapter
- Shows reference count per verse (blue badge)
- Links to individual verse pages
- Coverage statistics (80% of Bible)
- 120,858 total cross-references
- Clean, scannable interface

Route: GET /cross-references
Template: cross_references_index.html

Updates to stats page:
- Link to /commentary index
- Link to /cross-references index
- Link to /strongs concordance

This completes the major indexes for discovering
content - users can now browse all commentary,
cross-references, and Strong's entries systematically.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 17:50:08 -05:00
kennethreitz 4e827a1b6b Add commentary index page at /commentary
New browseable index showing all 12,330 verses with commentary:

Features:
- Organized by book and chapter
- Shows verse counts per chapter
- Links to individual verse pages
- Coverage statistics (39.6% of Bible)
- Clean, scannable interface

Route: GET /commentary
Template: commentary_index.html

Also linked from /stats page for easy discovery.

This gives users a systematic way to browse all
commentary content instead of discovering it
verse-by-verse.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 17:44:09 -05:00
kennethreitz 5e650890c7 Add comprehensive /about page
Detailed information about KJV Study including:

- What KJV Study is and key statistics
- Open source section (prominent) with GitHub link
- Creator information
- Theological approach and convictions
- Data sources and attributions
- Technical architecture details
- Contributing guidelines
- Privacy policy and analytics opt-out
- Resource links including /stats page

Highlights:
- Emphasizes free and open source nature
- Links to GitHub repository
- Explains conservative evangelical theological stance
- Credits all data sources (TSK, Strong's, etc.)
- Clear privacy commitments
- Encourages community contributions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 17:41:18 -05:00
kennethreitz 90abb8347f Add comprehensive /stats page with site metrics
Hidden statistics page (not linked in navigation) displaying:

Bible Text Statistics:
- 31,102 verses across 66 books
- 1,189 chapters
- 783,137 words total
- Averages per verse and chapter

Verse Commentary:
- 66 books with commentary files
- 12,330 verses covered (39.6% of Bible)
- 3.4M words of theological analysis
- Avg 278 words per commented verse

Cross-References:
- 66 book files
- 24,900 verses with cross-references (80% coverage)
- 120,858 total references
- Avg 4.9 references per verse

Language Tools:
- 8,674 Hebrew Strong's entries
- 5,624 Greek Strong's entries
- 14,298 total concordance entries
- 12 MB interlinear data (compressed)

Study Resources:
- 36 study guides
- 36 topics
- 39 resource files
- 24 Bible stories
- 127 biographies
- 6 reading plans

Technical Data:
- 361 total JSON files
- 58.1 MB total data size
- 150+ book abbreviations

Access via /stats (hidden, not linked in nav)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 17:37:40 -05:00
kennethreitz d439acbdea Add hidden analytics opt-out feature via ?kr=1 parameter
Users can now disable analytics by visiting homepage with ?kr=1:
- Detects ?kr=1 parameter and sets localStorage + cookie
- Analytics script checks both before loading
- Persists across sessions (10 year cookie + localStorage)
- ?kr=0 re-enables analytics if needed
- Clean URL redirect after setting preference
- Fully client-side, privacy-focused implementation

Technical details:
- localStorage primary (instant, no server traffic)
- Cookie fallback (315360000s = 10 years)
- window.analyticsDisabled flag for runtime checks
- Gauges analytics respects opt-out flag

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 17:27:43 -05:00
kennethreitz 387b2eee13 Add verse commentary for Habakkuk and Haggai, update data README
- Add habakkuk.json with 5 key verses (1:2, 1:5, 2:4, 3:17-18)
- Add haggai.json with 5 key verses (1:4, 1:6, 2:4, 2:9)
- Now have complete 66/66 books with verse commentary
- Update README.md with accurate file counts and sizes
  - 359 JSON files total (was: 107)
  - 58 MB total size (was: 2.2 MB)
  - Document new Strong's Concordance and schemas
  - Fix verse commentary coverage details

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 17:25:16 -05:00
kennethreitz 2f7ff6cd83 Update README.md with comprehensive data overview and new Strong's Concordance details 2025-12-01 17:17:29 -05:00
kennethreitz bab69a756f Remove nginx configs 2025-12-01 14:28:05 -05:00
kennethreitz b8e4ce1a91 Remove start.sh entrypoint 2025-12-01 14:27:56 -05:00
kennethreitz 603613cac1 Remove nginx from production image 2025-12-01 14:26:46 -05:00
kennethreitz 3f01bb2352 Enrich topic pages with verse text 2025-12-01 13:48:47 -05:00
kennethreitz 963170efd9 Remove outdated commentary files for gospels and commentary completion report 2025-12-01 12:34:32 -05:00
kennethreitz de035c57e5 Refactor cross-reference data handling to support directory structure and legacy file fallback 2025-11-30 22:55:45 -05:00
kennethreitz 2d7e9843b0 updates to data storage 2025-11-30 21:26:59 -05:00
kennethreitz aed6c90c9e fix 2025-11-30 13:31:50 -05:00
kennethreitz 9466da7cc0 Refactor resource reading logic to improve selection handling and enhance text extraction from articles 2025-11-30 13:26:25 -05:00
kennethreitz 3681359291 Enhance resource reader functionality and improve selection handling across templates 2025-11-30 12:59:41 -05:00
kennethreitz 937d98517b Refactor HTML templates to wrap descriptions in paragraph tags and enhance selection handling in JavaScript for improved accessibility and styling. 2025-11-30 12:34:38 -05:00
kennethreitz 62fe33ce6b Include resource cards in selection/reading 2025-11-30 12:20:14 -05:00
kennethreitz d4e7fd1a1d Read highlighted or first resource card on space 2025-11-30 12:19:19 -05:00
kennethreitz ac8c9020a1 Default resource reader to enabled (opt-out via data flag) 2025-11-30 12:17:31 -05:00
kennethreitz c20abcb4b3 Mark resource index selections and enable reader 2025-11-30 12:16:30 -05:00
kennethreitz aa7445f9f3 Strip scripts/styles from resource speech text 2025-11-30 12:14:43 -05:00
kennethreitz 8c2dffd968 Move study guide reader flag into content 2025-11-30 12:14:14 -05:00
kennethreitz 42a8146814 Mark selected paragraphs in study guide detail 2025-11-30 12:12:42 -05:00
kennethreitz 82791cc48e Enable resource reader on study guide detail 2025-11-30 12:10:24 -05:00
kennethreitz 740bcff07c Add selected class to resource navigation selections 2025-11-30 12:09:50 -05:00
kennethreitz 962d88459d Mark topic selections for spacebar reading 2025-11-30 12:08:12 -05:00
kennethreitz 3abdd05425 Set resource reader flag in topic detail content 2025-11-30 12:07:00 -05:00
kennethreitz 7f769d003b Enable resource reader on topic detail pages 2025-11-30 12:03:13 -05:00
kennethreitz 96c6eaf560 Read full article when no selection on resource pages 2025-11-30 12:02:20 -05:00
kennethreitz d5c10ac403 Implement dedicated resource speech playback 2025-11-30 12:00:28 -05:00
kennethreitz 5c32441ae5 Make back link selectable on resource detail 2025-11-30 11:59:03 -05:00
kennethreitz a3ca2c6c48 Mark selected resource detail items for spacebar reading 2025-11-30 11:58:24 -05:00
kennethreitz 0168e9fdba Make resource reader respect selected elements and body descriptions 2025-11-30 11:53:08 -05:00
kennethreitz 5deca15718 Wrap resource descriptions in paragraphs 2025-11-30 11:51:23 -05:00
kennethreitz cfc7d46f7c Read article-scoped content for resource spacebar 2025-11-30 11:50:36 -05:00
kennethreitz 37ccdc0f55 Enable resource reader flag on detail pages 2025-11-30 11:49:59 -05:00
kennethreitz d358e3a832 Broaden resource reader selectors for div descriptions 2025-11-30 11:48:45 -05:00
kennethreitz a7cb9aee9f Expand resource reader to description divs 2025-11-30 11:48:12 -05:00
kennethreitz e88ef39a82 Include headings with content when reading resource pages 2025-11-30 11:46:45 -05:00
kennethreitz a4373efa58 Prepend page headings to resource spacebar reading 2025-11-30 11:44:46 -05:00
kennethreitz 619eaf8070 Make resource spacebar read full page when unselected 2025-11-30 11:43:30 -05:00
kennethreitz 04a693870b Add resource reader spacebar support on reference pages 2025-11-30 11:42:44 -05:00
kennethreitz 93c5c70cb9 Update spacebar reading behavior for chapters 2025-11-30 11:36:19 -05:00