Lua-based XMPP (Jabber) bot.
- Lua 5.2, or 5.3
- LuaSocket.
- LuaFilesystem.
- LuaSec, for TLS/SSL support.
- LuaExpat, for XML parsing.
- 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
keystore
plugin is enabled, create the directory configured for thepath
setting. - (Optional) Depending on the enabled options, you may need to install the optional dependencies.
- Start the bot:
lua bot.lua config.lua
- lightningmdb can be used as a
backend for the
keystore
plugin. It is available in LuaRocks.
Please see the LICENSE.md file.