IRCParser
Apache 2.0
2010-01-08
EDA, Perl, UTC
(4)This Perl program parses IRC logs to generate Graphs, Charts, etc... on channel activity, people activity, question ratio, etc... Currently able to handle the irssi log format, the charts are in PNG, and the Graphs in .gdf (viewable with Gephi). There is still a lot to to. View README file for more information.
FEATURES
- Generates Charts and Graphs from IRC logs
- Intelligent Nick reunion with possibility to specify manually
- Parse logs from:
- TextLogger (format from the not yet released TextLogger MozBot plugin)
- Irssi (with default settings)
- Output PNG Charts on:
- Ping Timeout, Number of Nicknames, Volume of data transfered, Kick/Kicked
- Question ratio, URL ratio, Activity, Most active in #XXX, ...
- Output Graphs in:
- GUESS .gdf format (compatible with Gephi0.6)
REQUIREMENTS
- Perl 5.10 or higher
- Math::Round
- GD::Graph
- Data::Serializer is needed if you want to export the input / output data
INSTALLATION
- Uncompress the archive in a directory
- Add your logs following the scheme: logs/<Server Name>/<Channel Name>
- Create a file called ".format" containing on it's first line the name of the
module (in Modules/Input) to use for parsing (for example: TextLogger)
- Create a file called ".nicks" in logs/<Server Name>/ if you want to customize
the nick reunion. The syntax should follow this scheme:
- To merge nicks, write <REGEX1> = <REGEX2>, for example: Morian.+ = Morian
- To unmerge nicks, write <REGEX1> != <REGEX2>
- To specify the main nick of a reunion, write: @<MainNick>
- The output files are created in out/ by default
- The data files (serialization) are created in data/