This is an automated assistant tool exclusively designed for University of Malaya (UM) students. It helps you complete your attendance sign-in on Spectrum automatically and punctually, ensuring you never miss a check-in while you are busy.
If you don't want to mess with coding environments and just want to run the software directly, follow these steps:
Note: If the button above doesn't work, please go to the Releases Page and download manually.
- Extract Files: After downloading, you MUST right-click the zip file and select "Extract to current folder". (
⚠️ Do not run the program directly from inside the zip file!) - Launch: Open the extracted folder and double-click
gui.exe. - First-time Login: Click the
🔑 Log In Spectrumbutton. Log in to your UM account manually in the pop-up browser, then close it. (Abot_profilefolder will be created to store your session; do not delete it!) - Add Schedule: Enter your class day, start/end time, course name, and the specific Spectrum attendance URL, then click
➕ Add to Schedule. - One-click Standby: Click the blue
🚀 Save & Launchbutton. You can minimize the app; it will automatically click "Present" and save logs when the time comes!
- Open Course: Go to your course on Spectrum.
- Click Attendance: Click the Attendance activity link.
- Copy URL: Copy the address from your browser (Ensure it contains
mod/attendance).
If you want to study the source code or run the Python script natively, follow these deployment steps:
- Python: Install Python (3.10 or 3.11 recommended).
⚠️ CRITICAL: Make sure to checkAdd Python.exe to PATHduring installation. - Browser: This program relies on the built-in Microsoft Edge browser on Windows.
Open your terminal (CMD or PowerShell) and run:
git clone [https://github.com/CaoLongyang/Auto_Attendance.git](https://github.com/CaoLongyang/Auto_Attendance.git)
cd Auto_Attendancepython -m pip install --upgrade pip
python -m pip install flet seleniumpython gui.pyPrevent Computer Sleep: Your screen can turn off, but your PC must not enter "Sleep" or "Hibernate" mode, otherwise the network disconnection will cause sign-in failure.
Password-protected Attendance: If a lecturer sets a temporary password, the bot will pause and show a red warning box to alert you for manual intervention!
Do Not Delete Files: The generated config.json and bot_profile are crucial; deleting them will require you to re-configure the app.
Page Persistence: After signing in, the browser window will stay open until you manually close it, allowing you to verify the result at any time.
💡 Developer: Cao Longyang