Skip to main content

R S S B O T

!!

NAME


RSSBOT - feed rss into your channel

DESCRIPTION


RSSBOT is a python3 bot able to display rss feeds in your channel.
It provides all the tools to program a bot, such as disk perisistence
for configuration files, event handler to handle the client/server
connection, code to introspect modules for commands, deferred
exception handling to not crash on an error, a parser to parse
commandline options and values, etc.

You can copy/paste the service file and run it under systemd for
24/7 presence in a IRC channel.

RSSBOT is a contribution back to society and is Public Domain.

SYNOPSIS


rssbot <cmd> [key=val]
rssbot <cmd> [key==val]
rssbot [-c] [-d] [-v]

INSTALL


pipx install rssbot

USAGE


default action is doing nothing

$ rssbot
$

first argument is a command


$ rssbot cmd
cfg,cmd,dpl,mre,nme,pwd,rem,rss,ver

starting a console requires an option


$ rssbot -c
>

to start the rssbot as daemon


$ rssbot -d
$

add -v if you want to have verbose logging


$ rssbot -cv
RSSBOT started Wed Nov 8 15:38:56 2023 CVI
>

CONFIGURATION

irc configuration is done with the cli interface using the cfg command


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

sasl need a nickserv nick/password pair to generate a password for sasl


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

rss has several configuration commands


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

COMMANDS

here is a list of the commands (use rssbot <cmd>)


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
sts - show status
thr - show the running threads

SYSTEMD

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


[Unit]
Description=feeding rss into your channel
Requires=network.target
After=network.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=multi-user.target

if you don’t have a ~/,rssbot directory you need to create it


$ mkdir ~/.rssbot

then run this


$ 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 <libbotx@gmail.com>

COPYRIGHT


RSSBOT is a contribution back to society and is Public Domain.

Download files

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

Source Distribution

rssbot-507.tar.gz (18.9 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for rssbot-507.tar.gz
Algorithm Hash digest
SHA256 e3ae24e8665535712fc2a5cf2b3b3eac68c5b2ec92ff7282ab715129883cd9ee
MD5 9e1fa03a7f74bd43b74212112f5dfdfc
BLAKE2b-256 75190aa2f2b4e3947f4271955cd2d08eda5e2470f9a7f8b8064b627e5128d2f9

See more details on using hashes here.

Release history Release notifications | RSS feed

657

2 files

656

2 files

655

2 files

653

2 files

652

2 files

651

2 files

650

2 files

647

2 files

646

2 files

645

2 files

644

1 file

643

1 file

642

1 file

641

1 file

640

1 file

634

1 file

633

1 file

632

1 file

631

1 file

630

1 file

621

1 file

620

1 file

610

1 file

601

1 file

600

1 file

591

1 file

590

1 file

581

1 file

580

1 file

576

1 file

575

1 file

574

1 file

573

1 file

572

1 file

571

1 file

570

1 file

560

1 file

558

1 file

557

1 file

556

1 file

555

1 file

553

1 file

552

1 file

551

1 file

550

1 file

540

1 file

531

1 file

530

1 file

521

1 file

520

1 file

512

1 file

511

1 file

510

1 file

508

1 file

This release

507 This release

1 file

506

1 file

505

1 file

504

1 file

503

1 file

502

1 file

501

1 file

500

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page