Skip to content

larsivsi/cbot

Repository files navigation

cbot
~~~~

  A (not so) minimalistic IRC bot written from scratch in ISO99 C.

Why?
  It started as a bad joke, then became a possible replacement for the IRC-bot
  "gangbot", written in ruby: https://github.com/larsivsi/gangbot

Features:
 * Configurable through a config file
 * Timer
 * Fetch titles from URLs
 * Logging to a postgresql database (for integration with stats generation).
 * Decision maker ("eightball")
 * Auto rejoin on kick
 * Auto op of joining users
 * Reload of everything (program code and config)
 * Magic git pull and rebuild

TODO:
 * Package tracking
 * Split lines from server (strtok on newlines)
 * List of OPs in database, !op command
 * Language recognition, automatic translation (using google translate)

Authors:
 * Lars-Ivar Simonsen (larsivsi)
 * Martin Sandsmark (sandsmark)

Required packages (on recent Debian):
  libpcre3-dev libcurl4-openssl-dev libpq-dev


The MIT License (MIT)
Copyright (c) 2011-2016 Lars-Ivar Hesselberg Simonsen
Copyright (c) 2011-2016 Martin Sandsmark

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


About

Rewriting gangbot in C, for teh lulz

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published