Skip to content

kamack38/easycar

Repository files navigation

EasyCar

This is a repo for easy car - an app which finds the newest exams on info-car.pl

Remember to give this repo a ⭐.

Features

  • 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

Prerequisites

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.

You can create your own bot using the BotFather.

Installing

cargo install --git https://github.com/kamack38/easycar.git

Building

cargo build --release --bin easycar-service

Running

RUST_LOG="INFO" ./target/release/easycar-service

Deployment

This repo provides a shuttle deployment.

To use it create an account at shuttle.

Install cargo-shuttle:

cargo install cargo-shuttle

and login to your account:

shuttle login

Create a new project:

shuttle init

To deploy run:

shuttle deploy

License

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 🇵🇱!

About

Repository for interacting with the https://info-car.pl service

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages