This is the application that will run on the sign-in computer. It provides a simple interface to log sign-ins and sign-outs.
There are some built-in commands you can enter instead of an ID to do certain things:
- Open terminal / command prompt: configurable in config.json, only really useful on Windows
- Update & restart the program (doesn't reset the log): up
- Close the window: exit
- Manually remove the auth token and try to re-authenticate: fix
- Toggle ✨Fun Mode✨ (no confetti unfortunately): fun
- When an ID is valid and the person is signed out, the person is signed in and their name is displayed on the signed in list.
- When an ID is valid and the person is signed in, the person is signed out and their name is removed from the signed in list.
- When an ID is invalid, it is NOT recorded, and the screen flashes red for 3 seconds.
- The screen displays the individuals that are currently signed in.
- Use Git (
sudo apt-get install gitor download it here for Windows) to clone this repository or download the source and extract it in a directory of your choice.
- If you're on Linux,
cdinto the directory, then run./install.sh. If it gives a permission error, give it execute permissions withchmod +x ./install.sh. Linux distros other than Debian are not currently supported. - If you're on Windows, you'll need to install Python. ONLY VERSIONS <3.12 ARE SUPPORTED BY QT. 3.11.9 is the latest supported version with Windows support.
cdinto the directory and runinstall.bat.
- Through Google Cloud, create credentials and put them in
credentials.json. - Create
config.jsonand put the ID of the spreadsheet and password to open CMD, formatted like{"spreadsheet_id": "YOUR_SPREADSHEET_ID", "cmd_password": "YOUR_CMD_PASSWORD"}.
Simply run ./run.sh on Linux, or run.bat on Windows. If it gives a permission error on Linux, give it execute permissions with chmod +x ./run.sh.
