Skip to content
All projects

LLM Application · 2026

Quranity

A Qur'an app with Qalam, an AI chatbot that talks like a person and backs every answer with the ayah or hadith it comes from, linked to its source.

Quranity screenshot
Role
Lead AI Developer & PM
Timeline
2026
Status
Shipped
Domain
Islamic education

The brief

What it is and why it was hard

Quranity is a Qur'an app, live on Google Play and the App Store, that brings Qur'an learning, accurate prayer times and AI guidance into one place. Its centrepiece is Qalam, a chatbot you can talk to like a person. It answers from the Qur'an and Hadith and cites the exact source for every answer, with a link to quran.com or sunnah.com. Qalam is educational guidance, not a replacement for a scholar's ruling, and it says so.

The problem

A model can sound right and still cite nothing, or cite something wrong. For religious guidance that is not acceptable: every answer has to point to a real ayah or hadith that a reader can check.

What I did

I built the Qalam guidance layer: the source policy, a prompt for each perspective, strict citation formats, and a check that parses every citation, builds a direct link to the source, and tries again when the references are weak. I also led the project as product manager.

The system

How the pieces fit together

  1. 1

    Apps and website

    The mobile app on Google Play and the App Store, plus a multilingual website with an admin dashboard.

  2. 2

    Platform APIs

    Accounts, subscriptions, prayer times, content and notifications behind the apps.

  3. 3

    Qalam AI service (my part)

    The chatbot service: a source policy, a prompt for each perspective, a citation check that links to quran.com and sunnah.com, and a second pass when references are weak.

  4. 4

    Media and storage

    Videos are processed in the background and served from cloud storage, so uploads never block the app.

Choices

Decisions that shaped it

Check the citations, do not trust the model

A model can sound sure and cite wrongly. Every citation is parsed and turned into a link to quran.com or sunnah.com, so a reader can verify it in one tap.

Sound human, cite like a scholar

A friendly conversation is what makes people use it. Every answer still ends with its source, so the tone never replaces the evidence.

Guidance, not a fatwa

Qalam is framed as educational guidance. It encourages users to ask a qualified scholar for binding rulings.

Capabilities

What it does

  • Qalam, a chatbot you talk to like a person
  • Every answer cites its ayah or hadith, with a link to the source
  • Qur'an: Uthmani Arabic with the Saheeh International English translation
  • Hadith: Sahih al-Bukhari, Sahih Muslim, Sunan at-Tirmidhi, Abu Dawood, an-Nasa'i and Ibn Majah
  • Answers in English, Arabic and Albanian
  • Seven perspectives to answer from, with saved conversation history
  • Short or full answers, your choice
  • Qur'an stories, prayer times, and tajweed colour-coded Arabic with word-by-word translation

Problems

What went wrong, and what fixed it

Problem

Answers could sound good but miss strict, verifiable citations.

Fix

I enforced citation formats in the prompts, parsed every citation with regular expressions, generated direct links to the sources, and added a second pass when the references were weak.

Problem

Video streaming and image loading did not work, and the AWS S3 bucket was not behaving the way I needed.

Fix

It took nearly a week of testing storage configuration, file access and media delivery separately before I found the causes. Now I validate cloud storage early and test media delivery on its own before putting everything together.

Stack

What it is built with

Qalam AI service (mine)

  • Python
  • FastAPI
  • OpenAI API
  • Pydantic

Platform

  • Django
  • Django REST Framework
  • Celery
  • Redis
  • PostgreSQL
  • Next.js
  • React
  • Tailwind CSS
  • Docker
  • Nginx

Mobile app

  • Flutter
  • Dart

In my words

The story behind it

Why I built it

I wanted authentic Islamic knowledge to be easier to reach in everyday life. Quranity puts Qur'an learning, accurate prayer times and AI guidance in one simple app. I hoped technology could help Muslims strengthen their connection with Allah, and I wanted the AI to stay respectful of Islamic principles and grounded in trusted sources.

The week I lost

Video streaming and image loading would not work, and the S3 bucket did not behave as I expected. It looked like a simple integration and became nearly a week of debugging. I had to understand how storage configuration, file access and media delivery interact. The lesson I kept: validate cloud storage early, and test media delivery by itself before it goes into the final product.

The result

Qalam is live in the Quranity app on Google Play and the App Store, and every answer carries a source link. Its concise mode is designed to cut token cost by about 45%.

Next project

Hairlync

Computer Vision

Hairlync preview

Have something like this to build?

I work on the AI layer: retrieval, reasoning and the code underneath. I hand it over ready to integrate.

© 2026 Md. Sakibur Rahman