Case study · AI detection platform

SayarAI

Students in Myanmar check a paper's AI score before they submit it, and pay per check in kyat with the wallets they already use.

RoleFounder and developer
Year2026
StackReact, tRPC, Node.js, Postgres
StatusLive at sayarai.org ↗

The problem

AI detection tools are sold as monthly subscriptions in dollars. Most students here have no international card, and they need a check a few times a term, not every month.

What I built

  1. Upload and scoreUpload a PDF or DOCX and get an AI-content percentage in minutes, with an optional downloadable report.
  2. Pay per checkFour fixed plans from 6,500 Ks, with two kinds of credit: score only, or score with the full report.
  3. Local paymentsPay by KBZPay, Wave, AYA Pay, CB or UAB Pay, upload the receipt, and credits arrive once the order is approved.
  4. Inside Telegram@SayarAI_bot opens the whole app as a Mini App, so nobody has to leave the chat.
  5. Admin consoleOrders, users, failed checks and coupons in one place, with alerts sent to Telegram.

The hard parts

  1. Detection without building a detectorThe score comes from a third-party detection provider, connected through its API. SayarAI handles everything around it: the upload, the queue, the result and the report that comes back to you.
  2. Keeping papers privateYour uploads and reports belong to your account only. Every report download goes through an authenticated route, so nobody else can open your paper or its result.
  3. Payments with no gatewayOrders are reviewed by hand, but fast. Each new order posts its receipt to a private Telegram group with Approve and Decline buttons. One tap grants the credits and emails the customer.
  4. One check at a timeChecks run through a first-in, first-out queue. Credits are taken when a check starts and refunded automatically if it fails, including checks interrupted by a server restart.
  5. A white screen on mobile dataThe Mini App loaded on wifi but stayed blank for many people on mobile data. There were three causes: a header that stopped Telegram framing the site, storage calls some webviews reject, and external scripts that hung the page when the network couldn't reach them. All three are fixed, and startup errors now show on screen.
  6. Running leanThe product shares a 2 GB server with another app, so it reuses one Postgres instance and keeps nothing idle in memory.