Skip to content

Commit

Permalink
Added readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
TanguyLichau committed Jan 5, 2023
1 parent 4177c66 commit bcbfcea
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# AutoAttendance

Thank you [Sacha](https://github.com/Sacha924) for contributing and helping with the project.

This project is a simple JS project using Puppeteer. The goal is to mark yourself as present automatically.

First we connect to the attendance platform to receive the authentification cookies. We also grab the schedule and the corresponding class_ids.

We then wait for the start of the class to try and mark the student present. If the request is not conclusive we wait a certain amount of time before trying again. When the request finaly goes through we can exit the loop and wait for the next class to start.
When all the classes are done, the program stops.

---

## Requirements

You need to modify the .env.example file and fill it with your current credentials for the [leonard-de-vinci](https://www.leonard-de-vinci.net) site.

## Installation

git clone https://github.com/TanguyLichau/AutoAttendance.git
cd AutoAttendance
npm install

After installation you can run the project with

```
node index.js
```

0 comments on commit bcbfcea

Please sign in to comment.