Surat Saman explains Malaysian official letters (PDRM traffic summons, LHDN tax notices, TNB overdue bills) in plain language with the deadline and next steps. Built with Firebase AI Logic hybrid inference: when Chrome has Gemini Nano on the device, the letter never leaves the device. When it doesn't, the app never falls back silently; it explains why and the user chooses "Use cloud". Before any cloud call, IC and phone numbers are redacted on the device; photos are only sent if the user ticks a consent box. A badge shows On-device or Cloud for every result. Cloud calls are protected by Firebase App Check with Fraud Defense (reCAPTCHA Enterprise), enforced. 57 unit tests cover redaction, deadline maths and parsing. Built with Vite + TypeScript as a PWA, hosted on GitHub Pages. Sample letters are fictitious. Built with help from Hark (AI assistant).

Built With

Share this project:

Updates

Submission history