feat: read GoatCounter counts from its export

Paging /stats/hits by exclude_paths spent more than the 500 requests
GoatCounter allows in an hour on four weeks. The JSON export holds the
same hourly counts by path and referrer: on 2026-11-10 to 16 it gave
67,877 views and 24,343 actions, the figures /stats/total gives, with
identical top paths and referrers. One export an hour is allowed.
This commit is contained in:
Abdessamad Derraz committed 2026-11-20 07:17:36 +01:00
1 parent e1cbf79415
commit 84f749fda9
3 files changed
+109 -135

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ Four sources, none of which names a person:
The report is Markdown on stdout. Credentials stay outside the repository:
~/.config/retrobios/gsc-service-account.json Search Console, read only
~/.config/retrobios/goatcounter-api-token.txt GoatCounter, read only
~/.config/retrobios/goatcounter-api-token.txt GoatCounter, statistics and export
GITHUB_TOKEN or gh auth token GitHub
Usage: