mirror of
https://github.com/ramysami/obsidian-quran-plugin.git
synced 2026-07-22 13:50:27 +00:00
No description
| .github/workflows | ||
| src | ||
| .editorconfig | ||
| .gitignore | ||
| .npmrc | ||
| AGENTS.md | ||
| demo.gif | ||
| esbuild.config.mjs | ||
| eslint.config.mts | ||
| LICENSE | ||
| manifest.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| skills-lock.json | ||
| styles.css | ||
| tsconfig.json | ||
| version-bump.mjs | ||
| versions.json | ||
Obsidian Quran Inserter Plugin
An Obsidian plugin that allows you to quickly fetch and insert Quranic verses directly into your Markdown notes using the Al Quran Cloud API.
Features
- Quick Insert: Search for any verse using the standard
surah:verseformat (e.g.,2:255for Ayat al-Kursi). - Command Palette Support: Trigger the "Insert verse" command using
Ctrl/Cmd + P. - Hotkey Support: Trigger the "Insert verse" command using a hotkey.
- Smart Placement: Inserts text at your current cursor position, handling line breaks automatically.
Showcase
How to Use
- Click the Book Icon in the ribbon or use the command palette (
Ctrl/Cmd + P) and search for Insert verse. - A modal will appear asking for the verse reference.
- Enter the reference in
surah:verseformat (e.g.,18:10). - Press Enter or click Insert.
- The verse will be fetched and inserted into your current note.
Installation
From Community Plugins (Recommended)
Pending addition to the Obsidian Community Plugins list.
From BRAT (Beta Reviewer's Auto-update Tool)
- Install the BRAT plugin from the Community Plugins gallery.
- Open BRAT settings: Settings > Community plugins > BRAT.
- Click Add Beta plugin.
- Paste the repository URL:
https://github.com/ramysami/obsidian-quran-plugin - Click Add Plugin.
- Enable the plugin in Settings > Community plugins.
Manual Installation
- Download
main.js,manifest.json&style.cssfrom the latest release. - Create a folder named
quran-inserterin your vault's.obsidian/plugins/directory. - Move the downloaded files into that folder.
- Reload Obsidian and enable the plugin in Settings > Community plugins.
Development
If you want to build the plugin yourself:
- Clone this repository.
- Run
npm installto install dependencies. - Run
npm run devto start the build process in watch mode ornpm run buildto build the plugin.
Planned features
- Insert tafsir/translation.
- Insert multiple verses.
- Link to the verse on Quran.com.
- Settings page.
Note: This plugin requires an active internet connection to fetch verses from the Al Quran Cloud API.
Inspired by Malik Safwan.
