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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for objbot-101.tar.gz
Algorithm Hash digest
SHA256 2f0aff8116d5c196d550bc35edfe741fd733cc8a20ead57c40154739f0aa93d5
MD5 d8fc30220ae792a80580bbd6ea14865d
BLAKE2b-256 ea12b628b0fa44a6a0fc16931993645df3a135a44101aec49867e4735837c389

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