24/7 Feed Fetcher
Project description
NAME
RSSBOT - 24/7 feed Fetcher
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.
INSTALL
$ pipx install rssbot $ pipx ensurepath $ rssbot skl $ rssbot srv > rssbot.service $ sudo mv rssbot.service /etc/systemd/system/ $ sudo systemctl enable rssbot --now
COMMANDS
cfg - irc configuration cmd - commands dpl - sets display items exp - export opml (stdout) imp - import opml mre - displays cached output pwd - sasl nickserv name/pass rem - removes a rss feed res - restore deleted objects rss - add a feed syn - sync rss feeds
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 res <url> $ rssbot nme <url> <name> opml $ rssbot exp $ rssbot imp <filename>
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/bin/rssbotd ExitType=control-group KillSignal=SIGKILL KillType=control-group ExitType=cgroup 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/rssbotc ~/.local/bin/rssbotd ~/.local/pipx/venvs/rssbot/
AUTHOR
Bart Thate <bthate@dds.nl>
COPYRIGHT
RSSBOT is Public Domain.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rssbot-574.tar.gz
(22.0 kB
view details)
File details
Details for the file rssbot-574.tar.gz
.
File metadata
- Download URL: rssbot-574.tar.gz
- Upload date:
- Size: 22.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3702c9f6d2f4a175bebd1938aed15511e1a89f946c6009f8775358066f34240f |
|
MD5 | 436dc1183e14f980ae9d411225105b4e |
|
BLAKE2b-256 | b2a6da0264ff611ba3b8ddf3918a72ad256c887e4faa380fab7eeb97c1430cdc |