Skip to content

swarooppatilx/timetable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

Timetable

Fast, minimalist timetable and attendance tracker with a clean, punchy UI. No server. No build. Just open and use.

Features

  • Today and week views
  • Attendance with calendar
  • Everything saved locally (localStorage)
  • Installable PWA
  • Handy shortcuts: mark day Present (P) / Absent (A)

Tech stack

  • Vanilla JS (ES6+)
  • Tailwind CSS (CDN)
  • Lucide Icons

No frameworks. No build steps.


Screenshots

Tap to view screenshots

Today view

Week view

Calendar view


Timetable data format

Timetable data lives in data.js as timetableData.

You can:

  • Add more days to an existing timetable
  • Add new timetables for other classes/batches
Example (tap to expand)
const timetableData = [
  {
    id: "ty-it", // Unique ID for this timetable
    displayName: "TY IT", // Display name for UI
    batches: ["T1", "T2", "T3"],

    days: [
      {
        day: "Monday",
        dayIndex: 1, // 1 = Monday, 2 = Tuesday, etc.
        slots: [
          {
            time: "08:15-09:15",
            type: "lecture",
            subject: "ML",
            teacher: "MKP",
            room: "605",
            color: "#ef4444"
          },
          {
            time: "10:30-11:30",
            type: "lab",
            color: "#a855f7",
            batches: [
              { name: "T1", subject: "SL-1 Lab", teacher: "ASP", room: "607-A" },
              { name: "T2", subject: "SEPM Lab", teacher: "RYT", room: "607-A" },
              { name: "T3", subject: "SL-1 Lab", teacher: "NF1", room: "607-B" }
            ]
          }
        ]
      }

      // Add more days here...
    ],

    timeSlots: [
      { start: "08:15", end: "09:15" },
      { start: "09:15", end: "10:15" },
      { start: "10:15", end: "10:30", label: "Tea Break" },
      { start: "10:30", end: "11:30" },
      { start: "11:30", end: "12:30" },
      { start: "12:30", end: "13:15", label: "Lunch Break" },
      { start: "13:15", end: "14:15" },
      { start: "14:15", end: "15:15" },
      { start: "15:15", end: "16:15" }
    ]
  }

  // Add another timetable here for a different class or section...
];

Contributing

How to contribute (tap to expand)
  1. Fork and clone
git clone https://github.com/swarooppatilx/timetable.git
cd timetable
  1. Make changes
  • Edit timetableData in data.js
  • Update styles in style.css or Tailwind classes in index.html
  • Add features/fixes in app.js
  1. Test locally
  • Open index.html directly, or run a local server:
python -m http.server -d public/
  1. Commit and push
git add .
git commit -m "feat: add new timetable for SY IT"
git push origin main
  1. Open a Pull Request on GitHub

About

A clean, responsive, minimalist timetable and attendance tracker with a neo-brutalist design.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •