Web & SystemsIN DEVELOPMENT· Live and usable. Features are still being improved.

FlazhAI

AI study tool that turns a YouTube video or a document into a spaced-repetition flashcard deck

Timeline

2025 → 2026 (nights and weekends)

Role

Solo. Design, engineering, infrastructure, and copy

Team

1 person

FlazhAI landing page showing AI-powered flashcard generation from YouTube and documents

OVERVIEW

FlazhAI is an AI study tool that turns a YouTube video or a document into a ready-to-review flashcard deck, then tells you what to review each day with spaced repetition. It is live and usable, and I'm still improving its features.

CONTEXT

Most flashcard tools make you write the cards yourself, which is the part nobody does. The idea behind FlazhAI is that the deck should already exist by the time you decide to study.

THE CHALLENGE

  • Speed: cards should appear while the model is still writing them, not after.
  • Reliability: YouTube blocks anonymous transcript fetching from server IPs, so a missing transcript must not break generation.
  • Quality: duplicate or near-duplicate cards should never reach the deck.

THE SOLUTION

  • Streamed card-by-card generation with the Vercel AI SDK; each card is saved to Postgres (Supabase) as it is parsed and the client receives it over server-sent events.
  • A three-layer transcript fallback (database cache, then proxy-based fetch, then a backup provider) so failures degrade gracefully.
  • Inline deduplication during the stream plus near-duplicate detection with pgvector embeddings.
  • Spaced repetition on a tuned SM-2 scheduler with smart daily review queues.
  • English and Indonesian localisation.

FEATURES SO FAR

  • YouTube and document to flashcard deck conversion
  • Flip card and multiple-choice question study modes
  • Per-card AI assistant for interactive chat, deepening concepts, and rephrasing
  • Anki .apkg deck import support
  • Public deck sharing via link
  • Subscription billing with purchasing-power parity pricing for Indonesia

BY THE NUMBERS

<30sfrom YouTube URL to a reviewable deck
~250msfrom DB write to card on screen
3-layertranscript fallback
2languages (English + Indonesian)

TECH STACK

Next.js 16Next.js 16
React 19React 19
GeminiGemini
SupabaseSupabase
PrismaPrisma
pgvectorpgvector
Vercel AI SDKVercel AI SDK

AT A GLANCE

TIMELINE2025 → 2026 (nights and weekends)
TEAM1 person
STATUS
IN DEVELOPMENT

Live and usable. Features are still being improved.

TECHNOLOGIES7 tags

SCREENSHOTS

FlazhAI landing page hero showing headline and deck creation prompt
1 / 7

Ready to start your project?

I'm open for IoT, embedded systems, and full-stack web collaborations. Let's build something meaningful.

0