GithubHelp home page GithubHelp logo

fury999io / irc-rss-feeds-bot Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 31 KB

A bot that sends RSS feed notifications to your IRC channel

License: GNU Affero General Public License v3.0

Python 100.00%
bots internet-relay-chat irc irc-bot rss rss-feed-scraper rss-reader

irc-rss-feeds-bot's Introduction

IRC-RSS-Feeds-Bot

A bot that sends RSS feed notifications to your IRC channel

Program Configuration

  • Set values of the variables as per your case:
    server, channel, nick

  • Set the value of feed_url to your feed url.

  • The interval of fetching feeds depends on the relational statement in the last loop of the program.
    By default the feeds are fetched after 3 PING messages are received from the IRC network.
    On libera.chat network, the interval between two consecutive PING are approximately 260 seconds.

Setting Up The Bot

Requirements: A computer that can boot (optional)
Operating System: GNU/Linux

(Debian)

sudo apt install python3 python3-pip -y 
pip install feedparser
wget https://raw.githubusercontent.com/fury999io/IRC-RSS-Feeds-Bot/main/start.py
nohup python3 start.py > /dev/null 2>&1 &

Terminating The Bot

kill -9 $(ps aux | grep 'python3' | grep 'start.py' | awk '{print $2}')

irc-rss-feeds-bot's People

Contributors

fury999io avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.