Guy McKechnieSoftware Engineer · PAS-SA
All Projects & Systems
Community Analytics PlatformLive in Production

The Bible Hub & Bot

Data-driven React analytics web application built with Plotly along with a Python Discord analytics bot serving 10,000+ community members.

Client / DomainCommunity Study Group (10k+ Members)
My RoleFull-Stack Developer & Bot Architect
Timeline2023 – 2024
External Links
The Bible Hub & Bot Production Interface Screenshot
FIGURE 1.0 // THE BIBLE HUB & BOT PRODUCTION INTERFACE VIEWTAGS: React · Plotly.js · Python · Discord.py · AsyncIO
Metrics // Quantifiable Outcomes

Production Impact

10,000+Members Served

Active community members using bot and web platform.

<1msSearch Latency

Instant client-side query execution across 31,000+ records.

LiveProduction Status

Actively accessible on GitHub Pages.

01 // Context & Problem

The Engineering Challenge

A digital study community of over 10,000 members needed interactive textual analysis, concordance cross-references, reading analytics, and real-time Discord bot commands to query text and study progress collaboratively.

02 // Architecture & Data Flow

System Design & Pipeline

A dual-component system comprising a static React/Plotly data explorer deployed on GitHub Pages and an asynchronous Python Discord bot.

[Community Members]
       |
       +---------------+---------------+
       |                               |
       v                               v
[React Web App & Plotly]     [Discord Bot (discord.py)]
- Pre-indexed Search Index    - Asynchronous Event Loop
- Frequency & Sentiment Viz   - Instant Inline Queries
- Cross-Reference Explorer    - Community Analytics

Step 01: Pre-indexed Client-Side Search

All 31,000+ verses are pre-indexed into memory for instantaneous client-side fuzzy searching without network latency.

Step 02: Interactive Visualizations

Plotly.js charts render book lengths, structural distributions, and vocabulary statistics.

Step 03: Asynchronous Discord Bot

discord.py worker handles thousands of concurrent member queries with sub-second response times.

03 // Implementation & Tradeoffs

Technical Decisions

React web client with Plotly.js charts, paired with Python 3 and discord.py utilizing asyncio.

Decision 01

In-memory trie search on static client

Rationale:

Enabled instant sub-millisecond search across the complete text corpus without requiring backend search infrastructure.

Trade-off Accepted:

Initial client download includes ~4MB compressed text data bundle.

Specification Sheet

Technical Stack

Languages
JavaScript · Python 3
Frameworks & Libs
React · Plotly.js · discord.py
Infrastructure
GitHub Pages · AsyncIO · VPS
Protocols & Formats
WebSockets · HTTPS
Testing & Profiling
Jest · pytest