The Smart Classroom & Timetable Scheduler is a web platform for building academic timetables without spreadsheet chaos. Configure your institution (days, periods, breaks), register subjects, faculty, rooms and batches, declare your constraints ā then generate, review and publish conflict-free schedules, exporting them as PDF, Excel or CSV.
It is a fully client-side app: no backend, no account. Everything lives in the browser via
localStorage, so it works offline and on any machine.
- Institution Setup ā working days, period structure, breaks and semester dates
- Data Management ā subjects (theory/lab), faculty, rooms and student batches
- Constraint Manager ā hard and soft constraints (no double-booking, room capacity, ā¦)
- Timetable Optimizer ā per-class generation with:
- conflict prevention against already-saved timetables
- pattern-avoidance heuristics so schedules don't collapse into repetitive blocks
- randomized seeds ā regenerate to get alternative valid layouts
- Timetable Viewer ā approve, publish and inspect generated schedules
- Exports ā PDF and Excel for whole timetables, plus dedicated lab-schedule CSVs (simple "which batch, which subject, which lab" view and per-labroom listings)
- React + TypeScript, Vite, Tailwind CSS, shadcn/ui component kit, lucide-react icons
- Exporters: jspdf, jspdf-autotable, xlsx (+ custom CSV lab exporters in the engine)
- State: React hooks +
localStoragepersistence - Package management: pnpm (workspace lockfile included)
Smart_Classroom_And_TimeTable_Scheduler/
āāā shadcn-ui/ # The application
ā āāā src/
ā āāā components/ # InstitutionSetup, DataManagement, ConstraintManager,
ā ā # TimetableOptimizer, TimetableViewer (+ ui kit)
ā āāā lib/timetableEngine.ts # Generation logic + lab-schedule CSV exporters
ā āāā types/timetable.ts # Shared domain types
ā āāā pages/ # Index + 404
āāā build/v1/ # Pre-built static production bundle (open index.html)
āāā cover/ # Project cover art
āāā LICENSE
āāā README.md
git clone https://github.com/princekumar-dev/Smart_Classroom_And_TimeTable_Scheduler.git cd Smart_Classroom_And_TimeTable_Scheduler pnpm install cd shadcn-ui pnpm dev # http://localhost:5173
npm/yarn also work (
npm installinsideshadcn-ui/), but pnpm is the configured manager.
No build step? A ready-made static bundle is committed at build/v1/ ā serve
that folder with any static server for a quick preview.
- Institution Setup ā define days, periods, breaks and term dates
- Data Management ā add subjects, faculty, rooms and batches
- Constraint Manager ā declare hard/soft rules
- Timetable Optimizer ā pick a class/batch and generate (re-run for alternative layouts)
- Timetable Viewer ā approve, publish and export PDF / Excel / lab CSVs
See LICENSE.
Prince Kumar ā @princekumar-dev
