Skip to content
This repository has been archived by the owner on Dec 11, 2021. It is now read-only.
/ Newsbot Public archive

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

License

Notifications You must be signed in to change notification settings

frascu/Newsbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages