-- Leo's gemini proxy

-- Connecting to gemini.sh0.xyz:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

traffic.py


I wrote a pretty simple python script for processing molly-brown access logs and giving site statistics. It can be easily modified to handle any other types of access logs, just change the regex to extract the date, path, code and ip. I'll be adding more support, things like regex based ignore lists, configurable ranges, etc. But for the moment you can see:


- Unique Visitors

- Visits per day

- Views per page

- Total errors

- And errors per day


Now with histograms!


Pull the code, copy to your cgi-bin and modify the parameters in the script. Pretty simple install.


git clone https://sh0.xyz/git/gemini/traffic.git

For an example, check out my site's stats:


Traffic Stats at gemini.sh0.xyz

-- Response ended

-- Page fetched on Mon May 13 15:37:41 2024