Giter Club home page Giter Club logo

news_ai_bot's Introduction

Telegram - News AI Bot

Bot Profile

Description

The Telegram News AI Bot is an intelligent bot that fetches and delivers the latest news to users on Telegram. It leverages Gemini AI to process NLP queries and provide interactive news updates based on user queries (topics & keywords). This project is built using AIOgram, FastAPI and other python libraries!

It uses NewsAPI to fetch recent news data!

BOT GIFs

           

Features

  • Recent news articles
  • NLP Prompt with AI
  • Quick & Personalized Updates
  • Concise, readable chunks of news
  • Easy Interface with Telegram

Usage

There are two ways to use the Telegram News AI Bot:

  1. Live Deployed Bot:

    • Interact with the live bot on Telegram: TeleNewsPy🕊️
    • Simply start the bot and follow the prompts to receive news updates.
  2. Local Installation:

    • Follow the installation instructions below to set up and run the bot on your local machine.

Setup

Prerequisites

  • Python 3.8+
  • pip (Python package installer)

Installation

1. Clone the repository:

git clone https://github.com/DarkDk123/News_AI_BOT.git
cd News_AI_BOT

2. Install the required dependencies:

pip install -r "requirements.txt"

3. Set up environment variables:

Create a .env file in the root directory and add the necessary environment variables. Refer to the env_example file for guidance.

Running the Bot

1. Run the main.py file from root directory:

python "TelegramBot/main.py" # Command should be the same!

Once the server is running, the bot will deliver articles to the configured Telegram chat. You can interact with the bot using the Telegram app to make NLP queries and receive interactive news updates based on your queries.

Contributing

We welcome contributions from the community! To contribute:

  1. Fork this repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes.
  4. Commit your changes.
  5. Push to the branch.
  6. Open a pull request.

For any questions or feedback, please open an issue on GitHub or contact the project maintainers.

License

This project is licensed under the GPL 3.0 License. See the LICENSE file for more details.

news_ai_bot's People

Contributors

darkdk123 avatar

Stargazers

 avatar datahome avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.