/Newsbot

A telegram bot to send the last news of some sources.

Primary LanguageJavaMIT LicenseMIT

Newsbot

It's a telegram bot to send the last news of some sources.

Prerequisites:

Installation

  1. Clone the repository
  2. Install the Maven dependencies
cd NewsBot
mvn install

Usage

  1. MySQL configuration
  2. Bot Configuration
  3. Run the Newsbot
cd target
java -jar newsbot-0.0.1-SNAPSHOT-jar-with-dependencies

MySQL configuration

[TO DO]

Bot Configuration

  1. Create the telegram bot with help of the great BotFather
  2. Create the file config.properties in the directory target
  3. Insert these properties:
  • token: given by the BotFather
  • admin: the chat id of admin that will manage the bot
  • name: the bot's name created
  • sources: the urls separated by ;

License

MIT