@qirtaas/react and @qirtaas/vue wrappers.
Two editions, one editor
The editor component is identical everywhere. The only choice you make is which backend powers the content and stores documents:- Self-host (Free, MIT) — run the content backend yourself, or point the SDK
at your own implementation of the
/v1contract. - Managed Cloud — we host the content backend, Quran/hadith data, and image storage. You get an API key and ship.
How it fits together
Install the SDK
Add
@qirtaas/core to your frontend.Mint embed tokens on your backend
Your server exchanges a secret API key for a short-lived embed token — see
Authentication. The secret never touches the browser.
Mount the editor / renderer
Create a client with
createQirtaasClient and call
mountEditor or mountRenderer.Next steps
Quickstart
Install to mounted in 60 seconds.
Client API
Configure the connection once with createQirtaasClient.
Editor
Mount the editor and handle content, autosave and events.
Authentication
Server-side token exchange for embed access.
