Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/prashantrahul141/cgu-notices-notifier

CGU's unofficial notice notifier telegram bot.
https://github.com/prashantrahul141/cgu-notices-notifier

bot notifier telegram telegram-bot

Last synced: about 1 month ago
JSON representation

CGU's unofficial notice notifier telegram bot.

Awesome Lists containing this project

README

        

.

CGU Notice Notifier

Telegram bot which sends notifications to all subscribed users whenever CGU posts any update on their website notice board.

Here's the instance I am hosting : @CGU_Notices_Bot



🛠️ Building from source

1. Clone the repo
```sh
git clone https://github.com/prashantrahul141/CGU-Notices-Notifier
```

2. Add the following env vars to `.env`
```sh
SITE_URL="https://cgu-odisha.ac.in/notice"
DB_USERNAME=""
DB_PASSWORD=""
DB_CONNECTION_URI=""
DATABASE_NAME="cgu-notice-db"
NOTICES_COLLECTION_NAME="all-notices-col"
METADATA_COLLECTION_NAME="metadata-col"
TELOXIDE_TOKEN=""
```

3. Build and run using cargo
```sh
cargo run --release
```