
Founder & Lead Developer · 2024 – Present
Dokani POS
Offline-first, cross-platform point-of-sale for retail in the UAE/MENA.
- Rust
- Tauri 2
- React 18
- TypeScript
- SQLite
- Supabase
- PostgreSQL
- Axum
- HarfBuzz
Architecture
A local-first desktop and Android app built on Tauri 2 with a Rust core over SQLite, so the register runs entirely offline. A delta-sync engine reconciles to Supabase (PostgREST), and a zero-config LAN fallback (Axum WebSocket + mDNS + self-signed TLS) keeps multiple terminals in sync with no server. Shipped as v1.11.4 across Windows, macOS, Linux, and Android.
Problems solved
- Shops needed a register that keeps working fully offline and across multiple devices.
- Arabic RTL receipts and UAE ZATCA e-invoicing compliance were hard requirements.
- A single codebase had to ship to Windows, macOS, Linux, and Android.
Key achievements
- Local-first SQLite core with a delta-sync engine to Supabase, plus a zero-config LAN sync fallback (Axum WebSocket + mDNS + self-signed TLS).
- ESC/POS thermal printing with Arabic RTL text shaping via HarfBuzz in Rust, supporting 58mm and 80mm printers on every platform.
- UAE ZATCA / FTA e-invoicing pipeline: UBL 2.1 XML, TLV QR codes, SHA-256 invoice hashing, and per-item VAT.
- 7-role × 84-permission RBAC enforced independently on the React frontend and on every Rust Tauri command.
- Signed CI/CD auto-update pipeline (GitLab Pages CDN, multi-arch GitHub Actions) plus Lemon Squeezy subscriptions, auto-backup, and Excel import/export.

