How shkundapn/cms_obgortka works
Hustle is a student-facing Moodle study workspace with a FastAPI backend, a browser extension for Moodle pairing, and web interfaces. The principal workflow is: a student connects Moodle, Hustle retrieves and organizes course materials, then the student uses learning tools and calendar planning. The graph also preserves documented AI, video, oral-practice, and calendar integrations. Backend routing and several service dependencies are supported by indexed references; frontend-to-API details and unsampled router internals are limited to README-level evidence.
Main entry points: main.py API application · workspace_store.py Workspace store · courses.py Course routes · moodle_client.py Moodle client
Components 26
API and Identity
- API application
backend/app/main.py - Authentication
backend/app/routers/auth.py - Course routes
backend/app/routers/courses.py - Assignment routes
backend/app/routers/assignments.py - Calendar routes
backend/app/routers/calendar.py - Learning routes
backend/app/routers/learning.py - Workspace routes
backend/app/routers/workspace.py
Study Services
- Moodle client
backend/app/services/moodle_client.py - Course structure
backend/app/services/course_structure.py - Learning provider
backend/app/services/learning_provider.py - AI generation
backend/app/services/gemini_service.py - Video transcription
backend/app/services/video_transcriber.py - Oral defense practice
backend/app/services/oral_defense_service.py - Calendar planning
backend/app/services/calendar_service.py - Calendar scheduler
backend/app/services/calendar_scheduler.py
Student Interfaces
- Hustle workspace UI
frontend/hustle - Prototype UI
frontend/prototype - Browser extension
frontend/extension
Persistence and Integrations
- Workspace store
backend/app/services/workspace_store.py - Academic cache
backend/app/services/academic_cache.py - Calendar storage
backend/app/services/calendar_service.py
Other components
- Student
- Moodle LMS
- Gemini / Vertex AI
- YouTube
- Google Calendar / iCalendar
Connections 38
- Student → Hustle workspace UI: uses
README.md - Student → Prototype UI: uses
README.md - Student → Browser extension: pairs Moodle
README.md - Hustle workspace UI → API application: requests API
- Prototype UI → API application: requests API
- Browser extension → API application: pairs through API
- API application → Authentication: routes to
backend/app/main.py - API application → Course routes: routes to
backend/app/main.py - API application → Assignment routes: routes to
backend/app/main.py - API application → Calendar routes: routes to
backend/app/main.py - API application → Learning routes: routes to
backend/app/main.py - API application → Workspace routes: routes to
backend/app/main.py - Authentication → Moodle client: authenticates with
backend/app/routers/auth.py - Authentication → Workspace store: links account
backend/app/routers/auth.py - Authentication → Academic cache: invalidates
backend/app/routers/auth.py - Course routes → Moodle client: retrieves courses
backend/app/routers/courses.py - Course routes → Academic cache: reads cache
backend/app/routers/courses.py - Course routes → Video transcription: transcribes videos
backend/app/routers/courses.py - Course routes → Workspace store: persists workspace
backend/app/routers/courses.py - Assignment routes → Moodle client: retrieves assignments
backend/app/routers/assignments.py - Assignment routes → Academic cache: uses cache
backend/app/routers/assignments.py - Calendar routes → Calendar planning: uses calendar
backend/app/routers/calendar.py - Calendar routes → Calendar scheduler: schedules study
backend/app/routers/calendar.py - Calendar routes → Academic cache: reads cache
backend/app/routers/calendar.py - Learning routes → Learning provider: generates learning
- Workspace routes → Workspace store: reads and writes
- Moodle client → Moodle LMS: requests course data
README.md - Moodle client → Course structure: organizes content
backend/app/services/moodle_client.py - Workspace store → AI generation: builds study materials
backend/app/services/workspace_store.py - Workspace store → Video transcription: resolves video notes
backend/app/services/workspace_store.py - Learning provider → Gemini / Vertex AI: configures generation
- AI generation → Gemini / Vertex AI: uses provider
README.md - Workspace store → Oral defense practice: supports practice
- Oral defense practice → AI generation: generates questions
backend/app/services/oral_defense_service.py - Calendar planning → Calendar storage: reads and writes
backend/app/services/calendar_service.py - Calendar planning → Google Calendar / iCalendar: syncs events
README.md - Calendar planning → Moodle LMS: imports deadlines
- Video transcription → YouTube: extracts lecture notes
README.md