Skip to content

An NLP based Telegram Bot that pushes KTU Announcements Notifications

License

Notifications You must be signed in to change notification settings

RamesanPP/KTU-Notifier

 
 

Repository files navigation

KTU Notifier

Gives Notifications of KTU announcements from their site using a Telegram Bot ( http://t.me/ktunotifbot )

Workflow

Python Version 3.7 (last checked working)

Instructions to create your own version of this bot

  • Clone the Repo.
  • Install the requirements.txt using pip.
  • Create a new Telegram Bot using BotFather in telegram.
  • Create a Firebase Realtime Database for handling subscribers and storing notifications cache.
  • Make a file named .env in the root folder and add the line TOKEN=XXXXXX (Your telegram bot token).
  • Also add the firebase credentials to the .env file.
  • Run bot.py in your system and you'll see that the bot starts responding to commands on Telegram.
  • Your bot should work as long as you have bot.py running.
  • You can host it to Heroku to run forever using instructions at https://github.com/michaelkrukov/heroku-python-script.

Big thanks to @nandakishormpai2001 for adding an NLP based filterer that checks for relevancy of each KTU Notification

Screenshot of .env file

Contributions will be Appreciated 😊

About

An NLP based Telegram Bot that pushes KTU Announcements Notifications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.9%
  • Procfile 0.1%