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 build the optional modules.
- Start the bot:
The thirdparty/
subdirectory contains Git submodules for optional Lua
modules which can be needed depending on the options enabled in the
configuration file. The following commands will setup them all:
git submodule init
make -C thirdparty
If you only want to build a certain module, you can use instead:
make -C thirdparty <modulename>
Please see the LICENSE.md file.