/pierc3

A python bot that logs IRC channels, and a PHP/JS interface for browsing said logs.

Primary LanguageJavaScriptOtherNOASSERTION

Pierc for Python 3

Pierc is a python bot that logs IRC channels, and a PHP/JS interface for browsing said logs.

About this fork

NEW

  • Pierc now works on Python 3.6 (with no backward compatibility with Python 2.x)
  • Use standard IRC library
  • No library embedded in the code base anymore
  • Cleaner SQL query

CONCERNS

  • The re-connection strategy is to be evaluated, some old code about timeout has been commented due to incompatibility issue, see self.reactor.delayed_commands.append()

TODO

In addition to figuring out the concerns mentioned above:

  • Making sure we use UTF-8 for inserted values in the DB

https://pypi.python.org/pypi/irc "By default, the IRC library attempts to decode all incoming streams as UTF-8, even though the IRC spec stipulates that no specific encoding can be expected. Since assuming UTF-8 is not reasonable in the general case, the IRC library provides options to customize decoding of input by customizing the ServerConnection class."

This is probably not needed anymore

  • Fix the web interface
  • Making the python code follows the pep8 style guide
  • Rewrite installation documentation

Original README file (need to be reassessed)

Pierc is a python bot that logs IRC channels, and a PHP/JS interface for browsing said logs.

Installation instructions can be found at http://classam.github.com/pierc/ .

It depends on python-mysql and Joel Rosdahl's IRC Bot library, both of which are ~GPLv2 - so Pierc, too, is GPLv2.