TGG IRC Stats Creator
TISC is an IRC log parser and statistics generator. It feeds data into a CouchDB collection, and then uses a series of MapReduce queries to generate a statistics page.
It's written to be very configurable and pretty much query/template driven with a little bit of glue code.
init-couchdbinitializes the CouchDB collection, setting up the views.
generate-filesruns all the views, feeds results into the templates, and produces your files.
feed-tgglogdownloads given days from the log file at http://irclog.perlgeek.de/thegeekgroup/ and saves them to CouchDB. Note that downloading the same day multiple times won't cause duplication.
feed-tgglogfor all known days, basically initializing your database.
I'm basing the statistics to implement on http://elanor.mine.nu/daeron/script.fi.html.
- Download and install dependencies
- Clone TISC's repository. See the top of the page.
config.json, especially the destination directory.
seed-tgglog. This will take a while.
generate-files. This will take a long time while CouchDB generates the views.
You should then have statistics pages in your destination directory. By default, the only file generated is