src | ||
static | ||
templates | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
docker-compose.yaml | ||
Dockerfile | ||
LICENSE | ||
pdf2csv.py | ||
README.md |
Orario Scolastico
Orario Scolastico is a web application that allows students to view their school timetable in a more readable way. The application works by downloading the PDF file containing the timetable from the school website and then displaying it in a more user-friendly format.
Requirements
If you want to use Docker Compose
- Git (optional)
- Docker Compose
If you don't want to use Docker Compose
Usage
If you want to self-host the project, you can follow the steps below:
With Docker Compose
git clone https://git.riefolo.me/mariano/orario-scolastico-itet.git
cd orario-scolastico-itet
docker compose up -d --build
Without Docker Compose
If you prefer to build the project without Docker, you can follow the steps below:
git clone https://git.riefolo.me/mariano/orario-scolastico-itet.git
cd orario-scolastico-itet
cargo build --release
./target/release/orario-scolastico-itet
Consider that this may not work if you are not on a Linux machine.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
FAQ
Does this project DoS the school website?
The project features a cache system that prevents it from making too much requests. The list of PDFs is only fetched every 30 minutes only if a user asks for it, and the pdf files are only fetched once per file.
Can I use this project with my school?
At the moment, the project is only compatible with the ITET Cassandro Fermi Nervi institute in Italy.
License
Orario Scolastico is released under the Mozilla Public License 2.0