Technology

Okayker runs on Cloudflare's edge: one Worker serves the site and the API, D1 stores accounts and reports, Workers AI runs the review model.

Your browser
or API client
Cloudflare Worker
site, API, rule engine
D1 database
users, sessions, reports
Workers AI
sample review
Cron trigger
daily clean-up
The upload goes to the Worker, is checked in memory and is dropped when the response is sent.

Privacy

  • Uploaded files are not written to any database or storage.
  • Reports keep finding codes, line numbers and short messages.
  • Corrected copies are deleted by a scheduled job after at most 7 days.
  • Only a sample of the file is sent to the AI model, inside Cloudflare.

Security

  • Passwords: PBKDF2-SHA256, 100,000 iterations, random salt per user.
  • Session cookie: HttpOnly, Secure, SameSite=Lax; only its hash is stored.
  • CSRF token on every form; login rate limit.
  • API tokens are shown once and stored as hashes.

Stack