Qamar
An API that shows verses from the Qur'an based on emotions.
Install / Use
/learn @realtouseef/QamarREADME
‘Qamar’ (qa-mar) / moon 🌕
An API that shows verses from the Qur'an based on emotions.
The duas.json has duas picked from either Qur'an or Hadith.
And emotionBasedVerses.json has verses picked from Qur'an only.
Available Duas / Verses
- Qamar has 27 verses in
emotionBasedVerses.json - And 28 duas in
duas.json
Endpoint
-
/versesreturns all of theversesthat are present. -
/verses/:idreturns aversebased on theid. -
/duasreturns all theduasthat are present. -
/duas/:duaidreturns aduabased on theid.
Returned Data
For Verses
{
"id": 2,
"title": "Angry",
"sub_title": "Extinguish",
"arabic": "ٱلَّذِينَ يُنفِقُونَ فِى ٱلسَّرَّآءِ وَٱلضَّرَّآءِ وَٱلْكَـٰظِمِينَ ٱلْغَيْظَ وَٱلْعَافِينَ عَنِ ٱلنَّاسِ ۗ وَٱللَّهُ يُحِبُّ ٱلْمُحْسِنِينَ",
"urdu_translation": "جو آسودگی اور تنگی میں (اپنا مال خدا کی راہ میں) خرچ کرتےہیں اور غصے کو روکتے اور لوگوں کے قصور معاف کرتے ہیں اور خدا نیکو کاروں کو دوست رکھتا ہے",
"english_translation": "Who spend [in the cause of Allah] during ease and hardship and who restrain anger and who pardon the people - and Allah loves the doers of good",
"reference": ""
}
For Duas
{
"id": 1,
"title": "For Forgiveness",
"arabic": " رَبِّ إِنِّى ظَلَمْتُ نَفْسِى فَٱغْفِرْ لِى",
"urdu_translation": " اے پروردگار میں نے اپنے آپ پر ظلم کیا تو مجھے بخش دے",
"english_translation": "My Lord! I have definitely wronged my soul, so forgive me.",
"reference": ""
}
PS: Some of the translation is not present for now, but will be soon added. If you're interested in making a contribution, please do so.
For Contribution
Please clone this repo by pasting the below code in the terminal
git clone https://github.com/realtouseef/qamar.git
# then
cd qamar
yarn
# to start the server
yarn start
If you wanna add more duas or verses, please follow this pattern:
Pattern for Verses
{
"id": "",
"title": "",
"sub_tite": "",
"arabic": "",
"urdu_translation": "",
"english_translation": "",
"reference": ""
}
Pattern for Duas
{
"id": ,
"title": "",
"arabic": "",
"urdu_translation": "",
"english_translation": "",
"reference": ""
}
Related Skills
node-connect
348.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
348.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
348.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
