mksherbini1k downloadsAims to help Muslims stay enlightened with Islam, Quran, Hadith, and Sunnah
Noor is a plugin for Obsidian.md that brings Islamic inspiration to your notes. Insert Quran verses, authentic Hadith, or build a Dhikr file with just a command. Explore with fast search for both Quran and Hadith, choose your preferred reciter and translation, and even script it from Templates. Best of all, it respects your privacy and works offline when lists are cached.
| Quran search | Hadith search |
|---|---|
![]() |
![]() |
| Translated Hadith quote | Dhikr file |
![]() |
![]() |
noorJS.randomQuranQuote() and noorJS.randomHadithQuote() from Templater or other scripts.After enabling the plugin in the settings menu, you should see the added commands and the noorJS object.
Noor: Random Quran quote: inserts a quote block at the current editor location containing a Quran QuoteNoor: Random Hadith quote: inserts a quote block at the current editor location containing a Hadith QuoteNoor: Open Dhikr file: creates a Dhikr file at the configured location containing a Quran Quote and a Hadith Quote then opens in current viewNoor: Open Dhikr file popup: creates a Dhikr file at the configured location containing a Quran Quote and a Hadith Quote then opens in popup window viewNoor: Search quran quote: opens a search dialog for the Quran; pick a verse, then insert it or write only that quote to the Dhikr file. A query typed in Arabic searches the Arabic text (quran-uthmani); any other query searches your chosen translationNoor: Search hadith quote: opens a search dialog for Hadith; pick a hadith, then insert it or write only that quote to the Dhikr file. Results come from the Hadith language you selected and need at least 3 characters; a query in a different script than the selected language is flagged in the dialognoorJS.randomQuranQuote(): this function returns a Quran QuotenoorJS.randomHadithQuote(): this function returns a Hadith QuoteThe search commands are UI-only and are not exposed on
noorJS.
obsidian plugins complement each other, here are some ideas
<% noorJS.randomQuranQuote() %> to insert the Quran quote into your notes (like the daily note to get a daily verse)Noor: Random Quran quote commandmain.js, manifest.json, and styles.css to your vault .obsidian/plugins/noor/.npm run dev builds the plugin in watch mode, andnpm run build produces a production build.Both build commands automatically copy main.js, manifest.json, and styles.css
into .obsidian/plugins/noor/ of the local test vault located next to this repo
(../dev). Just reload Obsidian (or use the hot-reload
plugin) to pick up the changes.
npm run dev also turns the plugin's console diagnostics on (messages are prefixed with
Noor:); the production build leaves them off, so released builds stay quiet. Reloading is
what switches builds, so stop the watcher (Ctrl+C) before running npm run build — until
then, any source change re-copies a dev build into the vault.
To test against a different vault, set the OBSIDIAN_VAULT environment variable to
the vault path before running the build, for example:
OBSIDIAN_VAULT="/path/to/vault" npm run dev
Releases are automated via GitHub Actions: pushing a tag
builds the plugin and attaches main.js, manifest.json, and styles.css to the release.
npm version patch -m "release version %s" # bumps package.json + manifest.json/versions.json, commits and tags
git push && git push --tags
The Quran verses are retrieved from
The Hadith quotes are retrieved from
Noor is offline-first: it makes no network requests unless you run a quote, Dhikr file, or search command. The exception is a few requests on load for the lists the settings dropdowns need (hadith languages, quran translation languages and reciters); these send no data about you, and their results are cached in the plugin's settings so the dropdowns keep working offline. All requests go only to the Quran/Hadith APIs listed above. When you search, the text you type is sent to the corresponding API as the search phrase; note contents and filenames are never transmitted.
Please feel free to open a pull request with suggested improvements and new feature requests