How binotaliu/alt-uu works
Alt UU is a NativePHP mobile app for accessing NOU UU course materials, with optional NOU Tools features and Alt UU+ subscriptions. The main user journey is viewing course content through the app and its authenticated UU integration; the README also identifies live sessions, the school calendar, and past exam materials as NOU Tools capabilities. The tree and excerpts support the authentication, session, course, and diagnostics layers shown here. Several feature branches are documented, but their internal wiring was not sampled, so uncertain relationships are omitted.
Main entry points: AccountManager.php Account manager · UUSessionAuthenticator.php UU session auth · UUSessionStore.php UU session store · Actions Course actions
Components 20
Mobile experience
- Alt UU app
resources/js/pages/Courses/MainScreen.vue - Alt UU+ subscription
app/Http/Controllers/Api/PurchaseSubscriptionController.php
Accounts and sessions
- Account API
app/Http/Controllers/Api/AccountController.php - Account manager
app/Services/AccountManager.php - UU session auth
app/Services/UUSessionAuthenticator.php - UU session store
app/Services/UUSessionStore.php - Login and logout
app/Http/Controllers/AuthController.php
Learning features
- Course API
app/Http/Controllers/Api/CourseNodeContentController.php - Course actions
src/Domains/Course/Actions - NOU Tools features
src/Domains/Course/Actions/GetNouToolsCourseData.php - Live sessions API
app/Http/Controllers/Api/NouToolsLiveSessionsController.php - School calendar
app/Http/Controllers/Api/NouToolsSchoolCalendarController.php - Past exam materials
app/Http/Controllers/Api/CourseSelfExamsController.php
External integrations
- UU course client
app/Services/UUCourseClient.php - UU proxy client
app/Services/UUProxyClient.php
Diagnostics and state
- Account records
app/Models/Account.php - Diagnostic recorder
app/Services/Diagnostics/DiagnosticRecorder.php - Diagnostic events
app/Models/DiagnosticEvent.php
Other components
- Student
- NOU UU platform
Connections 19
- Student → Alt UU app: uses
README.md - Alt UU app → Course API: requests content
- Course API → Course actions: dispatches
- Course actions → UU course client: fetches course data
src/Domains/Course/Actions/GetCourseTasksCount.php - UU course client → UU proxy client: uses
- UU proxy client → NOU UU platform: requests
app/Services/UUProxyClient.php - Student → Live sessions API: views sessions
README.md - Live sessions API → Course actions: gets course data
app/Http/Controllers/Api/NouToolsLiveSessionsController.php - Student → School calendar: views calendar
README.md - Student → Past exam materials: views exam materials
README.md - Student → Login and logout: authenticates
- Login and logout → Account manager: delegates
app/Http/Controllers/AuthController.php - Account manager → UU session auth: authenticates
app/Services/AccountManager.php - Account manager → UU session store: reads session
app/Services/AccountManager.php - UU session store → Account records: reads and writes
app/Services/UUSessionStore.php - UU session auth → UU proxy client: logs in
app/Services/UUSessionAuthenticator.php - UU session auth → UU session store: syncs session
app/Services/UUSessionAuthenticator.php - Diagnostic recorder → Diagnostic events: writes events
app/Services/Diagnostics/DiagnosticRecorder.php - Student → Alt UU+ subscription: subscribes
README.md