This is the README for the "Hasanah" extension. Hasanah is a VS Code extension that displays random Hadith and Ayah from the Quran in your editor. It alternates between displaying a Hadith and an Ayah at a specified interval.
You can contribute to my repository oovaa/hasanah to help improve this extension.
Hasanah has the following features:
- Displays a random Hadith or Ayah at a specified interval.
- The displayed text alternates between a Hadith and an Ayah.
- The displayed text includes the source of the Hadith or the Surah and Ayah number for the Quran verse.
There are no specific requirements or dependencies for this extension.
This extension contributes the following commands:
-
hasanah.getAyah
: This command fetches and displays a random Ayah from the Quran. -
hasanah.getHijriDate
: This new command fetches and displays the current Hijri date.
You can run these commands from the command palette (Ctrl+Shift+P
or Cmd+Shift+P
on Mac) by typing the command name.
This extension contributes the following settings:
-
hasanah.delay
: Set the delay (in minutes) between each display of Hadith or Ayah. The delay can be any positive integer. The default value is 30 minutes.How to configure:
- Open the Command Palette (
Ctrl+Shift+P
orCmd+Shift+P
on Mac). - Type
Preferences: Open Settings (UI)
and pressEnter
. - In the search bar at the top, type
hasanah delay
. - Set the desired delay value in the settings.
Alternatively, you can add the following line to your
settings.json
file:"hasanah.delay": 30
- Open the Command Palette (
- When the Hadith text is too long, it may not display properly.
See CHANGELOG.md for a detailed history of changes.
- Quraan API: This API is used to fetch the Ayahs displayed by the extension.
- Old Quraan API: This is the old API used to fetch the Ayahs displayed by the extension.
- Hadith API: This API is used to fetch the Hadiths displayed by the extension.
- Visual Studio Code's Markdown Support: Learn more about writing Markdown in Visual Studio Code.
- Markdown Syntax Reference: A reference guide for Markdown syntax. Enjoy!
A huge thank you to everyone who uses and supports this extension. Your feedback and contributions make it better every day. May your coding journey be filled with inspiration and productivity.
and a special thank for you. ๐ฉท
๐ ุตุฏูุฉ ุฌุงุฑูุฉ ุนู ุฌู ูุน ุงูู ุณูู ูู ุูุณุฃููู ุงูุฏุนุงุก ูููุน ุงููู ุจูุง ูุจูู .