Skip to content

Telegram bot for notifying about university rating changes

Notifications You must be signed in to change notification settings

istudyatuni/uni-rating-checker

Repository files navigation

University rating checker

Telegram bot for notifying about rating changes.

Running locally

You need rust installed

  • Get token from @BotFather
  • Create .env file and fill (this file is used only at compile time)
TG_TOKEN=TOKEN-HERE
  • Clone this repository
  • Run from inside project directory
cargo r --release

Building for production

You need cross installed for building static-linked binary.

Follow steps from "Running locally", also add to .env token for production bot:

TG_TOKEN_PROD=TOKEN-HERE

then run:

cross b --release --features prod

Alternatively, you can build app on the target machine

cargo b --release --features prod

and take the executable file from the target/release folder.

Development

Enable git hooks:

git config core.hooksPath .githooks

About

Telegram bot for notifying about university rating changes

Topics

Resources

Stars

Watchers

Forks