Skip to content
/ pycs Public
forked from obskyr/pycs

Python Chat Statistics. Generates web pages and stats based on your (or your IRC bot's) IRC logs. Easily scheduled!

Notifications You must be signed in to change notification settings

fuzzmz/pycs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 

Repository files navigation

##What is PYCS? PYCS is a PYthon Chat Statistics generator.

It takes IRC log files and generates different interesting statistics based on them. It then presents these statistics in a visually pleasing HTML file.

It does not require any specific input past setup, and is as such very easily scheduled.

##Usage After installing Python and downloading PYCS, the first thing to do is run pycs.py, the main program, once. Once this is done, a folder named settings will be placed in your PYCS directory. Following the instructions in settings_help.txt, modify settings.cfg and aliases.cfg as you see fit.

In order to be able to run at all, PYCS needs to have files to work with. Under Log paths in settings.cfg, supply a comma-separated list of directories to look for logs in. PYCS will look for logs with the file names supplied in the Log files parameter.

Once you've successfully run PYCS, there will be a file named index.html in the output directory. Put this file, together with the /output/resources directory, in whatever directory you'd like on any web server you have access to. The statistics page is now reachable, and can easily be linked from anywhere!

##Customization

###Formats

If your IRC program's log format isn't supported by PYCS, there is quite an easy way to create your own filter. Following the instructions in /resources/formats/creation.txt, create your own config file for your particular IRC log format.

If you do make a new format, it would be incredibly nice of you to open an issue, make a pull request or otherwise contact me about your addition and I'll be more than happy to add it to the default formats!

###Themes

PYCS fully supports making your own themes (that means completely different page layouts, not just color schemes). For information on how to do this, refer to creation.txt in /resources/themes.

As with the formats - if you do make a theme, it'd be extremely appreciated if you submitted a pull request, an issue or otherwise contacted me in order for the theme to be included in the repository.

##Contact

If you have any questions, or anything to say, I can be reached at either powpowd@gmail.com or @obskyr on Twitter. To get a fast answer, Twitter is your best bet!

If you have any inquiries about or problems with PYCS, opening an issue here on GitHub is a great way to reach through about that.

About

Python Chat Statistics. Generates web pages and stats based on your (or your IRC bot's) IRC logs. Easily scheduled!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 86.8%
  • HTML 7.1%
  • CSS 6.1%