Skip to main content

24/7 feed fetcher

Project description

NAME

RSSBOT - 24/7 feed Fetcher

INSTALL

$ pipx install rssbot
$ pipx ensurepath

SYNOPSIS

rssbot <cmd> [key=val] [key==val]
rssbotd

DESCRIPTION

RSSBOT is a python3 bot able to display rss feeds in your channel.

RSSBOT comes with a cli to configure and a daemon to run in the
background, hooking the daemon in systemd brings a 24/7 available
rssbot in your channel.

COMMANDS

cfg - irc configuration
cmd - commands
dpl - sets display items
mre - displays cached output
pwd - sasl nickserv name/pass
rem - removes a rss feed
rss - add a feed

CONFIGURATION

irc

$ rssbot cfg server=<server>
$ rssbot cfg channel=<channel>
$ rssbot cfg nick=<nick>

sasl

$ rssbot pwd <nsvnick> <nspass>
$ rssbot cfg password=<frompwd>

rss

$ rssbot rss <url>
$ rssbot dpl <url> <item1,item2>
$ rssbot rem <url>
$ rssbot nme <url> <name>

SYSTEMD

save the following it in /etc/systemd/system/rssbot.service and replace “<user>” with the user running pipx

[Unit]
Description=24/7 feed fetcher
Requires=network-online.target
After=network-online.target

[Service]
Type=simple
User=<user>
Group=<user>
WorkingDirectory=/home/<user>/.rssbot
ExecStart=/home/<user>/.local/pipx/venvs/rssbot/bin/rssbotd
RemainAfterExit=yes

[Install]
WantedBy=default.target

then run this

$ mkdir ~/.rssbot
$ sudo systemctl enable rssbot --now

default channel/server is #rssbot on localhost

FILES

~/.rssbot
~/.local/bin/rssbot
~/.local/bin/rssbotd
~/.local/pipx/venvs/rssbot/

AUTHOR

Bart Thate <bthate@dds.nl>

COPYRIGHT

RSSBOT is Public Domain.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rssbot-555.tar.gz (19.5 kB view details)

Uploaded Source

File details

Details for the file rssbot-555.tar.gz.

File metadata

  • Download URL: rssbot-555.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for rssbot-555.tar.gz
Algorithm Hash digest
SHA256 3c0105a63adc0e1492da3e2cde7108f546bd4e23f0801a2c9969b64781a74cb0
MD5 ce071e075e01a3b5593eefba9240f2d7
BLAKE2b-256 f79e5d73db5ae5ff9d8a07d0136c643b013c0e95c9c8b5d8501f1f05dea909ab

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page