Updated Credentials Storage

This commit is contained in:
2025-03-08 03:34:04 +00:00
commit 1142011a19
6 changed files with 548 additions and 0 deletions
+63
View File
@@ -0,0 +1,63 @@
# 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
1. Clone the repository:
```sh
git clone https://github.com/FernandoJVideira/gisem-presencas.git
cd gisem-presencas
```
2. Install dependencies:
```sh
go mod tidy
```
3. Add your credentials to the `utils.go` file.
## Usage
To run the project, execute the following command:
```sh
go run main.go
```
As another option you can build the project by running:
```sh
go build .
```
And run it like:
```sh
./gisem_presencas -w value
```
## Flags
- `-w` or `-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.