How bvamsikiran/syllabus-to-study-plan-agent-latest works
Synapse AI is a study-planning and active-recall application. Students enter through onboarding, provide syllabus and exam constraints, shape study bandwidth and resources, then use a generated schedule/dashboard alongside voice recall and handwritten-work analysis. Firebase supplies identity and persistence; optional Google Workspace features cover Drive, Gmail, Slides, and Forms. The graph reflects the shown App orchestration and indexed imports; several feature components and the server were not excerpted, so their internal behavior and some integration links remain unverified.
Main entry points: App.tsx App orchestration · firestoreService.ts Study data service · GoogleAuthContext.tsx Auth context · StudyDashboard.tsx Study dashboard
Components 29
Study planning
- App orchestration
src/App.tsx - Landing page
src/components/LandingPage.tsx - Syllabus upload
src/components/Step1Upload.tsx - Exam setup
src/components/Step2Exam.tsx - Study bandwidth
src/components/Step3Bandwidth.tsx - Resource planning
src/components/Step4Resources.tsx - Master schedule
src/components/MasterSchedule.tsx - Study dashboard
src/components/StudyDashboard.tsx - Navigation header
src/components/NavigationHeader.tsx - Starter study data
src/data/mockData.ts
Study and assessment
- Voice recall quiz
src/components/VoiceRecallQuiz.tsx - Handwritten analysis
src/components/HandwrittenAnalysis.tsx
Identity and persistence
- Google account menu
src/components/GoogleAuthButton.tsx - Auth context
src/context/GoogleAuthContext.tsx - Firebase / Google auth
src/services/googleAuth.ts - Study data service
src/services/firestoreService.ts - Cloud Firestore
Google Workspace
- Drive modal
src/components/GoogleDriveModal.tsx - Drive service
src/services/googleDrive.ts - Gmail sync modal
src/components/GmailSyncModal.tsx - Gmail service
src/services/googleGmail.ts - Slides modal
src/components/GoogleSlidesModal.tsx - Slides service
src/services/googleSlides.ts - Forms modal
src/components/GoogleFormsModal.tsx - Forms service
src/services/googleForms.ts
Analysis engine
- Local Gemma engine
localGemmaEngine.ts - Application server
server.ts
Other components
- Student
- Google Workspace
Connections 30
- Student → App orchestration: uses
- App orchestration → Landing page: renders
src/App.tsx - App orchestration → Navigation header: renders
src/App.tsx - App orchestration → Syllabus upload: renders
src/App.tsx - App orchestration → Exam setup: renders
src/App.tsx - App orchestration → Study bandwidth: renders
src/App.tsx - App orchestration → Resource planning: renders
src/App.tsx - App orchestration → Master schedule: renders
src/App.tsx - App orchestration → Study dashboard: renders
src/App.tsx - App orchestration → Voice recall quiz: renders
src/App.tsx - App orchestration → Handwritten analysis: renders
src/App.tsx - App orchestration → Starter study data: loads defaults
src/App.tsx - App orchestration → Auth context: wraps app
src/App.tsx - Auth context → Firebase / Google auth: delegates auth
src/context/GoogleAuthContext.tsx - App orchestration → Study data service: loads and saves
src/App.tsx - Study data service → Cloud Firestore: reads and writes
src/services/firestoreService.ts - Study dashboard → Study data service: saves plans
src/components/StudyDashboard.tsx - Voice recall quiz → Study data service: saves quiz results
src/components/VoiceRecallQuiz.tsx - Handwritten analysis → Study data service: persists analyses
src/components/HandwrittenAnalysis.tsx - Navigation header → Google account menu: renders
src/components/NavigationHeader.tsx - Google account menu → Auth context: uses auth state
src/components/GoogleAuthButton.tsx - Drive modal → Drive service: uses service
src/components/GoogleDriveModal.tsx - Gmail sync modal → Gmail service: uses service
src/components/GmailSyncModal.tsx - Slides modal → Slides service: uses service
src/components/GoogleSlidesModal.tsx - Forms modal → Forms service: uses service
src/components/GoogleFormsModal.tsx - Drive service → Google Workspace: accesses Drive
- Gmail service → Google Workspace: accesses Gmail
- Slides service → Google Workspace: accesses Slides
- Forms service → Google Workspace: accesses Forms
- Application server → Local Gemma engine: references engine
server.ts