README 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. README, pisg - by me and others (see CREDITS file)
  2. ------------------
  3. pisg - Perl IRC Statistics Generator, is a Perl script which takes IRC
  4. logfiles and makes nice looking stats of them, which can be amusing to show
  5. for the users of your channel.
  6. The supported logfile formats is explained in the FORMATS file included with
  7. this distribution in the 'docs' directory.
  8. If you don't have access to any of the clients/bots or you use some other
  9. IRC client/bot which isn't supported, then it's fairly easy to add support
  10. for a new IRC log format. Take a look at the source code or send me an
  11. e-mail with the logfile format.
  12. SETTING UP PISG
  13. ---------------
  14. It's quite simple to set up pisg. You have 2 choices:
  15. * Set settings from commandline (try pisg.pl --help)
  16. * Configure pisg from the pisg.cfg file (more flexible and configurable)
  17. The most important here is the name of the logfile, the maintainers name,
  18. and then the format of your logfile.
  19. You cannot set everything up on the commandline, only the important things.
  20. The 'pisg.cfg' file controls a lot of things, you should read CONFIG-README.
  21. NOTE: The stats will look best with a logfile which is a least a day-long.
  22. Some stats (like smilies, exclamation marks etc) doesn't get counted before
  23. a special amount of time.
  24. Also, pisg supports multiple languages so the texts on the stats page will
  25. be in your own language; look in lang.txt to see the supported languages.
  26. The language can be changed from within the pisg.cfg file.
  27. You're welcome to translate pisg to your own language, it's not very hard,
  28. look in the lang.txt file!
  29. And a last note: there is some graphics in the gfx/ folder which pisg uses,
  30. you should put these in the same directory as your stats file(s).
  31. RUNNING PISG
  32. ------------
  33. If you have setup everything inside the config file, then you just need to
  34. run it. If you're on a Linux/Unix system, this should do the work:
  35. $ ./pisg.pl
  36. Running pisg like this will just use the settings in pisg.cfg.
  37. If you want to specify things on commandline instead of in the config file,
  38. you could do:
  39. $ ./pisg.pl -ch \#channel -l logfile.log -f mIRC -o index.html
  40. The syntax and options is explained when doing:
  41. $ ./pisg.pl --help
  42. Setting settings on commandline, will override the relevant settings in
  43. pisg.cfg.
  44. CONTACT INFORMATION
  45. -------------------
  46. If you have any problems with setting up or running this script. Then you
  47. can send a mail to the pisg mailing list:
  48. http://lists.sourceforge.net/mailman/listinfo/pisg-general
  49. Or you can try contacting me personally via e-mail (morten@wtf.dk).
  50. The pisg homepage is located at http://pisg.sourceforge.net/.
  51. If you use this script, and have a permanent URL for the location of your
  52. generated stats, I would be delighted if you would send the url to me. Just
  53. to see how many people uses it, and so I can link to it from the pisg page.
  54. Have fun :)
  55. - Morten 'LostStar' Brix Pedersen <morten@wtf.dk>