shipping/JOG — 03:41 GMT+7/48.3 °C CPU/v 07.0 · build 2026.05.12
lat −7.7956 · lon 110.3695/ntwk · online/open for projects
01 of 04prev ←next → Don't Wake The Cat
/ project no. 01aifull-stack
pre-launch · solo build · 2026
FlazhAI

FlazhAI.

— short description

a study tool that turns a youtube video or a document into a ready-to-review spaced-repetition deck in under 30 seconds, then tells you exactly what to review each day. built solo on next.js 16, gemini, and supabase.

Visit FlazhAI
ai study tool — pre-launch · solo design + engineering
<30s· youtube url → reviewable deck~250ms· from db write to card on screen2· languages shipped — english + indonesian
rolesolo · design, engineering, infra, copy
stacknext.js 16 · react 19 · gemini · supabase · prisma · pgvector
2025 → 2026nights + weekends · pre-launch
north starpaste a url, get a deck, come back daily
statuspre-launch · flazhai.com live
01

context.

most flashcard tools make you write the cards. that's the part nobody does. the bet behind flazhai is that the deck should already exist by the time you decide to study — generated from something you were going to watch or read anyway.

the hard version of that promise is latency. "paste a youtube url and get a deck" only feels like magic if it happens before you lose interest. the whole architecture is bent around making cards appear on screen while the model is still writing them, not after.

02

the hard part.

youtube blocks anonymous transcript fetching from server ips and strips caption tracks on vercel. the fix is a three-layer fallback — db cache first (~30ms), then a paid residential-proxy fetch, then a second paid backup — so a missing transcript degrades instead of failing.

generation streams card-by-card: the model writes an array, each card is saved to postgres as it lands, and the client picks it up over server-sent events within ~250ms. inline dedup runs during the stream so duplicates never reach the deck, and the count is exact — ask for n, get n.

<30sfrom pasting a youtube url to a complete, reviewable deck — streamed, not awaited.
3-layertranscript fallback so a blocked or missing caption track degrades gracefully instead of erroring.
~$0.30engineered per-active-user monthly ai cost — flash-lite for cheap tasks, flash where it shows.
— approach

streamed, not awaited.

the spine is the vercel ai sdk streaming an array of cards while next.js writes each one to supabase the moment it's parsed. the client watches over sse and renders cards as they arrive. spaced repetition runs on a tuned sm-2 scheduler; near-duplicate cards are caught with pgvector embeddings. nothing about it is awaited end-to-end — the user watches the deck build itself.

FlazhAI
fig. 02
"the deck should already exist by the time you decide to study."
— the one design rule everything else bent around
— outcome

what shipped.

youtube + document → deck generation, streamed live. sm-2 spaced review with smart daily queues, flip + mcq study modes, per-card ai chat / deepen / rephrase, anki .apkg import, public deck sharing, lemon-squeezy billing with purchasing-power pricing for indonesia, and full english + indonesian localisation. solo, end to end.

a production-quality demonstration that attention can be settled in public at the unit of the second. still my favorite project of 2024.
— on the record
— team

built solo.

devrangga hazza mahiswaradesign · engineering · infra · copy2025 → 2026solo · indonesia
— screenshots

structural notes.

product is pre-launch; surfaces shown are representative. notes are about the architecture, not the pixels.

deck generation
generation.url in → cards stream out, saved as they land.
transcript pipeline
transcripts.
/ cache → proxy → backup · graceful degrade.
spaced repetition
review.
/ sm-2 queues · what to study, today.
dedup
dedup.
/ pgvector embeddings catch near-duplicate cards.
— responsive

built for the phone it'll be studied on.

studying happens in spare minutes on a phone. the streamed-card ui and review flow were tuned for small screens and flaky indonesian 4g first.

deck on phone
review session
a daily review queue on mobile.
card chat
Don't Wake The Cat
/ up next — a game about a sleeping catnext.js · game engine

Don't Wake The Cat.

type a whole message without waking the cat. a browser game with a hand-built deterministic engine.

open next case ↗