CLI/IRC/XMPP bot you can use to display RSS feeds.
JSONBOT is CLI/IRC/XMPP bot you can use to display RSS feeds.
JSONBOT makes it possible to program your own module enabling your own commands and contains serveral modules that can be used to program bots.
JSONBOT has a MIT no-clause license.
clone the source:
hg clone https://bitbucket.org/bthate/jsonbot2 cd jsonbot2 sudo python3 setup.py install
another option is to download with pip3 and install globally:
pip3 install jsonbot --upgrade
use the -i option to start an IRC bot and RSS poller:
jsonbot -z -i irc,rss -n jsonbot -c irc.freenode.net -j \#dunkbots
use the -i xmpp option to start a XMPP bot and RSS poller:
jsonbot -i xmpp,rss --user monitor@localhost --room firstname.lastname@example.org
you need to add a users origin to be able to give the bot commands, add a user with the meet command:
jsonbot meet user@server user user@server created
to give the user a permission you can use the perm command:
jsonbot perm user@server oper ok user@server
the default shell user is root@shell and gives access to all the commands that are available.
jsonbot can be used as a command line shell program.
bart@okdan:~$ jsonbot version JSONBOT 2.3 - CLI/IRC/XMPP bot you can use to display RSS feeds.
starting JSONBOT without arguments starts a shell.
bart@okdan:~$ jsonbot > ps 1 1s Task(CLI.select) > find log 0 wakker - 1y6d 1 test - 1y5d 2 brightest idea ever ls - 1y4d 3 joint 2 of the day - 1y4d 4 what else to think of ? - 1y4d >
available commands as of nov 2018 are:
announce # announce text to all bots in the fleet. cmds # show list of commands. cfg # show configuraton files. ed # show running threads. find # present a list of objects based on prompt input. fleet # show bots in the fleet. kill # kill a task. l # show license. load # load a module log # log some text. ls # show classnames. meet # introduce a user. more # show last 10 line from cache. perm # assign permissions to an user. perms # show permissions you have. ps # show running tasks. rm # remove an object from the store. rmperm # remove a permission of a user. save # save config files to store. test # echo test message. todo # enter something todo. u # show user information undel # undelete an object. up # show uptime. v # show version.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size jsonbot-2.3.tar.gz (4.6 kB)||File type Source||Python version None||Upload date||Hashes View|