Halal Programmer
Spiritual reminders woven directly into your coding workflow - because deadlines should never come before deen.
Features
Bismillah Startup Gate
Every time VS Code opens, you're greeted with a gate asking you to say or type "Bismillahirrahmanirrahim" (or simply "Bismillah") before you can get back to work. Fuzzy matching tolerates small typos and alternate spellings, and a voice option is available where supported.
Alhamdulillah Closing Gate
Press Ctrl+Shift+W (or Ctrl+Q) to close the window, and you'll be asked to say or type "Alhamdulillahirabbil'alamin" (or simply "Alhamdulillah") first - a moment of gratitude before you step away.
Honest limitation: this catches the keyboard shortcut and the Command Palette, but it can't intercept the title-bar X button, Alt+F4, or a force quit - VS Code doesn't expose those to extensions. Think of it as a strong reminder, not an unbreakable lock.
Prayer Time Reminder
Detects your location automatically and fetches the day's prayer schedule, then shows a reminder - complete with relevant verses from the Qur'an - the moment a prayer time arrives. The reminder closes on its own after a couple of minutes; no need to dismiss it.
Astaghfirullah SFX on Terminal Errors
Made a mistake? Your terminal will let you know - literally. When a command in the Terminal panel fails (or a long-running dev server logs a real error), it plays a sound (yours to customize) as a little nudge to seek forgiveness and fix the bug. It's smart enough to ignore warnings that merely mention the word "error," and to stop reminding you about an old error once you've actually fixed it.
Settings
| Setting |
Default |
Description |
halalProgramming.prayerNotification.enabled |
true |
Show the prayer time reminder. |
halalProgramming.closingGate.enabled |
true |
Require the closing phrase before Ctrl+Shift+W / Ctrl+Q close the window. |
halalProgramming.terminalErrorSound.enabled |
false |
Play a sound when the Terminal panel reports an error. Off by default. |
halalProgramming.location.latitude / .longitude |
null |
Manual location fallback if IP-based geolocation fails. |
halalProgramming.calculationMethod |
3 (Muslim World League) |
Aladhan API prayer-time calculation method (e.g. 20 for Kemenag RI / Indonesia). |
halalProgramming.voiceLocale |
en-US |
Speech recognition locale for the voice input option (en-US or id-ID). |
halalProgramming.uiLanguage |
en |
Language for this extension's own modals and messages (en or id). |
Commands
Open the Command Palette (Ctrl+Shift+P) and search "Halal Programmer":
- Halal Programmer: Show Today's Prayer Times - see your resolved location and fetched prayer schedule.
- Halal Programmer: Change Language - switch between English and Bahasa Indonesia.
- Halal Programmer: Toggle Terminal Error Sound - quickly turn the terminal error sound on or off.
Good to know
- Voice input depends on your VS Code build supporting microphone access in webviews, which isn't guaranteed - typing always works as a reliable fallback.
- The terminal error sound only works in terminals with shell integration active (PowerShell, Git Bash) and watches the Terminal panel specifically, not Problems, Output, or Debug Console.
- Built for personal use and tuned to be intentionally strict - that's by design, not a bug.