No description
Find a file
2017-06-12 21:47:14 +02:00
example_logs Version bump and added example log file 2011-10-22 11:15:10 -05:00
static Rewrite to use flask and peewee 2017-06-04 17:54:02 +02:00
templates Calculate colors for all nicks in pubmsgs 2017-06-04 19:18:31 +02:00
.gitignore Add db and seen_prs to gitignore 2017-06-09 16:06:55 +02:00
commands.py Add commands support 2017-06-12 21:47:14 +02:00
Db.py Add commands support 2017-06-12 21:47:14 +02:00
ircbot.py Refactor to run in both Python 2.7 and Python 3.6 2017-06-10 11:59:11 +02:00
irclib.py Refactor to run in both Python 2.7 and Python 3.6 2017-06-10 11:59:11 +02:00
LICENSE first commit 2009-11-28 19:44:56 -06:00
logbot.py Add commands support 2017-06-12 21:47:14 +02:00
pullrequest.py Refactor to run in both Python 2.7 and Python 3.6 2017-06-10 11:59:11 +02:00
README.md Add environment variables for config 2017-06-10 10:57:41 +02:00

smooth-operator

smooth-operator is a IRC bot which logs everything in a channel and offers more convinient things like notifications about new commits on GitHub, etc. For a roadmap please check the issues on GitHub.

Originally this was written by Chris Oliver chris@excid3.com with contributions from Filip Slagter. Now it has diverged quite a lot.

Requirements

smooth-operator shows logs using flask, and stores logs using peewee. Install these dependencies using pip:

pip install flask peewee

Usage

smooth-operator requires Python 2. It is NOT compatible with Python 3. Configuration is either done inside logbot.py, or using environment variables. The following environment variables are respected:

  • IRC_SERVER: IRC server
  • IRC_PORT: IRC server port
  • IRC_SERVER_PASS: Password for IRC server, if any
  • IRC_CHANNELS: IRC channels to join, separated by ,
  • IRC_NICK: Nickname
  • IRC_NICK_PASS: Password to use when authenticating to nickserv, if any

The bot can be launched using:

python2 logbot.py

You can view the logs on http://localhost:5000

License

This project is licensed under the GPLv2.