Gerbang Dinas
SaaS product, 2026
A mobile-first tryout platform that copies the real exam screen: server-controlled timer, flag-for-review, autosave, and scores per subtest against the passing grade.
- Sized for 1,000 concurrent test-takers
- Answer keys never reach the browser
- First-year infra budget under Rp1 juta
The problem
Applicants practise on PDF question banks or apps that look nothing like the real CAT screen, usually on a cheap phone with patchy signal. A lost answer or a timer that resets on reload ruins the whole session.
What I built
- Three apps over one database: a static Astro landing page on Cloudflare Pages, a SvelteKit tryout app, a SvelteKit admin, and Supabase with row-level security.
- The timer runs on the server and every answer autosaves, so a dropped connection or a refresh never costs time or work.
- Grading happens server-side with a scorer per question type: right or wrong for TWK and TIU, 1 to 5 per option for TKP, complex multiple choice for TKA.
- Exam formats live in a registry, because question counts, durations and passing grades change with each year’s regulation.
- AI drafts questions and explanations, but nothing is published until a person reviews it.
- Midtrans checkout (QRIS, virtual account, e-wallet) plus teacher classes that only admit whitelisted emails.
Stack
More work
Recap Suite
Desktop studio that turns comic chapters into narrated recap videos
A local-first Electron app: detect and order comic panels, let a vision model describe each scene, write the narration, voice it, and render the video with FFmpeg.
Grambox
Cached-first JSON API for Instagram profiles, posts and reels
A Hono REST API over SQLite and a Python Instaloader service, with scheduled refreshes, a Next.js dashboard, API docs and Lemon Squeezy billing.