Skip to content

Node RSS reader telegram bot. Provides notification on queries-matching elements and supports multiple users.

License

Notifications You must be signed in to change notification settings

avivace/RSSnotifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RSSnotifier

An RSS reader. On steroids.

Built by Denni Bevilacqua and Antonio Vivace

Structure

index.js

A Node backend handles the feed parsing and reading. The match function flags specific elements, based on user-defined keywords (queries).

bot.js

A telegram bot - working as a frontend - allowing multiple users to define their subscriptions, preferences and queries.

Every subscription can be set on two modes:

  • query-mode - every query-matching element triggers a notification;
  • reading-mode - every new element will be notified.

Usage

Given you have Node (and npm) installed, deploy your instance:

  • Clone this repo, git clone https://github.com/avivace/rssnotifier
  • Edit config.js with your botToken and configure the whitelisting
  • npm install
  • npm start
  • Talk with the bot and add a sample query