A place for all our bot adventures.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
manetta 101c111834 turning the title of a post into the key number 3 years ago
..
fonts Add new styles 4 years ago
screenshots added a new screenshot of logbot 4 years ago
stylesheets hiding the date in HTML logs, adding media files to HTML logs following the new db logic 3 years ago
README.md Update 'LogBot/README.md' 3 years ago
avatar.png added download function for media files + prepared logbot to run on the server 4 years ago
logbot.py if folder is defined in db, then regenerate log in the folder name, not room name 3 years ago
template.html hiding the date in HTML logs, adding media files to HTML logs following the new db logic 3 years ago
template.rss turning the title of a post into the key number 3 years ago

README.md

LogBot

LogBot is a bot for asynchronous collective logging and log writing over longer periods of time. The bot operates in a chat environment, from where it saves images, messages and other media files into a webpage. The bot is made by members of Varia and is used hand in hand with event preparations[1], collective research[2][3] or as a tool for publishing materials on the go[4]. The bot runs on a self-hosted XMPP chat infrastructure, hosted and maintained by members of Varia.

[1]: https://vvvvvvaria.org/logs/x-y/ X-Y log, in preparation of Plaintext Partyline
[2]: https://vvvvvvaria.org/logs/digital-autonomy/log.html Collective research log, around the term "digital autonomy"
[3]: https://vvvvvvaria.org/logs/pub.club/ Pub.club research log, around community publishing initiatives
[4]: https://vvvvvvaria.org/logs/zamopuzo/ Backlog, the making of the streaming infrastructure of Varia

How is LogBot made?

LogBot is small XMPP bot written in Python that is used in group chats. It uses the xbotlib library written by decentral1se.

Situated tails

How to use LogBot?

*Oh dear, logbot is here!*

(You can speak to the bot using `@logbot`, `logbot:` or `logbot`)

<image>: Your image is added to the log.

logbot @help: Print this message

logbot @add <message>: Add a message to the log.

logbot @delete <num>: Delete posts from the log. For example: @logbot @delete 5

logbot @title <string>: Set the title of your log.

logbot @folder <string>: Change the foldername of your log (by default, the roomname of the groupchat is used). Small warning: this changes the URL to your log page.

logbot @style <stylesheet>: Switch to another stylesheet. For example: logbot @style log. Available stylesheets include: timeline (default), float, opentab.

logbot @font <font>: Switch to another font. For example: logbot @font font. Available fonts include: polsku, notcouriersans; or select None to switch back to default serif.

logbot @uptime: To check how long @logbot has been around

@bots: To see who is around :)

Stylesheets

  • timeline
  • float
  • opentab

These can be found in the folder stylesheets/.

Fonts

  • polsku
  • notcouriersans
  • None

Requirements