Changelog - Bib 4.0

← Back to Bib
Version 4.0 LATEST November 21, 2025

🚀 Major Performance Optimization

  • Initial page load: 2,196x faster (from ~3000ms to ~1.4ms)
  • Memory usage: Reduced from 37MB to ~2KB on page load
  • Implemented indexed data loading system to avoid reading entire Bible file on every request
  • Created pre-generated index files that split Bible data by individual books
  • Page now loads only metadata (translations + book names) initially
  • Lazy-loads specific book data only when performing searches
  • Keyword searches load books one at a time to minimize memory footprint

🐛 Bug Fixes

  • Fixed UTF-8 encoding issues that prevented some books (like Exodus) from being properly indexed
  • Implemented proper handling of malformed UTF-8 characters in source data

🔧 Technical Changes

  • Added bible_loader.php - Efficient data loading class
  • Added generate_indexes.php - Index generation script
  • Created bible_index/ directory with 51 index files (~30MB total)
  • Modified core loading mechanism to use indexed system instead of full file parsing
  • Verse lookups now load only 1-2MB per book instead of entire 37MB file
  • No breaking changes to functionality, URLs, or user interface

📊 Performance Comparison

  • Old method: Read entire 37MB file on every page load
  • New method: Read ~2KB of metadata, load books only when needed
  • Result: Nearly instant page loads and dramatically reduced server load
Version 3.5 November 2025

✨ Features

  • Bible verse lookup with configurable context verses (before/after)
  • Keyword search across all translations
  • Support for 10 Bible translations:
    • King James Bible (KJV)
    • American Standard Version (ASV)
    • Douay-Rheims Bible (DRB)
    • Darby Bible Translation (DBT)
    • English Revised Version (ERV)
    • Webster Bible Translation (WBT)
    • World English Bible (WEB)
    • Young's Literal Translation (YLT)
    • American King James Version (AKJ)
    • Weymouth New Testament (WNT)
  • Floating study notes panel with drag-and-drop repositioning
  • Save notes to server anonymously
  • Download notes as text files
  • View saved notes from other users
  • CSV export functionality for search results
  • URL sharing for specific searches
  • Client-side result filtering
  • Usage statistics tracking (total hits, human hits, searches)
  • Bot detection for accurate analytics

🎨 User Interface

  • Clean, modern interface with purple accent colors
  • Responsive design for mobile and desktop
  • Toggle between verse lookup and keyword search modes
  • Translation abbreviations for easier selection
  • Real-time result count with filtering
Future Plans

Potential Future Enhancements

  • Advanced search operators (AND, OR, NOT)
  • Verse comparison view across translations
  • Reading plans
  • Bookmarking system
  • Dark mode

About Bib

Bib is a free, fast, and easy-to-use Bible search tool created by Amfile.org. Search across 10 Bible translations, save study notes, and share verses with ease.

Start Searching →