You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
LICENSE | 3 years ago | |
README.md | 3 years ago | |
gen-indexes.py | 1 year ago | |
index-service.html | 3 years ago | |
index.html | 3 years ago | |
requirements.txt | 3 years ago | |
test.html | 3 years ago |
README.md
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!