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: 9 months ago
JSON representation
CGU's unofficial notice notifier telegram bot.
- Host: GitHub
- URL: https://github.com/prashantrahul141/cgu-notices-notifier
- Owner: prashantrahul141
- License: mit
- Created: 2023-10-05T16:38:37.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-30T13:43:05.000Z (almost 2 years ago)
- Last Synced: 2025-01-22T02:23:45.186Z (10 months ago)
- Topics: bot, notifier, telegram, telegram-bot
- Language: Rust
- Homepage: https://t.me/cgu_notices_bot
- Size: 82 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```
