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-104.tar.gz (14.9 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for objbot-104.tar.gz
Algorithm Hash digest
SHA256 48dfeb8b25dc2c4b684209ec2ecce5f5392764e57d59333304a3e72ad59c9fd5
MD5 deff016cff814393126d3384ad54074e
BLAKE2b-256 f16f22a9bcfe265f28d244c96a5768db7362efb1e235a5da38e2dcff76d36ed8

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