Skip to content

πŸ•Œ Transform VS Code into a spiritual environment: High-quality Quran Player, Accurate Prayer Times, Auto-Azkar, and Islamic Focus Tools for Muslim Developers.

License

Notifications You must be signed in to change notification settings

kareem2099/codetune

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

30 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ•Œ CodeTune - Islamic Coding Companion

CodeTune Logo

Version VS Code License

Transform your VS Code into a spiritual environment. Authentic Islamic reminders, Quran recitation, prayer times, and spiritual focus tools.

πŸš€ Installation β€’ ✨ Features β€’ πŸ“– Usage β€’ βš™οΈ Configuration β€’ πŸ› Troubleshooting


πŸ“– Overview

CodeTune integrates spirituality seamlessly into your development workflow. It helps you maintain faith and focus by providing context-aware Islamic content, prayer times based on your location, and a high-quality Quran player, all without leaving your editor.

"Indeed, in the remembrance of Allah do hearts find rest." (Surah Ar-Ra'd, 13:28)


πŸ† What's New in v1.0.0

CodeTune is now stable and production-ready! This major release includes:

🌍 Complete Internationalization

  • 5 Languages Supported: Arabic (Ψ§Ω„ΨΉΨ±Ψ¨ΩŠΨ©), English, Russian (Русский), French (FranΓ§ais), Spanish (EspaΓ±ol)
  • Automatic Language Detection based on VS Code locale
  • RTL Support for Arabic with proper text direction

🎯 Accurate Islamic Calendar

  • Umm al-Qura Calendar: Official Saudi Islamic calendar implementation
  • Fixed Hijri Date Issues: Corrected 2-day offset (now shows accurate dates)
  • Precise Prayer Times: Enhanced Adhan library with Egyptian calculation method

πŸ”§ Professional Features

  • Smart Statistics Toggle: Click icon to switch between session counts and listening time
  • Context-Aware Notifications: Intelligent prayer time reminders
  • Friday Surah Intelligence: Auto-show Friday Surah section only when relevant
  • Daily Prayer Goals Reset: Automatic daily reset for spiritual tracking

πŸ›‘οΈ Production Quality

  • Zero Console Spam: Clean logging with optional debug mode
  • Webview Sandboxing: Proper VS Code dialog integration
  • Error Resilience: Comprehensive error handling throughout
  • Cross-Platform: Tested on Windows, macOS, and Linux

✨ Features

πŸ€– Intelligent Reminders System

  • Time-Aware Azkar: Automatically displays Morning Azkar (Fajr-Sunrise) and Evening Azkar (Asr-Maghrib).
  • Smart Scheduling: Reminders respect your coding flow with customizable intervals (5min - 4hrs).
  • Work Mode: "Working Hours Only" filter to keep professional focus.
  • Authentic Content: 500+ verified Adia, Hadis, and Quranic wisdom.

πŸ•Œ Prayer Times & Calendar

  • Live Countdown: Real-time countdown to the next prayer (accurate astronomical calculations).
  • Hijri Date: Displays current Islamic date with Arabic numerals.
  • Auto-Location: Detects timezone automatically for accurate prayer times.

🎡 Premium Quran Player

  • 15+ Reciters: Including Mishary Alafasy, Al-Sudais, Abdul Basit, Al-Minshawy, and more.
  • Smart Auto-Reading: Auto-page turner and multi-speed reading for Khatmah.
  • Background Play: Independent volume control and seamless streaming via CDN.
  • Statistics: Tracks your listening sessions (Daily/Weekly/Monthly metrics).

πŸš€ Installation

  1. Open VS Code.
  2. Press Ctrl+Shift+X to open Extensions.
  3. Search for "CodeTune".
  4. Click Install.
  5. Optional: Reload VS Code to initialize the Activity Bar icon.

πŸ“– Usage

1. Activity Bar Integration

Click the Mosque Icon (πŸ•Œ) in the left Activity Bar to access the dashboard.

  • View Date: See the current Hijri date.
  • Prayer Status: Check time remaining for the next prayer.
  • Quick Controls: Access the Quran player immediately.

2. Quran Player

You can control the player via the dashboard or Command Palette:

Command Shortcut Description
CodeTune: Play Quran Ctrl+Shift+Q Start/Resume recitation
CodeTune: Stop Ctrl+Shift+S Stop playback
CodeTune: Open Settings - Open the configuration panel

3. Smart Reminders

Reminders appear as notifications in the bottom right corner.

  • Morning/Evening: Specific content appears during their respective sun times.
  • General: Wisdom and Hadith appear based on your interval settings.

βš™οΈ Configuration

Manage all settings via the UI panel (No JSON editing required). Click the Gear Icon (βš™οΈ) in the CodeTune panel.

πŸ“Ώ Reminders Settings

Setting Default Description
Enable Reminders True Master toggle for all notifications.
Interval 30 min Frequency of reminders (5 - 240 mins).
Show Morning Azkar True Show specific Azkar after Fajr.
Show Evening Azkar True Show specific Azkar after Asr.
Working Hours Only False Only show reminders during 9-5 schedule.

🎡 Audio Settings

Setting Default Description
Reciter Alafasy Choose from 15+ high-quality reciters.
Volume 70% Independent volume level (doesn't affect system).

πŸ”§ Technical Details

  • Prayer Calculation: Uses astronomical algorithms relative to Mecca coordinates for consistency.
  • Audio Source: High-quality MP3 streaming from Islamic Network CDN.
  • Privacy: No personal data is collected. Listening statistics are stored locally on your machine.

πŸ› Troubleshooting

Issue Solution
Audio not playing Check internet connection (CDN streaming) and independent volume slider.
Wrong Prayer Times Ensure your system timezone is correct. The extension uses system time + astronomical calculation.
Settings not saving Settings auto-save on change. If stuck, restart VS Code.

🀝 Contributing

We welcome contributions from the community!

  1. Fork the repository.
  2. Create a feature branch (git checkout -b feature/AmazingFeature).
  3. Commit your changes.
  4. Open a Pull Request.

Note: Please ensure all Islamic content additions are verified against authentic sources.


❀️ License & Attribution

  • License: MIT License.
  • Credits:
    • Audio provided by Islamic Network.
    • Prayer times calculated via Aladhan API principles.
Developed with ❀️ for the global Muslim developer community