Skip to content
/ hasanah Public

a repo for hasanah extension ๐Ÿ’™๐Ÿ•Œ

Notifications You must be signed in to change notification settings

oovaa/hasanah

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

71 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

hasanah README

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.

This extension is inspired by the "Ayat" extension.

Features

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.

messages

Requirements

There are no specific requirements or dependencies for this extension.

Commands

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.

Extension Settings

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:

    1. Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on Mac).
    2. Type Preferences: Open Settings (UI) and press Enter.
    3. In the search bar at the top, type hasanah delay.
    4. Set the desired delay value in the settings.

    Alternatively, you can add the following line to your settings.json file:

    "hasanah.delay": 30

Known Issues

  • When the Hadith text is too long, it may not display properly.

Changelog

See CHANGELOG.md for a detailed history of changes.

For more information

๐Ÿ™ Thank You! ๐Ÿ™

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. ๐Ÿฉท

๐Ÿ’™ ุตุฏู‚ุฉ ุฌุงุฑูŠุฉ ุนู† ุฌู…ูŠุน ุงู„ู…ุณู„ู…ูŠู† ุŒู†ุณุฃู„ูƒู… ุงู„ุฏุนุงุก ูˆู†ูุน ุงู„ู„ู‡ ุจู†ุง ูˆุจูƒู….

About

a repo for hasanah extension ๐Ÿ’™๐Ÿ•Œ

Resources

Stars

Watchers

Forks

Packages

No packages published