# omsherlekar29/sbmp-academic-hub1 architecture

> Architecture diagram of the GitHub repository omsherlekar29/sbmp-academic-hub1, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/omsherlekar29/sbmp-academic-hub1
- Repository: https://github.com/omsherlekar29/sbmp-academic-hub1

## Overview

SBMP Academic Hub is a static, student-facing academic portal that brings course information, schedules, resources, and student tools into one site. The main workflow is browsing a dashboard or academic section, consulting bundled subject and timetable data, and using optional local browser tools to track attendance and tasks. There is no backend or database; user state stays in localStorage. The graph preserves the README’s major capabilities, but several unsampled feature links are documented only at the product level and are cited to the README.

Main entry points: [`index.html`](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/index.html) (Home dashboard), [`js/attendance.js`](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/attendance.js) (Attendance tracker), [`js/notices.js`](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/notices.js) (Notices and calendar), [`data/subjects.js`](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/data/subjects.js) (Subject catalog)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_dashboard["Portal and navigation"]
  node_home["Home dashboard<br/>[index.html]"]
  node_site_shell["Site layout<br/>[layout.js]"]
  node_appearance["Theme and motion<br/>[theme.js]"]
  node_clock["Live clock<br/>[clock.js]"]
  node_countdown["Exam countdown<br/>[countdown.js]"]
end

subgraph group_academics["Academic information"]
  node_schedule["Timetable<br/>[timetable.js]"]
  node_subject_pages["Subject pages<br/>[subjects.js]"]
  node_student_directory["Student directory<br/>[students.js]"]
  node_faculty_directory["Faculty directory<br/>[faculty.html]"]
  node_resources["Resource downloads<br/>[downloads.js]"]
  node_notices["Notices and calendar<br/>[notices.js]"]
  node_ics_export["Calendar export<br/>[calendar-ics.js]"]
end

subgraph group_student_tools["Student tools"]
  node_attendance["Attendance tracker<br/>[attendance.js]"]
  node_pdf_import["Attendance PDF import<br/>[pdf-import.js]"]
  node_planner["Task planner<br/>[planner.js]"]
  node_feedback["Feedback form<br/>[feedback.js]"]
  node_browser_storage[("Browser localStorage")]
end

subgraph group_shared_data["Bundled content"]
  node_syllabus["Subject catalog<br/>[subjects.js]"]
  node_timetable_data["Schedule data<br/>[timetable.js]"]
  node_student_data["Student records<br/>[students.js]"]
  node_sap_lookup["SAP lookup data<br/>[sap-lookup.js]"]
  node_faculty_data["Faculty records<br/>[faculty.js]"]
  node_resource_metadata["Resource metadata<br/>[notes.js]"]
  node_notice_data["Notice entries<br/>[notices.js]"]
  node_calendar_data["Academic events<br/>[calendar.js]"]
  node_attendance_rules["Attendance rules"]
end

node_student(("Student"))
node_pdfjs["PDF.js"]

node_student -->|"opens"| node_home
node_home -->|"boots layout"| node_site_shell
node_home -->|"boots theme"| node_appearance
node_home -->|"boots clock"| node_clock
node_home -->|"boots previews"| node_notices
node_home -->|"boots countdown"| node_countdown
node_home -->|"renders subjects"| node_syllabus
node_home -->|"boots dashboard"| node_attendance
node_student -->|"views schedule"| node_schedule
node_schedule -->|"renders from"| node_timetable_data
node_student -->|"browses subjects"| node_subject_pages
node_subject_pages -->|"renders from"| node_syllabus
node_subject_pages -->|"initializes tracker"| node_attendance
node_student -->|"searches directory"| node_student_directory
node_student_directory -->|"reads records"| node_student_data
node_student_directory -->|"looks up SAP"| node_sap_lookup
node_student -->|"views faculty"| node_faculty_directory
node_faculty_directory -.->|"uses records"| node_faculty_data
node_student -->|"searches resources"| node_resources
node_resources -->|"loads metadata"| node_resource_metadata
node_student -->|"reads notices"| node_notices
node_notices -->|"loads notices"| node_notice_data
node_notices -->|"loads events"| node_calendar_data
node_notices -->|"exports events"| node_ics_export
node_student -->|"tracks attendance"| node_attendance
node_attendance -->|"applies rules"| node_attendance_rules
node_attendance -->|"uses subjects"| node_syllabus
node_attendance -->|"persists records"| node_browser_storage
node_student -->|"imports report"| node_pdf_import
node_pdf_import -->|"loads parser"| node_pdfjs
node_pdf_import -->|"saves parsed data"| node_attendance
node_student -->|"manages tasks"| node_planner
node_planner -->|"uses subjects"| node_syllabus
node_planner -->|"persists tasks"| node_browser_storage
node_student -->|"sends feedback"| node_feedback
node_feedback -->|"saves locally"| node_browser_storage

click node_home "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/index.html"
click node_site_shell "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/layout.js"
click node_appearance "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/theme.js"
click node_clock "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/clock.js"
click node_countdown "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/countdown.js"
click node_schedule "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/timetable.js"
click node_subject_pages "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/subjects.js"
click node_syllabus "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/data/subjects.js"
click node_timetable_data "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/data/timetable.js"
click node_student_directory "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/students.js"
click node_student_data "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/data/students.js"
click node_sap_lookup "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/data/sap-lookup.js"
click node_faculty_directory "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/pages/faculty.html"
click node_faculty_data "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/data/faculty.js"
click node_resources "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/downloads.js"
click node_resource_metadata "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/data/notes.js"
click node_notices "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/notices.js"
click node_notice_data "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/data/notices.js"
click node_calendar_data "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/data/calendar.js"
click node_ics_export "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/calendar-ics.js"
click node_attendance "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/attendance.js"
click node_attendance_rules "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/data/attendance-config.js"
click node_pdf_import "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/pdf-import.js"
click node_planner "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/planner.js"
click node_feedback "https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/feedback.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_home,node_site_shell,node_appearance,node_clock,node_countdown toneBlue
class node_schedule,node_subject_pages,node_student_directory,node_faculty_directory,node_resources,node_notices,node_ics_export toneAmber
class node_attendance,node_pdf_import,node_planner,node_feedback,node_browser_storage toneMint
class node_syllabus,node_timetable_data,node_student_data,node_sap_lookup,node_faculty_data,node_resource_metadata,node_notice_data,node_calendar_data,node_attendance_rules toneRose
class node_student,node_pdfjs toneIndigo
```

## Components

### Portal and navigation

- [Home dashboard](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/index.html): `index.html`
- [Site layout](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/layout.js): `js/layout.js`
- [Theme and motion](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/theme.js): `js/theme.js`
- [Live clock](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/clock.js): `js/clock.js`
- [Exam countdown](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/countdown.js): `js/countdown.js`

### Academic information

- [Timetable](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/timetable.js): `js/timetable.js`
- [Subject pages](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/subjects.js): `js/subjects.js`
- [Student directory](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/students.js): `js/students.js`
- [Faculty directory](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/pages/faculty.html): `pages/faculty.html`
- [Resource downloads](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/downloads.js): `js/downloads.js`
- [Notices and calendar](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/notices.js): `js/notices.js`
- [Calendar export](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/calendar-ics.js): `js/calendar-ics.js`

### Student tools

- [Attendance tracker](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/attendance.js): `js/attendance.js`
- [Attendance PDF import](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/pdf-import.js): `js/pdf-import.js`
- [Task planner](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/planner.js): `js/planner.js`
- [Feedback form](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/js/feedback.js): `js/feedback.js`
- **Browser localStorage**

### Bundled content

- [Subject catalog](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/data/subjects.js): `data/subjects.js`
- [Schedule data](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/data/timetable.js): `data/timetable.js`
- [Student records](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/data/students.js): `data/students.js`
- [SAP lookup data](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/data/sap-lookup.js): `data/sap-lookup.js`
- [Faculty records](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/data/faculty.js): `data/faculty.js`
- [Resource metadata](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/data/notes.js): `data/notes.js`
- [Notice entries](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/data/notices.js): `data/notices.js`
- [Academic events](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/data/calendar.js): `data/calendar.js`
- [Attendance rules](https://github.com/omsherlekar29/sbmp-academic-hub1/blob/main/data/attendance-config.js): `data/attendance-config.js`

### Other components

- **Student**
- **PDF.js**

## Connections

- Student → Home dashboard: opens (evidence: `readme.md`)
- Home dashboard → Site layout: boots layout
- Home dashboard → Theme and motion: boots theme
- Home dashboard → Live clock: boots clock
- Home dashboard → Notices and calendar: boots previews
- Home dashboard → Exam countdown: boots countdown
- Home dashboard → Subject catalog: renders subjects
- Home dashboard → Attendance tracker: boots dashboard
- Student → Timetable: views schedule (evidence: `readme.md`)
- Timetable → Schedule data: renders from (evidence: `js/timetable.js`)
- Student → Subject pages: browses subjects (evidence: `readme.md`)
- Subject pages → Subject catalog: renders from (evidence: `js/subjects.js`)
- Subject pages → Attendance tracker: initializes tracker (evidence: `js/subjects.js`)
- Student → Student directory: searches directory (evidence: `readme.md`)
- Student directory → Student records: reads records (evidence: `js/students.js`)
- Student directory → SAP lookup data: looks up SAP (evidence: `js/students.js`)
- Student → Faculty directory: views faculty (evidence: `readme.md`)
- Faculty directory → Faculty records: uses records
- Student → Resource downloads: searches resources (evidence: `readme.md`)
- Resource downloads → Resource metadata: loads metadata (evidence: `js/downloads.js`)
- Student → Notices and calendar: reads notices (evidence: `readme.md`)
- Notices and calendar → Notice entries: loads notices (evidence: `js/notices.js`)
- Notices and calendar → Academic events: loads events (evidence: `js/notices.js`)
- Notices and calendar → Calendar export: exports events (evidence: `js/notices.js`)
- Student → Attendance tracker: tracks attendance (evidence: `readme.md`)
- Attendance tracker → Attendance rules: applies rules (evidence: `js/attendance.js`)
- Attendance tracker → Subject catalog: uses subjects (evidence: `js/attendance.js`)
- Attendance tracker → Browser localStorage: persists records (evidence: `readme.md`)
- Student → Attendance PDF import: imports report (evidence: `readme.md`)
- Attendance PDF import → PDF.js: loads parser (evidence: `js/pdf-import.js`)
- Attendance PDF import → Attendance tracker: saves parsed data (evidence: `js/pdf-import.js`)
- Student → Task planner: manages tasks (evidence: `readme.md`)
- Task planner → Subject catalog: uses subjects (evidence: `js/planner.js`)
- Task planner → Browser localStorage: persists tasks (evidence: `readme.md`)
- Student → Feedback form: sends feedback (evidence: `readme.md`)
- Feedback form → Browser localStorage: saves locally (evidence: `readme.md`)
