Skip to main content

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

objbot-102.tar.gz (22.8 kB view details)

Uploaded Source

File details

Details for the file objbot-102.tar.gz.

File metadata

  • Download URL: objbot-102.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

Hashes for objbot-102.tar.gz
Algorithm Hash digest
SHA256 5489b181d49a639be71ea5b3c49cc20f3a6ad9d9ec9f09c3445c229c2050fcdd
MD5 4bd6c8c79b28205ab6452b9e85a4639b
BLAKE2b-256 0f60fa6f9646a57a5c2b42f4a2cc82bb85b495cbc99dc3486245c7464315a113

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