Skip to main content

Skull, Bones and Number (OTP-CR-117/19)

Project description

NAME

SBN - Skull, Bones and Number (OTP-CR-117/19)

SYNOPSIS

sbn <cmd> [key=val]
sbn <cmd> [key==val]
sbn [-c] [-d] [-v]

DESCRIPTION

SBN is a python3 IRC bot is intended to be programmable  in a
static, only code, no popen, no user imports and no reading modules from
a directory, way. It can show genocide and suicide stats of king netherlands
his genocide into a IRC channel, display rss feeds and log simple text
messages.

SBN contains correspondence <writings> with the International Criminal Court,
asking for arrest of the king of the  netherlands, for the genocide he is
committing with his new treatement laws. Current status is "no basis to
proceed" judgement of the prosecutor which requires a basis to prosecute
<reconsider> to have the king actually arrested.

INSTALL

$ pipx install sbn

USAGE

use the following alias for easier typing

$ alias sbn="python3 -m sbn"


list of commands

$ sbn cmd
cmd,err,flt,sts,thr,upt


start a console

$ sbn -c
>

start additional modules

$ sbn mod=<mod1,mod2> -c
>

list of modules

$ sbn mod
cmd,err,flt,fnd,irc,log,mdl,mod,
req, rss,slg,sts,tdo,thr,upt,ver

to start irc, add mod=irc when
starting

$ sbn mod=irc -c

to start rss, also add mod=rss
when starting

$ sbn mod=irc,rss -c

start as daemon

$ sbn  mod=irc,rss -d
$

CONFIGURATION

irc

   $ sbn cfg server=<server>
   $ sbn cfg channel=<channel>
   $ sbn cfg nick=<nick>

sasl

   $ sbn pwd <nsvnick> <nspass>
   $ sbn cfg password=<frompwd>

rss

   $ sbn rss <url>
   $ sbn dpl <url> <item1,item2>
   $ sbn rem <url>
   $ sbn nme <url< <name>

COMMANDS

cmd - commands
cfg - irc configuration
dlt - remove a user
dpl - sets display items
ftc - runs a fetching batch
fnd - find objects
flt - instances registered
log - log some text
mdl - genocide model
met - add a user
mre - displays cached output
nck - changes nick on irc
now - genocide stats
pwd - sasl nickserv name/pass
rem - removes a rss feed
req - reconsider
rss - add a feed
slg - slogan
thr - show the running threads
tpc - genocide stats into topic

SYSTEMD

using the pipx installation, replace "<user>" with the user running pipx

[Unit]
Description=Skull, Bones and Number (OTP-CR-117/19)
Requires=network.target
After=network.target

[Service]
DynamicUser=True
Type=fork
User=<user>
Group=<user>
PIDFile=sbn.pid
WorkingDirectory=/home/<user>/.sbn
ExecStart=/home/<user>/.local/pipx/venvs/sbn/bin/python3 -m sbn  mod=irc,rss,mdl -d
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

FILES

~/.local/bin/sbn
~/.local/pipx/venvs/sbn/

AUTHOR

Bart Thate <bthate@dds.nl>

COPYRIGHT

SBN 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

sbn-50.tar.gz (4.8 MB view details)

Uploaded Source

Built Distribution

sbn-50-py3-none-any.whl (4.8 MB view details)

Uploaded Python 3

File details

Details for the file sbn-50.tar.gz.

File metadata

  • Download URL: sbn-50.tar.gz
  • Upload date:
  • Size: 4.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for sbn-50.tar.gz
Algorithm Hash digest
SHA256 132b7f760e2e86e95ee448c2e541dd29f2d3226c4832bd75c05b5dde1a108245
MD5 3cd5a0dd073834c63a97f509363e41c8
BLAKE2b-256 a317f9572b5a37e58fecd80638e492fbeadebb1df74b7a523b1c027b2262f2c7

See more details on using hashes here.

File details

Details for the file sbn-50-py3-none-any.whl.

File metadata

  • Download URL: sbn-50-py3-none-any.whl
  • Upload date:
  • Size: 4.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for sbn-50-py3-none-any.whl
Algorithm Hash digest
SHA256 02b7d65b5bb1f112e7f5cf0536a79dcefc1238b490d142267be4621cdc50aee2
MD5 068d4a2ba61161947f5476b6bc02730c
BLAKE2b-256 605fb25bebaef62a8972da55aa9ab7ea912f37eba15e2e38a57373c7eb8b6141

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