|
| 1 | +### Session Tracker – Automated Lab Usage Logging System |
| 2 | + |
| 3 | +Session Tracker is a Java-based desktop application designed to **automatically record student lab usage sessions** on Windows systems, eliminating the need for manual logbooks in college computer labs. |
| 4 | + |
| 5 | +The application consists of two main components: |
| 6 | + |
| 7 | +* A **Java Swing startup application** that launches automatically when Windows boots |
| 8 | +* A **background Windows service** that tracks system shutdown events |
| 9 | + |
| 10 | +When the system starts, the Swing application prompts the student to enter their **Name** and **USN**. Once submitted, the application records the **login time** and closes immediately, allowing normal system usage without interruption. |
| 11 | + |
| 12 | +A background Windows service continues running silently and captures the **shutdown time** when the system is powered off. Together, these timestamps form a complete session record. |
| 13 | + |
| 14 | +All session data is: |
| 15 | + |
| 16 | +* Stored locally using **SQLite** |
| 17 | +* Automatically synced to the **cloud** whenever an internet connection is available |
| 18 | + |
| 19 | +This ensures reliable data collection even in offline environments. |
| 20 | + |
| 21 | +--- |
| 22 | + |
| 23 | +## ✨ Key Features |
| 24 | + |
| 25 | +* 🚀 **Auto-start on Windows boot** |
| 26 | +* 🖥️ **Lightweight Java Swing UI** |
| 27 | +* 🕒 **Automatic login & shutdown time tracking** |
| 28 | +* 🗄️ **Local storage using SQLite** |
| 29 | +* ☁️ **Offline-first with automatic cloud sync** |
| 30 | +* 🔒 **No manual intervention required after login** |
| 31 | +* 📚 **Designed for college computer labs** |
| 32 | + |
| 33 | +--- |
| 34 | + |
| 35 | +## 🛠️ Tech Stack |
| 36 | + |
| 37 | +* **Java (Swing)** |
| 38 | +* **Windows Service** |
| 39 | +* **SQLite (Local Database)** |
| 40 | +* **Cloud Storage / API** (for session sync) |
| 41 | +* **Windows OS** |
| 42 | + |
| 43 | +--- |
| 44 | + |
| 45 | +## 🎯 Objective |
| 46 | + |
| 47 | +The primary goal of Session Tracker is to **replace manual lab logbooks** with a fully automated, accurate, and reliable digital system that: |
| 48 | + |
| 49 | +* Reduces human error |
| 50 | +* Saves time for students and lab staff |
| 51 | +* Provides structured session data for analysis and reporting |
| 52 | + |
| 53 | +--- |
| 54 | + |
| 55 | +## 📌 Use Case |
| 56 | + |
| 57 | +Ideal for: |
| 58 | + |
| 59 | +* College and university computer labs |
| 60 | +* Training centers |
| 61 | +* Shared institutional systems requiring usage tracking |
| 62 | + |
| 63 | +--- |
| 64 | + |
| 65 | +## ⚠️ Note |
| 66 | + |
| 67 | +This project was developed as a **college academic project** and may require administrator privileges for installing the Windows service and configuring auto-start behavior. |
| 68 | + |
| 69 | +--- |
0 commit comments