You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

594 B

gen-indexes

Script used to generate stats.42l.fr

This script generates index.html files to browse GoAccess reports through a user-friendly interface.

It can be run in a Docker container, but you must install additional packages (pip3 install -r requirements.txt), mainly:

  • Jinja2, the templating engine used to generate the HTML files
  • natsort, to apply a natural ordering on a list.

Mount your reports volume in the /base/ folder (and/or edit the script's constants to your needs).

The templates' design is quite poor and the script doesn't handle errors very well. PRs welcome!