KUTHA / كوثا
Englishالعربية
hello@kuthadesign.com

All workCase study / 01

Diwani

ديواني

Arabic language · Product design · Development

Problem
Classical Arabic verse follows strict metres, and no editor checked them while the poet was still writing.
Outcome
A free editor that scans every line as it is typed. Live, and in daily use.
Live product
Diwani on desktop and mobile: the editor scanning two verses of Imru’ al-Qays on the Ṭawīl metre
Status
Live · free to use
Platform
Web app, installable; works offline
Languages
Arabic interface, with English
Our role
Concept, prosody engine, product design, Arabic interface writing, development
URL
diwani.kuthadesign.com

The problem

Classical Arabic prosody has exact rules and almost no software that respects them. The tools that exist check a finished line, or reduce a metre to a string of symbols the poet has to decode.

We wanted an editor that behaves like an informed reader sitting beside the poet: one that knows the metre, names what it sees in the poet’s own terms, and never gets in the way of writing.

The system

A poetry editor built around the sixteen metres of classical Arabic verse. Write a line and Diwani scans it as you type: it names each metrical foot, marks every permitted variation where it falls, checks the rhyme against the rest of the poem, and lets you pick the metre from al-Khalīl’s five prosodic circles.

  1. Built the prosody engine: the sixteen metres in their full and shortened forms, every permitted variation in the feet, and the rules for where each may occur.
  2. Designed the writing page so the verdict reads as margin notes beside the poem, not as error messages.
  3. Wrote the Arabic interface in the terms poets already use for the parts of a line, and an English interface for readers coming to Arabic poetry from outside.
  4. Built the library around it: saved poems, collections, an ideas notebook and a rhyme lab, with local-first storage, optional cloud sync and backups.
  5. Drew the metre picker as al-Khalīl’s five prosodic circles: each ring read in the direction of Arabic, the unused metres kept in their places, and the building blocks of each foot shown on request.
  6. Wrote the privacy notice and kept the app to it: no ads, no trackers, no cookies, and nothing leaves the device unless the poet signs in.

Screens

The writing page: feet under each half-line, the verdict as margin notes.
Table mode: the letters of a line dropped into their feet.
The rhyme dictionary: words on the poem’s rhyme, the ones that fit the metre first.
The prosodic circles: choosing the metre the way al-Khalīl drew it.
The dark theme for late writing.

Highlights

  • Scansion as you type

    Each half-line is scanned live. Its feet appear beneath it, with the matching form highlighted and any fault traced to the letter that caused it.

  • The prosodic circles

    The metre is chosen on al-Khalīl’s five circles, drawn as he arranged them: the sixteen metres in their rings, the unused ones faded, and the building blocks of each foot one tap away.

  • Rhyme, checked

    Diwani finds the poem’s rhyme letter and its vowel, flags a line that breaks from them, and suggests words on the same rhyme to finish the half-line you are writing.

The outcome

Diwani is live and free, in daily use by its poets, with a privacy notice that promises no ads and no tracking. A Dīwānī+ tier is being prepared for those who write every day: version history, a prosody report for a whole poem, unlimited dictionaries, and a collection exported as a designed book.

Built withJavaScript, single-page appProgressive Web App, offline-firstFirebase for accounts and syncNetlify, with a serverless proxy to the Siwar dictionary

Something similar in mind?

Tell us what you’re making and who it’s for. We reply within one working day.

Support this app

Next project / 02Mawaqeet Al-AhillaData product · UI/UX · Mobile