This is a repo for easy car - an app which finds the newest exams on info-car.pl
Remember to give this repo a ⭐.
- Username and password login
- Session refreshing
- Separate library crate
- Enrolling to exam
- Easy deployment to shuttle.rs
- Mobile notifications via a telegram
- Customisable telegram bot
- Checking exam status
- Paying for exam using BLIK code
To run this project and use the telegram bot you have to fill in the Secrets.toml.example file and
then rename it to Secrets.toml.
If you want to choose a proper OSK_ID for your exam centre you can see the corresponding word
names and OKS_IDs here.
You can create your own bot using the BotFather.
You can either compile this program yourself or use one of the provided binaries in the release page
cargo install --git https://github.com/kamack38/easycar.gitcargo build --releaseRUST_LOG="INFO" cargo run --releaseA user systemd unit file is provided (assets/easycar.service). Secrets.toml needs to reside in
the home directory of a user. After completing the installation, copy the unit file to
~/.config/systemd/user/ and then enable and start the service:
systemctl --user enable --now easycar.serviceIf you want it to start automatically after a reboot, enable lingering for your user:
sudo loginctl enable-linger "$(whoami)"This repo provides a shuttle deployment.
To use it create an account at shuttle.dev.
Install cargo-shuttle:
cargo install cargo-shuttleand login to your account:
shuttle loginCreate a new project:
shuttle initTo deploy run:
shuttle deployI consider the project feature complete but if You are missing certain a feature please contribute.
The only thing I may refactor is the logining in, because it currently depends on a bug on the website.
The easycar project is distributed under the AGPL-3.0 license and the info-car-api crate is
distributed under the LGPL-3.0 license. The license files are stored in the respective project
roots.
Copyright (C) 2024 Kamack38
Made with ❤️ in 🇵🇱!