Apps and websites · TypeScript · Claude API

Hifz Tracker

An app for memorizing the Quran. You set a goal, and it turns it into a daily routine of new lines and revision. You can ask an AI assistant to change the plan, but it only gets to suggest. A tested engine works out the dates and minutes, and nothing changes until you accept it.

TypeScript Next.js 16 React 19 Claude API Supabase PWA Vitest

Open the live app

Pick a goal and how much you learn a day. The numbers come from the app's own planning engine, running in your browser. It goes through every day until the goal is reached.

Study days
Finish date
Days with new lines
Minutes a day, first four weeks
Minutes on the busiest day
  • Memorized by then
  • Started
  • In the goal
  • Not in the goal

The assistant has to answer in JSON, and the app checks every answer before using it. No AI is called on this page. These are example answers, good and bad, going through the app's real checks. Someone has asked: "Can I learn 8 lines a day instead?" You can edit the answer too.

Bounds on everything
Every value has a limit, like 1 to 45 lines a day, real dates and surahs that exist. Unknown fields are refused.
No made-up numbers
A number in the answer must come from the engine, from your plan or from your own words. Any other number gets the answer rejected. It checks that the number is real, not what it is used for.
Never Quran text
Quran text is never written by the AI. An English answer with Arabic letters is refused. Arabic answers are checked against the Quran itself, on the server.
One retry
A refused answer goes back to the model once with the reason. If it fails again, you get a plain error and the plan stays as it was.

The app works without an account, and your progress stays in your browser. You sign in to sync between devices and to use the assistant. It can be installed on a phone and works offline.

The Today page, with the new lines for the day and the revision lists
Today
The Progress page, with a map of 604 pages and a look-ahead slider
Progress
The Plan page, where you pick the goal, the amount and the days
Plan

Open Hifz Tracker

The plan rules are plain TypeScript with no UI, no database and no clock. 196 tests cover the engine, revision, syncing, the recitation check and the AI checks.

How it's built

The AI suggests, the engine decides.

The model can only return a small change to the plan. The engine applies it, works out the new dates and minutes, and shows before and after. You press Accept or nothing happens.

Revision follows your ratings.

A page rated Weak comes back the next day, Okay after three days, and Strong waits longer each time. No page waits longer than one full revision round.

Missed days don't pile up.

After a break you choose: move the plan forward, take a catch-up day, or pause new lines until revision is done.

It can listen to you recite.

It follows along word by word, with the phone's speech recognition or with a small model that runs on the device. It checks words, not pronunciation rules, and it can mishear.