Lexiverse
Lexiverse - 영어 학습자를 위한 AI 기반 문맥 독해 엔진
남아프리카 공용 K53 운전면허 연습문제와 해설, 제한시간 모의고사 제공
Free K53 learner's licence test practice for South Africa: questions and answers, every road sign explained, timed mock exams and driver's test prep for Code 8, Code 10, Code 14 and motorcycles — with
교육TypeScript · PLpgSQLGitHub @utayannaidoo온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기An AI-powered study platform for the South African K53 learner's and driver's licence tests. It diagnoses a learner's weak spots, builds a personalised spaced-repetition plan, and coaches them with an AI tutor not just another question bank.
README 전체를 불러오는 중입니다.
README 전문 보기 ↗An AI-powered study platform for the South African K53 learner's and driver's licence tests. It diagnoses a learner's weak spots, builds a personalised spaced-repetition plan, and coaches them with an AI tutor — not just another question bank.
Built with Next.js 15 (App Router) · TypeScript · Tailwind CSS · Supabase · Anthropic/OpenAI AI cascade · Paystack billing.
Not affiliated with or endorsed by the RTMC. Content is aligned to the structure of the official K53 manual; it is not government-issued material.
Again / Hard / Good / Easy and per-category mastery.npm install
npm run dev
# open http://localhost:3000
It runs out of the box with zero configuration. In this local demo mode:
src/lib/content/*localStorageTry the core journey: Landing → Start free assessment → onboarding → diagnostic → results → create account → dashboard → study.
Copy .env.example to .env.local and fill in what you need — each integration activates
independently.
NEXT_PUBLIC_SUPABASE_URL=...
NEXT_PUBLIC_SUPABASE_ANON_KEY=...
SUPABASE_SERVICE_ROLE_KEY=...
Run the migrations in supabase/migrations (via the Supabase SQL editor or supabase db push).
The schema (0001_init.sql) creates every table with Row Level Security so users only ever
touch their own rows, plus a trigger that bootstraps a profile, streak and free subscription on
sign-up. 0002_seed.sql seeds categories, licence modules and representative content.
DEEPSEEK_API_KEY=... # default provider — ~9x cheaper per message
ANTHROPIC_API_KEY=... # fallback, and the only path for images
OPENAI_API_KEY=... # optional second fallback
TUTOR_PROVIDER= # force one: deepseek|anthropic|openai|local
The tutor route (src/app/api/tutor/route.ts) cascades DeepSeek → Anthropic → OpenAI → the
built-in rule-based explainer, tiers fast/smart models for cost control, and falls back
gracefully on any error. DeepSeek leads because its rates are what make the daily tutor
allowances in src/lib/billing/plans.ts affordable — see docs/ops/ai-cost-model.md.
Images are the exception. DeepSeek's API is text-only, so the sign scanner and any photo
attached to a tutor message skip it and go to Anthropic or OpenAI. With neither key set, those
features honestly report themselves unavailable rather than answering blind. See .env.example
for model overrides and token caps.
PAYSTACK_SECRET_KEY=...
# plus eight plan codes (tier × cycle × track) — see .env.example
src/app/api/checkout/route.ts creates a hosted Paystack checkout when configured; the
webhook (/api/paystack/webhook) is the only writer of paid tier. Without Paystack env the
client unlocks the tier locally for demoing.
src/
app/ # routes (App Router)
(marketing) # /, /pricing
login, signup, reset-password
onboarding # multi-step wizard
diagnostic, diagnostic/results
dashboard, dashboard/progress
study/{flashcards,questions,scenarios,mock-exam}
tutor # AI chat
licence-prep/[moduleId]
account, account/billing
api/{tutor,checkout}
components/
ui/ # design-system primitives (button, card, score-ring…)
landing/ app/ auth/ onboarding/ diagnostic/ dashboard/ study/ tutor/ driver/ shared/
lib/
content/ # seeded K53 content (source of truth for MVP)
srs/sm2.ts # spaced-repetition engine
diagnostic/ # scoring + readiness model + sampling
billing/plans.ts # tiers + feature gating
store/ # localStorage-backed persistence
supabase/ ai/ # production integrations
hooks/ # use-study-store (central state), use-data-saver
types/ # domain model
supabase/migrations/ # SQL schema + seed
useStudyStore (src/hooks/use-study-store.tsx) is the single source of truth on the
client. It persists UserState to localStorage and exposes every study action. Swapping to
Supabase is a matter of replacing the persistence layer — the table shapes already match.src/lib/diagnostic/scoring.ts blends category accuracy with flashcard
mastery (weighted toward signs & rules) so the score moves after every session.src/lib/billing/plans.ts defines tiers, daily caps and feature flags;
the UI enforces them with hasFeature() / usageFor().Optimised for Vercel + a managed Postgres (Supabase/Neon). Push the repo, set the env vars, deploy.
Private project / portfolio sample.