irc bot for linux and win32
Go to file
Aaron Blakely cb4c4be4d6 update README 2024-03-14 04:53:02 -05:00
include remove openssl doc from prebuilt include/openssl 2024-03-13 07:00:49 -05:00
lib openssl module working on windows, added configuration option for setting the ssl module 2024-03-14 04:06:33 -05:00
mods openssl module working on windows, added configuration option for setting the ssl module 2024-03-14 04:06:33 -05:00
resources work on readme 2024-03-08 13:56:18 -06:00
scripts cleanup 2024-03-06 02:52:38 -06:00
src openssl module working on windows, added configuration option for setting the ssl module 2024-03-14 04:06:33 -05:00
.gitignore fix .gitignore 2024-03-13 06:55:13 -05:00
LICENSE added LICENSE 2024-02-13 01:31:57 -06:00
Makefile moved openssl code into a module 2024-03-14 03:20:38 -05:00
RCa02324 added icon and fixed windows hostname resolution 2024-03-08 03:25:08 -06:00
RCb02324 added icon and fixed windows hostname resolution 2024-03-08 03:25:08 -06:00
README.md update README 2024-03-14 04:53:02 -05:00
compile_commands.json added channel.c 2024-02-16 15:28:11 -06:00
resource.h added icons 2024-03-08 13:35:57 -06:00
xbot.aps added icons 2024-03-08 13:35:57 -06:00
xbot.cfg openssl module working on windows, added configuration option for setting the ssl module 2024-03-14 04:06:33 -05:00
xbot.rc added icons 2024-03-08 13:35:57 -06:00
xbot.sln current snap 2024-02-21 08:24:49 -06:00
xbot.vcproj added Win32 support 2024-02-13 01:22:10 -06:00
xbot.vcxproj moved openssl code into a module 2024-03-14 03:20:38 -05:00

README.md

xbot

xbot

xbot is a modular IRC bot in C for Linux and Windows

Building

Linux

To build xbot use the following commands

make
make mods

Windows

To build xbot on Windows, you will need to use the Visual Studio solution file which is located in the root directory of the project. Currently only the debug build target is configured for the Visual Studio solution file. The release build target will be added in the future.

All of the dependencies for xbot are included in the repository, so you should be able to build the project without any additional setup.

Tested with Visual Studio 2010.

Modules

As of current modules are built outside of the main build process. To build modules, you will need to either use the provided batch file or build them manually.

buildmod.bat <module>

More complex modules may include a make.bat file which can be used to build the module.

This will be improved in the future.

Configuration

The bot will read xbot.cfg if none is specified at the command line with -c <file>.

Built-in Admin Commands

These are commands which allow the bot's admin to control it once it's connected to the IRC server.

  • LOADMOD
  • UNLOADMOD
  • MODLIST
  • JOIN

Modules

Modules are the main way to extend the functionality of the bot. They are loaded at runtime and can be unloaded and reloaded without restarting the bot.

Currently, the following modules are included:

  • lua - Provides Lua scripting support
  • openssl - Provides SSL support
  • test

Windows Support Notes

Windows XP

  • OpenSSL doesn't work without some kind of kernel extensions for XP.
  • Luarocks doesn't work due to symlinks not being supported. This will limit what can be done with the Lua scripts.

These issues might be resolved with a project like onecore but further testing is needed.

License

xbot is licensed under the MIT License. See the LICENSE file for more information.


Written by Aaron Blakely. Copyright 2024.