How dotruc1526/suchill works
Sử Chill is a mobile-first Vietnamese history-learning app. Its main flow is chapter discovery → lesson (short-form story or scripted Visual Novel) → completion → chapter quiz → result, with XP tracked in app state. The README also describes video lessons, practice, an AI assistant, profiles, streaks, and achievements. Those feature areas appear in the tree, but their internal wiring was not sampled; the graph shows them as app-rendered screens without speculative service links.
Main entry points: App.tsx App · HomeScreen.tsx Home and journey · ChapterScreen.tsx Chapter screen · LessonScreen.tsx Lesson screen
Components 20
App navigation
- App
src/App.tsx - Navigation bars
src/components/layout/BottomNav.tsx
Learning flow
- Home and journey
src/features/home/HomeScreen.tsx - Chapter screen
src/features/learning/ChapterScreen.tsx - Lesson screen
src/features/learning/LessonScreen.tsx - Lesson completion
src/features/learning/LessonCompleteScreen.tsx - Visual Novel player
src/features/visual-novel/VisualNovelPlayer.tsx - Chapter quiz
src/features/quiz/QuizScreen.tsx - Quiz result
src/features/quiz/QuizResultScreen.tsx
Engagement features
- Practice
src/features/practice/PracticeScreen.tsx - AI assistant
src/features/ai-assistant/AIScreen.tsx - Profile
src/features/profile/ProfileScreen.tsx
Content and state
- Story scripts
src/features/visual-novel/stories/index.ts - Chapter content
src/data/index.ts - User stats and achievements
src/data/index.ts - Chapter service
src/services/chapterService.ts - User service
src/services/userService.ts - Progress storage service
src/services/progressService.ts
Other components
- Learner
- Browser local storage
Connections 25
- Learner → App: uses
- App → Navigation bars: renders
- App → Home and journey: renders
- App → Practice: renders
- App → AI assistant: renders
- App → Profile: renders
- App → Chapter screen: renders
- App → Lesson screen: renders
- App → Lesson completion: renders
- App → Chapter quiz: renders
- App → Quiz result: renders
- App → Chapter content: reads
- App → User stats and achievements: reads
- App → Story scripts: resolves story
- App → Visual Novel player: renders
- Home and journey → App: requests navigation
- Chapter screen → App: requests navigation
- Lesson screen → App: reports completion
- Visual Novel player → App: reports completion
- Lesson completion → App: requests next step
- Chapter quiz → App: reports score
- Quiz result → App: requests retry or home
- Progress storage service → Browser local storage: reads and writes
- Chapter service → Chapter content: reads
- User service → User stats and achievements: reads