Skip to content

ludebot - work in progress, please be patient while it comes together

License

Notifications You must be signed in to change notification settings

millerlogic/ludebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

209 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ludebot

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.

Dockerfile

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

About

ludebot - work in progress, please be patient while it comes together

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •