💾 Archived View for gemini.sh0.xyz › development › traffic.gmi captured on 2024-08-31 at 11:52:30. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

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