Umikora PRD
Summary
Mobile learning app with Anki-style spaced repetition for nonfiction, textbooks, and exam prep. Content organized as Modules (with Chapters) and Pathways with Duolingo-like engagement and RPG-style radar stats.
v0.1 scope (shipped — offline MVP)
- Offline SQLite + bundled content pack (
official-v1.json) - Study list, review sessions, SM-2 scheduling
- Six-axis radar profile, streak, XP/level
- Freemium limits simulated via three mock subscription tiers (no RevenueCat):
- 探索者 (free) — 2 study-list items, 10 new cards/day
- 學者 — HK$38/mo or HK$298/yr — 5 items, 30 new cards/day
- 哲人 — HK$78/mo or HK$598/yr — unlimited items and new cards
- Users tab: view current tier, mock subscribe/upgrade with Alert confirm
- Pro content and streak-freeze on 哲人 are UI-only until v1.1
v0.2 scope (in progress — admin portal + content catalog)
- Next.js admin portal (
apps/admin/) for the team to author content - Supabase Postgres becomes the source of truth for modules → chapters → cards and pathways
- Pathway metadata: difficulty, estimated_days, prerequisite_slugs, subject_tags
- Multilingual content (zh-TW required, en optional) via translation tables
- RLS roles: anon (mobile read), reviewer (translations), editor (CRUD), admin (+ user mgmt)
- Local / staging / production environments, branch-based deploys (
staging→ preview,main→ prod) - Manual language selection in mobile Users tab
- No content packs yet — new content is online-only;
official-v1.jsonretained as offline fallback
Full plan: IMPLEMENTATION_PLAN.md.
Deferred (v1.1+)
- Mobile auth/sync (per-user progress across devices), RevenueCat, push notifications, PostHog, Sentry, UGC, multimedia cards, content packs, realtime content updates