Skip to main content

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"


without any argument the bot does nothing

$ sbn
$

giving an argument makes the bot check for a command

see list of commands

$ sbn cmd
cfg,cmd,dlt,dne,dpl,log,man,met,mod,mre,nme,now,pwd
rem,req,rss,sts,tdo,thr

start a console

$ sbn -c
>

list of modules

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

start as daemon

$ sbn -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 -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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sbn-70.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-70.tar.gz
Algorithm Hash digest
SHA256 ef5238d1a2c27b338c8f6e01178f89484c6daf48d9540d7cc45350b9588709c6
MD5 609e9a5691b83b0d49d971cb27a57187
BLAKE2b-256 dd9e4431008e585f1c539e0bee5b789c3ba817c401744ec4773c69d9c3f2aa4a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sbn-70-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-70-py3-none-any.whl
Algorithm Hash digest
SHA256 eea9fed8f2f0da0732391863f8d0d48aa77933f298debff6e8ce4d2b940ff8a1
MD5 7229b219046f6c4d70d53bd57b0c30d3
BLAKE2b-256 0823d1e15c8a1bd298718cf6610d21c4dd8145e5aec1a4c9cf5fb5e416300e65

See more details on using hashes here.

Release history Release notifications | RSS feed

154

2 files

153

2 files

152

2 files

151

2 files

150

2 files

143

2 files

142

2 files

141

1 file

140

1 file

130

1 file

121

1 file

120

1 file

115

1 file

114

1 file

113

1 file

112

1 file

111

1 file

110

1 file

105

1 file

104

1 file

103

1 file

102

1 file

101

1 file

100

1 file

98

1 file

97

1 file

96

1 file

95

1 file

94

1 file

92

1 file

91

1 file

90

1 file

80

1 file

78

1 file

77

1 file

76

1 file

75

1 file

74

1 file

73

1 file

72

1 file

71

2 files

This release

70 This release

2 files

60

2 files

50

2 files

40

2 files

30

1 file

20

2 files

12

2 files

11

2 files

10

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page