Skip to content

πŸ“– Explore sacred texts from 6 major world religions - Quran, Bible, Bhagavad Gita, Torah, Guru Granth Sahib, Dhammapada. Features 100+ translations, Quran audio recitations, and dark/light themes.

Notifications You must be signed in to change notification settings

ai-dev-2024/HoliBooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

23 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

HoliBooks Banner

πŸ“– HoliBooks

Universal Access to Spiritual Wisdom

πŸš€ Live Site: https://holibooks.vercel.app

Version License Vercel PWA Languages Last Updated

Visit Live Site

🌐 Live Demo β€’ πŸ“š Documentation β€’ πŸš€ Getting Started β€’ 🀝 Contributing


🌟 About

HoliBooks is a modern, beautifully designed web application that provides universal access to sacred texts from the world's major religions. Our mission is to make spiritual wisdom accessible to everyone, everywhere, in their preferred language.

Experience timeless teachings from Islam, Christianity, Hinduism, Judaism, Sikhism, and Buddhism through an elegant, distraction-free interface designed for contemplative reading.

✨ Key Highlights

  • 🌍 300+ Languages - Read in your native tongue
  • πŸ“± Progressive Web App - Install on any device
  • 🎨 Stunning Design - Glass morphism UI with aurora gradients
  • πŸ” Smart Search - Find verses instantly with Ctrl+K
  • πŸ”– Bookmarks - Save and organize your favorite passages
  • πŸŒ™ Dark/Light Themes - Comfortable reading day or night
  • ⚑ Lightning Fast - Optimized vanilla JavaScript
  • πŸ”Š Audio Recitations - Listen to sacred verses
  • πŸ“± Desktop/Mobile Toggle - Switch between optimized layouts
  • πŸ“Š API Monitoring - Real-time health status of all data sources

πŸš€ Features

🌍 Universal Language Support (300+ Languages)

Access sacred texts in your preferred language with comprehensive multi-language support:

Religion Sacred Text Languages Available
β˜ͺ️ Islam Holy Quran 90+ languages including Arabic, English, Urdu, French, Spanish, Indonesian, and more
✝️ Christianity Holy Bible 200+ versions including KJV, NIV, ESV, and translations in 100+ languages
πŸ•‰οΈ Hinduism Bhagavad Gita Sanskrit, English, Hindi, and other Indian languages
✑️ Judaism Torah Hebrew, English, Yiddish, and Ladino
πŸͺ― Sikhism Guru Granth Sahib Gurmukhi, English, and Punjabi
☸️ Buddhism Tripitaka/Dhammapada Pali, English, and other Buddhist canonical languages

πŸ“± Progressive Web App

HoliBooks works seamlessly across all devices with full PWA capabilities:

  • βœ… Works Offline - Complete offline fallback data for uninterrupted reading
  • βœ… Installable - Add to home screen on iOS, Android, and Desktop
  • βœ… Fast Loading - Optimized assets and lazy loading
  • βœ… Native Experience - Feels like a native app
  • βœ… Automatic Updates - Always get the latest version

πŸ” Smart Search & Deep Linking

Powerful discovery tools for deeper engagement:

  • Global Search (Ctrl+K) - Search across all texts instantly
  • Deep Linking - Share specific verses with URL parameters
  • Smart Suggestions - Intelligent search with autocomplete

πŸ“– Complete Offline Access

Never lose access to spiritual wisdom:

  • Fallback Data - All 6 religions have complete offline data
  • Cached Content - Previously viewed content available offline
  • No Internet Required - Core functionality works without connection

🎨 Beautiful Design System

Every pixel crafted for spiritual contemplation:

  • Glass Morphism UI - Modern translucent elements with backdrop blur
  • Aurora Gradient Backgrounds - Ethereal animated color flows
  • Custom SVG Icons - Beautiful handcrafted icons (no emojis)
  • 3D Card Effects - Interactive hover animations with depth
  • Smooth Transitions - 60fps animations throughout

πŸŒ“ Dark/Light Themes

Comfortable reading in any environment:

  • Automatic Detection - Respects system preferences
  • Manual Override - Toggle anytime with one click
  • Persistent Preference - Remembers your choice across sessions

πŸ“Š Reading Progress Tracking

Track your spiritual journey:

  • Progress Indicators - Visual progress bars for each text
  • Resume Reading - Pick up where you left off
  • Completion Stats - Track your reading achievements

πŸ”– Bookmarks & History

Organize your spiritual exploration:

  • One-Click Bookmarking - Save verses instantly
  • Organized Collections - Categorize by religion or theme
  • Reading History - Recently viewed passages
  • Export/Import - Backup your bookmarks

πŸ“± Desktop/Mobile View Toggle

Optimized experience for every screen:

  • Responsive Layouts - Adaptive design for all devices
  • View Toggle - Switch between desktop and mobile layouts
  • Touch Optimized - Gesture support for mobile devices
  • Keyboard Navigation - Full keyboard support for desktop

πŸ”Œ API Health Monitoring

Stay informed about data sources:

  • Real-Time Status - Live monitoring of all APIs
  • Visual Indicators - Color-coded health status
  • Automatic Fallbacks - Seamless switching to offline data
  • Uptime Statistics - Track API reliability

🌐 Language Support Matrix

Detailed breakdown of language support by religion:

Religion Primary Languages Translation Coverage
Islam (Quran) Arabic, English, Urdu, French, Spanish, Indonesian, Turkish, Bengali, Russian, Chinese 90+ translations with audio recitations
Christianity (Bible) English, Spanish, Portuguese, French, German, Chinese, Korean, Japanese, Arabic, Hindi 200+ versions across 100+ languages
Hinduism (Bhagavad Gita) Sanskrit, English, Hindi, Tamil, Telugu, Kannada, Malayalam, Gujarati, Bengali Original Sanskrit with multiple translations
Judaism (Torah) Hebrew, English, Yiddish, Ladino, Spanish, French, Russian, German Traditional and modern translations
Sikhism (Guru Granth Sahib) Gurmukhi, English, Punjabi, Hindi, Spanish, French Original Gurmukhi with transliterations
Buddhism (Dhammapada) Pali, English, Spanish, French, German, Chinese, Japanese, Thai, Sinhala Canonical Pali texts with translations

πŸ“Έ Screenshots

Home Page Quran Reader Mobile View Dark Mode
Home Quran Mobile Dark
Elegant landing with 3D cards Immersive reading experience Perfect on all devices Easy on the eyes

πŸš€ Getting Started

Prerequisites

  • Node.js 16+ (for local development server)
  • Modern web browser (Chrome 90+, Firefox 88+, Safari 14+, Edge 90+)
  • Internet connection (for initial API data)

Installation

  1. Clone the repository

    git clone https://github.com/ai-dev-2024/HoliBooks.git
    cd HoliBooks
  2. Start development server

    node serve.js
  3. Open in browser Navigate to http://localhost:3000

Development

# Run local development server
node serve.js

# Test API endpoints
node test-apis.js

# Open browser at http://localhost:3000

Deployment

Deploy to Vercel

# Install Vercel CLI (if not already installed)
npm i -g vercel

# Deploy to production
npx vercel --prod

Or connect your GitHub repository to Vercel for automatic deployments on every push.

Manual Deployment

# Build for production (if build step exists)
npm run build

# Deploy static files to any static hosting
# (Vercel, Netlify, GitHub Pages, etc.)

πŸ—οΈ Architecture

Technology Stack

HoliBooks is built with modern web technologies while maintaining zero dependencies:

HTML5 CSS3 JavaScript Vercel PWA Vanilla JS

Why Vanilla JavaScript?

  • Zero Dependencies - No framework bloat
  • Lightning Fast - No build step required
  • Future Proof - Uses native Web APIs
  • Easy to Contribute - No framework knowledge needed
  • Small Bundle Size - Optimal performance

API Integrations

HoliBooks integrates with multiple APIs to provide comprehensive religious text data:

Quran API

Bible API

  • Provider: Bible API
  • Source: JSDelivr CDN
  • Features: 200+ versions, multiple languages

Bhagavad Gita API

Torah API

  • Provider: Bible API
  • Source: JSDelivr CDN
  • Features: Hebrew and English texts

Guru Granth Sahib API

Tripitaka/Dhammapada

  • Source: Embedded JSON data with complete offline fallback
  • Features: Pali canon with English translations

File Structure

HoliBooks/
β”œβ”€β”€ index.html              # Landing page with religion selector
β”œβ”€β”€ serve.js                # Local development server (Node.js)
β”œβ”€β”€ test-apis.js            # API endpoint testing
β”œβ”€β”€ css/
β”‚   β”œβ”€β”€ global.css          # Global styles, CSS variables, themes
β”‚   └── animations.css      # Animation keyframes and effects
β”œβ”€β”€ js/
β”‚   β”œβ”€β”€ utils.js            # Shared utilities, theme management
β”‚   β”œβ”€β”€ audio-player.js     # Audio player component
β”‚   β”œβ”€β”€ language-selector.js # Language selection component
β”‚   β”œβ”€β”€ bookmarks.js        # Bookmark management system
β”‚   └── search.js           # Global search functionality
β”œβ”€β”€ religions/              # Individual religion readers
β”‚   β”œβ”€β”€ islam/              # Quran reader (quran.html, quran.css, quran.js)
β”‚   β”œβ”€β”€ christianity/       # Bible reader (bible.html, bible.css, bible.js)
β”‚   β”œβ”€β”€ hinduism/           # Gita reader (gita.html, gita.css, gita.js)
β”‚   β”œβ”€β”€ judaism/            # Torah reader (torah.html, torah.css, torah.js)
β”‚   β”œβ”€β”€ sikhism/            # Gurbani reader (gurbani.html, gurbani.css, gurbani.js)
β”‚   └── buddhism/           # Tripitaka reader (tripitaka.html, tripitaka.css, tripitaka.js)
β”œβ”€β”€ assets/
β”‚   β”œβ”€β”€ images/             # Images and screenshots
β”‚   └── icons/              # Custom SVG icons
└── data/                   # Offline fallback data

🌐 Browser Support

HoliBooks supports all modern browsers:

Browser Version Support
Chrome 90+ βœ… Full Support
Firefox 88+ βœ… Full Support
Safari 14+ βœ… Full Support
Edge 90+ βœ… Full Support
Opera 76+ βœ… Full Support
Samsung Internet 15+ βœ… Full Support

Note: Internet Explorer is not supported.


🀝 Contributing

We welcome contributions from the community! Here's how you can help:

Getting Started

  1. Fork the repository
  2. Create a feature branch
    git checkout -b feature/amazing-feature
  3. Make your changes
  4. Commit your changes
    git commit -m "Add amazing feature"
  5. Push to your fork
    git push origin feature/amazing-feature
  6. Open a Pull Request

Contribution Guidelines

  • Follow the existing code style
  • Write clear commit messages
  • Test your changes across browsers
  • Update documentation if needed
  • Be respectful and inclusive

Areas for Contribution

  • 🌍 Translations - Help translate the UI into more languages
  • 🎨 Design - Improve UI/UX with new ideas
  • πŸ› Bug Fixes - Report and fix issues
  • ✨ Features - Suggest and implement new features
  • πŸ“– Documentation - Improve docs and guides

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

MIT License

Copyright (c) 2026 HoliBooks Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

πŸ™ Acknowledgments

HoliBooks would not be possible without the following amazing resources and contributors:

API Providers

Open Source Libraries

  • Google Fonts - Beautiful typography (Amiri, Inter, Noto Sans)
  • Vercel - Hosting and deployment platform

Special Thanks

  • All contributors who have helped improve HoliBooks
  • The open source community for inspiration and support
  • Users around the world who use HoliBooks for their spiritual practice
  • Religious scholars who have preserved and translated these sacred texts

⬆ Back to Top

Made with ❀️ for spiritual seekers everywhere

GitHub stars GitHub forks

About

πŸ“– Explore sacred texts from 6 major world religions - Quran, Bible, Bhagavad Gita, Torah, Guru Granth Sahib, Dhammapada. Features 100+ translations, Quran audio recitations, and dark/light themes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published