yazinsai

Validate and verify Quranic verses in LLM-generated text with high accuracy

155
14
100% credibility
Found Feb 03, 2026 at 103 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

A library that checks and corrects AI-generated Quran quotes by matching them against the authentic Uthmani Quran text.

How It Works

1
🔍 Discover the tool

While creating Islamic content with AI, you worry about wrong Quran quotes and find this helpful checker.

2
📦 Set it up simply

Add the Quran checker to your writing setup so it watches for holy verses automatically.

3
💬 Chat with AI smarter

Give your AI a special note to mark any Quran quotes clearly when answering questions.

4
📄 Review AI's answer

Paste the AI response into the checker to scan for Quran parts instantly.

5
Spot fixes needed

See green checks for perfect quotes and easy corrections for any mistakes right away.

🎉 Share confidently

Use the cleaned-up text knowing every Quran quote is 100% accurate and trustworthy.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 103 to 155 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is quran-validator?

quran-validator is a lightweight TypeScript library that scans LLM-generated text for Quranic verses, validates them against a bundled authentic database with high accuracy, and auto-corrects subtle errors like missing diacritics or word swaps. It tackles AI hallucinations in religious content—where models misquote sacred text—via system prompts that make LLMs tag quotes parseably, plus post-processing for verification and fixes. Developers get zero-dependency validation, fuzzy matching across tiers (exact to normalized), and outputs like corrected text or issue reports.

Why is it gaining traction?

It stands out with ready-to-use LLM prompts (XML, Markdown, bracket formats) and untagged Arabic scanning, ensuring high accuracy even for real-world messy outputs. No setup hassle: npm install, process text, get validated results with confidence scores. The full 6,236-verse Uthmani database and TypeScript types make it drop-in reliable for Arabic validation workflows.

Who should use this?

AI builders creating Islamic chatbots, Quran study apps, or fatwa generators powered by LLMs. Content platforms needing to validate religious explanations before publishing. Devs integrating generative AI into Arabic/Islamic sites where quote fidelity is paramount.

Verdict

Use it now if accuracy in religious AI output matters—it's battle-tested via LLM benchmarks showing real fixes. Modest 121 stars and 1.0% credibility score reflect early maturity, but strong docs, tests, and npm package make it viable for production with minimal risk.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.