# pisg.cfg.example - a complete configuration for pisg, ready to copy. # # 1. Copy this file to pisg.cfg # 2. Change the values marked EDIT (log path, format, network, output file, name) # 3. Run ./pisg # # Every option pisg understands is listed below with its meaning. Options are set to # pisg's own default unless the comment says "recommended". Lines starting with # are # comments; an option shown commented out is off/unset - remove the # to use it. # # Syntax reminders: # a global option, applies to every channel # ... settings for one channel (they override ) # per-user settings # Each must be on one line, and every value must be in quotes. ############################################################################## # GLOBAL OPTIONS - apply to every channel below ############################################################################## # ---- General options ------------------------------------------------------- # use a different color scheme for stats page - recommended: modern, light/dark theme; # try midnight, amoled, terminal, or default # alternate stylesheets for stats page - extra stylesheets the visitor can switch to # # define the language / translation to use # define a file as page header - HTML file inserted above the statistics # # define a file as page footer - HTML file inserted below the statistics # # make pisg silent, suppress messages # use a cache to speed up log parsing - cache parsed logs here to speed up runs (delete # it when you change settings) # # name of the channel list file for a landing page # adds a button at the top of every stats page that leads back to your landing page # enable/disable the section bar at the top of the page # ---- Options for various statistics features ------------------------------- # number of days to show in "Daily Actitity" - recommended: show the last 14 days as a # bar chart # enable/disable "Most Active Times" # enable/disable "Most Active Nicks" # enable/disable "Big Numbers" sections # enable/disable "Latest topics" sections # enable/disable "number of lines" # enable/disable "words per line" - recommended: also show words per line # enable/disable "characters per line" - recommended: also show characters per line # enable/disable "number of words" - recommended: also show total words # show when a user was last seen on a channel # show when a nick was active # mIRCStats like behaviour of time bar # ShowLineTime like behavior of words column # enable or disable the random quotes # enable or disable the legend of the time bars # enable or disable the kick line # enable or disable the action line # enable or disable the shout line # set how many decimals to show # enable or disable the foul line # enable or disable the violent lines # enable or disable "Most used words" # enable or disable "Most referenced nicks" # enable or disable "Most referenced URLs" # enable or disable channel music charts # enable or disable op statistics # enable or disable voice statistics # enable or disable halfop statistics # show who changed nick most often - recommended: show who changed nick most often # show stats on which gender talked most # show most used smileys - recommended: show the most used smileys # show channel karma - recommended: show karma (nick++ / nick--) # show most active nicks by hour - recommended: show the most active nicks by time of # day # only count stats for top talkers, ignore less-active users # show graphs in most active nicks by hour # enable/disable the channel overview # enable/disable the relation map and its tables # number of nicks on the relation map # minimum connection strength shown as a line on the relation map # enable/disable the time personalities section # enable/disable the "who carries the channel" section # enable/disable the signature words section # ignore specified words - words to leave out of the word statistics # # Control random quote output # specify words considered to be bad/FoulWords language # specify words considered to be aggressive/violent # words that keep a URL out of the URL statistics - matched anywhere in a URL, any case; # * = any characters, ? = one; for spam and unwanted image hosts # # minimum numbers of letters for a random quote # maximum numbers of letters for a random quote # minimum number of characters in an interesting word # maximum allowed length of a "word" with no spaces # Minimum number of lines per user for some "Big Numbers" statistics # nicks to show in "Most Active Nicks" # nicks to show in "These didn't make it.." # number of nicks to show in "Most Active Nicks By Hour" # maximum number of nicks to show in "users with most nicknames" # show nicks used in "most nicks" # maximum number of topics to show - recommended: show the last 5 topics # maximum number of URLs to show # number of songs to show # how to recognize songs played # maximum number of words to show # maximum number of nicks to show in "Most referenced nicks" # maximum number of smileys to show in smiley stats # maximum number of nicks to show in "Karma" # track nick changes and create aliases - recommended: follow nick changes so Alice, # Alice_ and Alice- count as one person # maximum number of nicks in lists # sort "most active nicks" by words # ---- Picture options ------------------------------------------------------- # path to images on stats page # number of user pictures per row # path to user pictures (HTML page) - folder of user pictures, as seen by the web page # # use a default user picture - picture shown for users who have none # # path to user pictures (output generation) - folder of user pictures, as seen by pisg # (for pic="x_*.jpg" globs) # # define a standard width for user pictures - show every user picture this wide, in # pixels # # define a standard height for user pictures - show every user picture this tall, in # pixels # # ---- Misc options ---------------------------------------------------------- # character set to use for stats page - recommended: UTF-8 shows accents, emoji and non- # Latin scripts correctly # character set for logfiles - convert logs from this charset (needs the Text::Iconv # perl module) # # fallback character set for logfiles - used for lines that are not valid in LogCharset # (needs Text::Iconv) # # use a different time zone than the local machine # use regular expressions in user aliases # filename of language file # path to directory with CSS files # colors for color gradient in most active nicks section # colors for color gradient in most active nicks section # dump raw statistics into file - debugging: dump the raw statistics to this file # # ---- Advanced (not in the original documentation) ------------------------- # nicks of bots, for log formats that cannot tell bots from people (DCpp) # # width in pixels of the statistics tables # image id of the horizontal bar for hours 0-5 # image id of the horizontal bar for hours 6-11 # image id of the horizontal bar for hours 12-17 # image id of the horizontal bar for hours 18-23 # image id of the vertical bar for hours 0-5 # image id of the vertical bar for hours 6-11 # image id of the vertical bar for hours 12-17 # image id of the vertical bar for hours 18-23 ############################################################################## # YOUR CHANNEL - copy this block for each extra channel ############################################################################## # Logfile: the log to read; you can list several Logfile lines EDIT Logfile="/path/to/example.log" # LogDir: use INSTEAD of Logfile to read a whole folder of dated logs #LogDir="/path/to/logs/" # LogPrefix: with LogDir: only read files starting with this #LogPrefix="example.log." # LogSuffix: with LogDir: date format at the end of the file names, so they sort by # date #LogSuffix=".%d%b%Y" # NFiles: with LogDir: only parse the newest N files (0 = all) #NFiles="30" # Format: your log format: eggdrop, mIRC, xchat, irssi, ... (see docs/FORMATS) EDIT Format="eggdrop" # Network: the IRC network, shown on the page EDIT Network="ExampleNet" # OutputFile: the page pisg writes EDIT OutputFile="/var/www/html/example.html" # OutputTag: replaces %t in OutputFile; used with the -nf / -t command line options #OutputTag="-week" # Maintainer: who is named as maintainer on the page EDIT Maintainer="Your Name" # LogType: only "Logfile" exists, leave it LogType="Logfile" # Any global option can be overridden for this channel only, for example: #Lang="FR" #ColorScheme="midnight" ############################################################################## # USERS - link nicks together, add pictures, mark bots ############################################################################## # nick the name shown in the stats (required) # alias other nicks of the same person, space separated; * matches anything # (Joe* also counts Joe_, Joe^away ...). NickTracking="1" also finds many # pic picture shown next to the user bigpic larger picture it links to # link a web address or e-mail address sex m, f or b (bot) # ignore y = leave this nick out of the stats altogether (for bots) ############################################################################## # LINKS - keep addresses out of "Most referenced URLs" ############################################################################## ############################################################################## # INCLUDE - share users between channels or config files ############################################################################## # Put your lines in users.cfg and load them here (an included file cannot # include another file): #