irclog2html

  421 downloads
2.13.1 GPL (GNU General Public License)    
  not rated
Convert IRC logs to HTML

description

download

specifications

changelog

irclog2html is a tool allowing you to convert IRC log files to HTML with pretty colors.

Quick start

Installation:

pip install irclog2html

Quick usage for a single log file:

irclog2html --help
irclog2html filename.log (produces filename.log.html)


Mass-conversion of logs (one file per day, with YYYY-MM-DD in the filename) with next/prev links, with mtime checks, usable from cron:

logs2html directory/ (looks for *.log, produces *.log.html)

CGI script for log searching

Warning

The script can be easily abused to cause a denial of service attack; it parses all log files every time you perform a search.

You can generate search boxes on IRC log pages by passing the --searchbox option to logs2html. Here's an example Apache config snippet that makes it work:

RewriteRule ^/my-irclog/search/$ /my-irclog/search [R,L]
ScriptAlias /my-irclog/search /usr/local/bin/irclogsearch
< Location /my-irclog/search >
 SetEnv IRCLOG_LOCATION "/var/www/my-irclog/"
< /Location >


Misc

Website: http://mg.pov.lt/irclog2html/

Bug tracker: https://bugs.launchpad.net/irclog2html
READ MORE   
Last updated on August 1st, 2012

0 User reviews so far.

SUBMIT