Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
local
locales
README.md
__init__.py
config.py
messages.pot
plugin.py
test.py

README.md

WebStats is a plugin that provide a web access to channel based statistics.

This plugin requires Limnoria.

It is designed to be used on active channels, so it implements a cache system. Don't worry if you have enabled statistics and nothing happens on the Web interface in the following hour.

You need pygraphviz (python-pygraphviz in Debian) for the "links" graph.

Reverse proxies

apache

If you want to use Apache as a proxy for your WebStats instance, you can use this sample configuration:

<VirtualHost 0.0.0.0:80>
        ServerName stats.supybot.fr.cr
        ServerAlias stats.supybot-fr.tk
        <Location />
                ProxyPass http://localhost:8080/
                SetEnv force-proxy-request-1.0 1
                SetEnv proxy-nokeepalive 1
        </Location>
</VirtualHost>

nginx

Create a new site for your bot /etc/nginx/sites-enabled/bot:

server {
    listen 80;
    listen [::]:80;
    server_name stats.supybot.fr.cr;

    location / {
        proxy_pass http://localhost:8080/;
    }
}
You can’t perform that action at this time.