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 turns them into nice looking stats, which can be amusing to
  5. show 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 up everything 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 at least one 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 pisg. Then you can send
  47. 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 pisg, and have a permanent URL for the location of your generated
  52. stats, I'd be delighted if you'd send the URL to me. Just to see how many
  53. people uses it, and so I can link to it from the pisg homepage.
  54. Have fun :)
  55. - Morten Brix Pedersen <morten@wtf.dk>