ludebot - work in progress, please be patient while it comes together
Depends on Lua 5.1, irccmd and luasandy.
- Install Lua 5.1 using your platform's favorite package manager, or using the download from the Lua site. The packages may be named similarly to lua5.1 and liblua5.1-0-dev.
- Fetch and build irccmd.
- Fetch luasandy.
- Recommended to install bitop and luaposix, can use luarocks.
- Copy ludebot.conf.example to ludebot.conf and edit it. Then run ./ludebot.
To use ludebot with docker:
- Build the millerlogic/irccmd and millerlogic/ludebot images.
- Link a local path into the container's /ludebot-state. Ensure uid 28101 can write to this location. This location will hold any of the bot's persistent state and configs.
- Add your ludebot.conf to the container's ludebot-state
Example:
mkdir ~/.ludebot-state
cp ludebot.conf.example ~/.ludebot-state/ludebot.conf # edit as needed
chmod g+rwx ~/.ludebot-state
chgrp 28101 ~/.ludebot-state
docker run -d \
--name mybot \
-v ~/.ludebot-state:/ludebot-state \
millerlogic/ludebot