objects bot
Project description
NAME
OBJBOT - objects bot
SYNOPSIS
objbot <cmd> [key=val] [key==val] objbotc [-i] [-v] objbotd objbots
DESCRIPTION
OBJBOT is a oython3 bot, it can connect to IRC, fetch and display RSS feeds, take todo notes, keep a shopping list and log text. You can also copy/paste the service file and run it under systemd for 24/7 presence in a IRC channel.
INSTALL
installation is done with pipx
$ pipx install objbot $ pipx ensurepath
USAGE
without any argument the bot does nothing
$ objbot $
see list of commands
$ objbot cmd cfg,cmd,dne,dpl,err,exp,imp,log,mod,mre,nme, pwd,rem,req,res,rss,srv,syn,tdo,thr,upt
start a console
$ objbotc >
use -i to init modules
$ objbotc -i >
start daemon
$ objbotd $
start service
$ objbots <runs until ctrl-c>
COMMANDS
here is a list of available commands
cfg - irc configuration cmd - commands dpl - sets display items err - show errors exp - export opml (stdout) imp - import opml log - log text mre - display cached output pwd - sasl nickserv name/pass rem - removes a rss feed res - restore deleted feeds rss - add a feed syn - sync rss feeds tdo - add todo item thr - show running threads upt - show uptime
CONFIGURATION
irc
$ objbot cfg server=<server> $ objbot cfg channel=<channel> $ objbot cfg nick=<nick>
sasl
$ objbot pwd <nsvnick> <nspass> $ objbot cfg password=<frompwd>4
rss
$ objbot rss <url> $ objbot dpl <url> <item1,item2> $ objbot rem <url> $ objbot nme <url> <name>
opml
$ objbot exp $ objbot imp <filename>
SYSTEMD
$ objbot srv > objbot.service $ sudo mv objbot.service /etc/systemd/system/ $ sudo systemctl enable objbot --now joins #objbot on localhost
SOURCE
source is at https://github.com/rssbotd/objbot
FILES
~/.objbot ~/.local/bin/objbot ~/.local/bin/objbotc ~/.local/bin/objbotd ~/.local/bin/objbots ~/.local/pipx/venvs/objbot/*
AUTHOR
Bart Thate <rssbotd@gmail.com>
COPYRIGHT
OBJBOT 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
File details
Details for the file objbot-103.tar.gz
.
File metadata
- Download URL: objbot-103.tar.gz
- Upload date:
- Size: 22.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b23b718dab00286aa18df0b49e1f2e964250e655feba455150faf484f6d2e3e8 |
|
MD5 | 15dd75daa62ec489c5d2d0c4101b093e |
|
BLAKE2b-256 | 0b10171670c828a64dd5ebf50d9b6e5d32c85d23cf246a7ee1a3aab2fedf7c5e |