1.2 KiB
1.2 KiB
IPLeiria Auto Attendance Script
This project automates the process of navigating to the IPLeiria GISEM platform and marking your attendence using the chromedp library.
Prerequisites
- Go 1.23.2 or later
- A Chromium browser installed
Installation
-
Clone the repository:
git clone https://github.com/FernandoJVideira/gisem-presencas.git cd gisem-presencas -
Install dependencies:
go mod tidy -
Add your credentials to the
utils.gofile.
Usage
To run the project, execute the following command:
go run main.go
As another option you can build the project by running:
go build .
And run it like:
./gisem_presencas -w value
Flags
-wor-wait: Time to wait in between refreshes (default is 30 seconds).
Project Structure
main.go: The main entry point of the application.utils.go: Contains utility functions such as flag parsing and the welcome message..env: Environment variables file.example.env: Example environment variables file.go.mod: Go module dependencies.go.sum: Go module dependency checksums.README.md: Project documentation.
License
This project is licensed under the MIT License.