luabot
luabot copied to clipboard
An XMPP (Jabber) bot written in Lua using the protocol implementation from Verse/Prosody
Luabot
Lua-based XMPP (Jabber) bot.
Requirements
- Lua 5.2, or 5.3
- LuaSocket.
- LuaFilesystem.
- LuaSec, for TLS/SSL support.
- LuaExpat, for XML parsing.
Installation
- Install the dependencies. In Debian, this is
apt-get install lua5.2 lua-{sec,expat,socket,filesystem} git-core - Clone the Git repository:
git clone git://github.com/aperezdc/luabot - Edit the configuration:
$EDITOR luabot/config.lua - (Optional) Depending on the enabled options, you may need to create
additional directories, e.g. if the
keystoreplugin is enabled, create the directory configured for thepathsetting. - (Optional) Depending on the enabled options, you may need to install the optional dependencies.
- Start the bot:
lua bot.lua config.lua
Optional Dependencies
- lightningmdb can be used as a
backend for the
keystoreplugin. It is available in LuaRocks.
Licensing
Please see the LICENSE.md file.