An interactive visualization for exploring the Bible through semantic relationships and full-text search.
Explore Bible chapters through a force-directed graph of semantic relationships:
- Subjects (orange) -> Verbs (purple) -> Objects (green) -> Chapters (red)
- Each chapter is summarized in 5 words using AI
- Click nodes to drill down through concept chains
- Filter by book, search for specific terms
Full-text search across all 31,102 verses:
- Find every chapter containing a word
- See verse context with highlighted matches
- Browse popular words sidebar
Kindle-style reading experience:
- Clean typography with adjustable font size
- Previous/Next navigation with keyboard shortcuts
- Jump to any book and chapter directly
Listen to chapters read aloud:
- Text-to-speech with streaming playback
- Starts playing within seconds
- Pause/resume support
View the Bible Semantic Network
-
Clone the repository:
git clone https://github.com/akingry/bible-semantic-network.git cd bible-semantic-network -
Install dependencies (for TTS):
pip install edge-tts aiohttp
-
Start the server:
python server.py
Or use the batch file:
run_visualization.bat
-
Open the URL shown in the terminal (auto-opens browser)
- D3.js - Force-directed graph visualization
- spaCy - NLP parsing for semantic extraction
- Edge TTS - Microsoft's free text-to-speech API
- aiohttp - Async HTTP server for streaming audio
- Vanilla JS/CSS - No framework dependencies
- 1,189 chapters with AI-generated 5-word summaries
- 31,102 verses indexed for concordance search
- ~2,400 semantic nodes (subjects, verbs, objects)
- Bible text: NASB (New American Standard Bible)
See BUILD.md for detailed instructions on:
- Generating chapter summaries with local LLM
- Building the semantic network
- Creating the concordance index
MIT License - See LICENSE for details.
Created by Adam Kingry