Skip to content

A telegram news bot which will show you news from any country, in any language about topics specified by you.

License

Notifications You must be signed in to change notification settings

RishikaGhosh/News-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

News-Bot 🤖

Introduction

News-bot is a telegram bot which will show you news from any country, in any language about topics specified by you.

About the Bot

Features 📰

  • This bot is trained to fetch news from any country and in any language.
  • It is equipped for small talk.
  • It is also equipped with a custom keyboard which will show you all the available topics.
  • Also, the bot is trained for fuzzy matching i.e. it can identify the topics even if you mispell them.
    • E.g. If you mispell "sports" as "sprts","spots" etc, the bot can understand that you meant "sports".

News-Topics 📕

  • Top Stories
  • World
  • Nation
  • Business
  • Technology
  • Entertainment
  • Sports
  • Science
  • Health

Inside the bot ⚒

It is a Python-Flask application, deployed using Heroku. Shortest way to explain my code:

  • I trained the bot using dialogflow.
  • Connected a service account from Google Cloud to the code.
  • Added gnewsclient which helps the bot fetch news.
  • Set up the webhook with Heroku.

Demo 🎥

Click on the picture to watch the demo:

IMAGE ALT TEXT HERE

Try it yourself 🏃🏾‍♀️

Search for user_456bot on telegram, hopefully it will work. PS: There might be a few seconds lag after your first command as the server shuts down when its not in use.

Tech Stack 👾

python dialogflow flask python

About

A telegram news bot which will show you news from any country, in any language about topics specified by you.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages