Skip to content
← All projects

EnStudy-Hub

FSRS-powered vocabulary trainer for Vietnamese English learners.

Lead dev and backend · architecture, FSRS integration, server actions · 100B Studio · 2026 · Live

01 · The problem

The problem

Vietnamese English learners lack a localized spaced-repetition tool that handles their own wordlists end-to-end. Existing apps (Anki, Quizlet) are either too friction-heavy or run on outdated SRS algorithms with no first-class Vietnamese UX.

02 · The data

The data

User-imported CSV wordlists + curated Oxford 3000-derived seed (10 topics × 42 lessons for MVP); per-user user_cards rows store live FSRS memory state (stability, difficulty, due date) keyed by card + owner.

03 · The approach

The approach

FSRS-4.5 via ts-fsrs for next-review scheduling, replacing the legacy SM-2 family with a parameterized memory model; server-first Next.js 15 App Router on Supabase Postgres with Drizzle ORM, multi-tenant via a topics → collections → lessons → cards ownership chain; review session orchestrated through 4 minigame modes (cloze, MCQ, typing-from-definition, Web Speech listening) with Zustand for transient state.

04 · The results

The results

Live on Vercel · v0.2.0 shipped 2026-05-13 (dashboard, stats, 4 minigame modes, settings, theme); v1.0.0 in flight with CSV import, per-card actions, inline editing · 108 green vitest unit tests covering schema/queue/FSRS logic.

05 · Why it matters

Why it matters

Brings a modern ML-derived SRS algorithm (FSRS-4.5) into a Vietnamese-language vocabulary workflow so learners can import their own lists and review at the statistically optimal interval — closing the localization and algorithmic gap left by mainstream flashcard apps.

Through the DABM lens

DData
user CSV wordlists + Oxford 3000 seed · per-user FSRS state
AAgent
Vietnamese English learners reviewing vocab daily
BBehavior
retention curves · review timing across cards
MModeling
FSRS-4.5 scheduler · 4 minigame review modes

Stack

  • Next.js 15
  • TypeScript
  • Supabase
  • Drizzle ORM
  • ts-fsrs
  • Zod
  • Tailwind v4
  • Vitest

Collaborators

  • Phí Vương Tường Tâm (tamir39) · UI/UX
  • Lê Thành Danh · contributor

A fuller case study for this project is coming soon.