Skip to content

khalecl/Khutbah

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

120 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“– Khutbah Live Translator v4.6

"And of His signs is the creation of the heavens and the earth and the diversity of your languages..." (Quran 30:22)

A free, open-source web app bringing live translation and spiritual resources to your Masjid.

๐ŸŒ Live Demo โ€ข ๐Ÿ“ฑ Install as Web App

Version License Status Languages


โœจ What's New in v4.6?

The ultimate spiritual companion for the Masjid โ€” now with 35+ languages and a complete Islamic toolkit:

Feature Description
๐ŸŒ 35+ Language UI Full app interface available in Amharic, Arabic, Azerbaijani, Bengali, Bosnian, Dutch, English, French, German, Gujarati, Hausa, Hindi, Indonesian, Italian, Japanese, Korean, Kurdish, Malayalam, Pashto, Persian, Polish, Portuguese, Punjabi, Russian, Somali, Spanish, Swahili, Tamil, Thai, Turkish, Urdu, Uzbek, and more!
๐Ÿ“– Quran Reader Built-in module with Arabic text, transliteration, and 30+ translation languages
๐Ÿคฒ Du'a Collection Curated library of Adhkar, Salah supplications & daily prayers with Arabic, transliteration, and meanings
๐Ÿ•Œ Prayer Times Accurate prayer time calculations with countdown to next prayer
๐Ÿงญ Qibla Compass Built-in Qibla direction indicator using device compass
๐ŸŽจ 6 Beautiful Themes Masjid Night, Desert Sand, Midnight Blue, Ottoman Rose, Pure Light, and Royal Purple
๐Ÿ”„ Dual Translation Engines Lingva + MyMemory fallback for maximum reliability
๐Ÿ“ถ Offline-First Smart caching for all content โ€” works even without internet
๐Ÿ”’ Privacy First Zero ads, zero tracking, no registration required

๐Ÿš€ Key Features

โšก Real-time Translation

Advanced speech-to-text and dual translation APIs deliver live sermon captions in real-time:

 01-live-translation

  • 35+ languages for app interface localization
  • Speech recognition for 30+ source languages (Arabic dialects, English, Urdu, Turkish, etc.)
  • Translation to 35+ target languages
  • Dual engine fallback (Lingva โ†’ MyMemory) ensures reliability

๐Ÿ“– Quran Reader

Read and listen to the Holy Quran with:  02-quran-reader

  • Arabic text with beautiful Amiri font
  • Transliteration for those learning Arabic
  • 30+ translation languages including English, Urdu, Arabic, Turkish, Indonesian, Hindi, Bengali, and more
  • Audio playback with multiple reciters (Alafasy, AbdulBasit, Hudhaify, Minshawi, As-Sudais, etc.)
  • Playback speed control (0.5x - 2x)

๐Ÿคฒ Du'a Collection

Curated library of essential supplications:  03-dua-collection-daily

  • Arabic text with transliteration
  • English/Hindi meanings for all duas
  • Categorized by type (Morning, Evening, Sleep, Food, Travel, etc.)
  • Searchable by category tags

๐Ÿ•Œ Prayer Times

Stay connected to prayer times:

 04-prayer-times-countdown

  • Automatic location detection
  • Multiple calculation methods (Umm Al-Qura, Egyptian, ISNA, etc.)
  • Countdown timer to next prayer
  • Hijri & Gregorian dates
  • Qibla compass direction indicator

 05-qibla-compass

๐Ÿ“ฑ PWA Ready

Add to your home screen for a native app experience:

  • Works offline with cached content
  • Full-screen immersive mode
  • Optimized for mobile browsers
  • No app store required

๐ŸŒ Supported Languages

The app interface is fully translated into 35+ languages:  06-settings-language

Language Code Status
Amharic am โœ…
Arabic ar โœ… Embedded
Azerbaijani az โœ…
Bengali bn โœ…
Bosnian bs โœ…
Dutch nl โœ…
English en โœ… Embedded
French fr โœ…
German de โœ…
Gujarati gu โœ…
Hausa ha โœ…
Hindi hi โœ…
Indonesian id โœ…
Italian it โœ…
Japanese ja โœ…
Korean ko โœ…
Kurdish ku โœ…
Malayalam ml โœ…
Pashto ps โœ…
Persian/Farsi fa โœ…
Polish pl โœ…
Portuguese pt โœ…
Punjabi pa โœ…
Russian ru โœ…
Somali so โœ…
Spanish es โœ…
Swahili sw โœ…
Tamil ta โœ…
Thai th โœ…
Turkish tr โœ…
Urdu ur โœ… Embedded
Uzbek uz โœ…

Note: Embedded languages (English, Arabic, Urdu) work offline without internet. Other languages load from the server but are cached for offline use.


๐Ÿ›  Tech Stack

Built lightweight and accessible for everyone:

Frontend:      HTML5 โ€ข CSS3 (Custom Variables) โ€ข JavaScript (Vanilla)
Typography:    Amiri (Arabic) โ€ข Outfit (Modern UI)
Deployment:    GitHub Pages
Architecture:  Progressive Web App (PWA)
APIs:         Web Speech API โ€ข Lingva Translation โ€ข MyMemory Translation
Prayer:        Aladhan API โ€ข OpenCompass

 07-settings-audio-config

๐Ÿ“ฅ Installation & How to Use

๐Ÿ”— Option 1: Web Browser (Easiest)

  1. Open https://khalecl.github.io/Khutbah on your mobile browser
  2. Select your preferred language from Settings
  3. Choose sermon source and translation languages
  4. Hold your phone near the speaker or use during waiting times

๐Ÿ“ฑ Option 2: Install as App (Recommended)

iOS Users:

  1. Open Safari
  2. Navigate to the app
  3. Tap the Share icon (โ†—๏ธ)
  4. Select "Add to Home Screen"
  5. Tap "Add"

Android Users:

  1. Open Chrome
  2. Navigate to the app
  3. Tap the three-dot menu (โ‹ฎ)
  4. Select "Install app" or "Add to Home Screen"
  5. Confirm installation

๐ŸŽจ Themes

The app comes with 6 beautiful themes optimized for different environments:

Theme Best For
๐Ÿ•Œ Masjid Night (Default) Dark mosque environments
๐Ÿœ๏ธ Desert Sand Warm, sandy environments
๐ŸŒŠ Midnight Blue Late-night reading
๐ŸŒน Ottoman Rose Elegant, royal feel
โ˜€๏ธ Pure Light Daytime use, bright environments
๐Ÿ‘‘ Royal Purple Purple lovers

๐Ÿค Contribute (Sadaqah Jariyah)

This is a Sadaqah Jariyah (ongoing charity) built for the sake of Allah.

How You Can Help:

๐Ÿ‘จโ€๐Ÿ’ป Developers

  • Fork the repo and submit PRs
  • Improve translation logic
  • Add new features

๐ŸŒ Translators

  • Refine existing translations
  • Add new language files to lang/ folder
  • Improve Du'a translations

๐Ÿ“ฃ Everyone

  • Share with your local Masjid
  • Spread the word on social media
  • Report bugs and suggest features

Adding New Languages

To add a new language:

  1. Create a new file in lang/ folder (e.g., lang/fr.json)
  2. Copy the structure from lang/en.json
  3. Translate all keys to your target language
  4. Add the language to the LANGUAGE_NAMES object in index.html
  5. Submit a pull request!

"Whoever guides someone to goodness will have a reward like whoever did it." โ€” Prophet Muhammad (๏ทบ)


๐Ÿ“„ License

MIT License ยฉ 2024-2025 Dr. Khaled Diab

This project is open-source and free to use, modify, and distribute.


๐Ÿ“ฉ Contact & Support

Created with ๐Ÿ’š by Dr. Khaled Diab

LinkedIn GitHub

If this tool helped you or your community, please keep me and my family in your Du'as. ๐Ÿคฒ


โญ If you find this project useful, please consider giving it a star!

About

A free, open-source web app bringing live translation and spiritual resources to your Masjid

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages